13.4.0 - 2026-11-27
Improvements
- Chart line and area series can sample large data with the new
Samplingparameter. WithSampling.MinMaxthe series keeps the first, the lowest, the highest and the last point of every half pixel, so a series of hundreds of thousands of points renders a few thousand and keeps its peaks. A sampled series reads its data once, so callReload()on the chart after changing items in place (#2842). - Chart has a
LoadDataevent for loading data on demand. It is raised once the chart knows its size, when the visible range changes by zooming or panning, when the width changes and whenReload()is called. The arguments carry theStartandEndof the visible range, theWidthof the plot area, andViewStartandViewEnd(#2842). - Chart has a
MaxZoomparameter that sets how far the mouse wheel can zoom in. The default keeps the current limit (#2842). - Chart candlestick and OHLC series show the tooltip of the nearest item when the tooltip is triggered by the category axis. It appeared only directly over a candle (#2842).
- Chart stacked column, range column, candlestick, OHLC, high-low, box plot, bubble, waterfall, stacked line and stacked area series render only the items in the zoomed view. Line and area series read only the points around the zoomed view when the data is in category order (#2842).
Fixes
- Chart and SpiderChart series and items beyond the length of the color scheme use lighter and darker shades of the scheme colors. They were rendered in black (#2839).
- SankeyDiagram colors repeat past 24 nodes.
- Chart legend hover highlights only the hovered series or item.