ZingChart Build 2.6.0 release notes
Maps Now Have Zooming
Potentially breaking change!
ZingChart now added new ZingChart maps functionality. The new updates include
Zoom Controls

Double Click To Zoom Where Cursor Is

Scroll To Zoom Where Cursor Is
Panning

ZoomTo API Demo
Styling/Placement Of The Zoom Controls Demo
In previous versions of ZingChart, the maps supported an unconventional and obsolete way of Zooming with x/y coordinates. The new updates allow for zooming, panning, and scrolling on maps. We plan to increase the efficiency of this zoom in upcoming releases.
NOTE:
The new zooming does not work with bounding-box. This shouldn't be a problem for many, just something that deserves an honorable mention. In this case, you should turn off the new zooming functionality.
- Turning off new maps zoom functionality Demo
New Features
-
ZingChart Maps Zooming Demo
-
Stacked bar attributes
%stack-averageand%stack-lengthDemo- Previously released in v2.5.2 was
%stack-totalDemo
- Previously released in v2.5.2 was
-
New svg export functionality. You no longer need just canvas to use
getimagedataDemo -
Improved Bar Chart rendering speed with
mode:'fast'coupled withmaxTrackers:0will increase the render time by over half. Demo -
SVG scatter charts rendering speed were improved. This is the custom code to gain back
tooltipsandhoverStateDemo -
3d toolbar has been added back into the build Demo
Updated Features
-
TimeZone attribute now supports float values Demo
-
plotLabel now supports
rulesandjsRule. Great for mapping variables within yourplotLabel.textDemo- added extra tokens usable also on node related rules (
%node-x,%node-y,%node-width,%node-height,%node-size) - extended parameters passed in the
jsRulehandlers (containing node info: x, y, width, height, size) - scaleLabel on
crosshairY(for value scales), not being bound by nodes, accept the following tokens (%scale-value, %scale-text and %coord) or parameters injsRule(value, text, coord). Coord can be either the x position or the y position, depending on chart type (line vs vline for example)
- added extra tokens usable also on node related rules (
-
scaleLabel now supports
rulesandjsRuleDemo -
removenodeAPI method now acceptsnodekeyvalueas parameter Demo -
node information now contains selection status for that node
-
added
minMarkerandmaxMarkerobjects to allow for different marker styling on Range charts Demo -
New Logic for the attribute
exact:trueand displaying crosshair appropriately. -
3d chart logic was revamped to allow annotations and cooler depth styling Demo
- improved 3d layout online,area, reverted display order on z axis, fixed clipping
- added depth attribute for plot (to be able to force size of the plot band)
- added axis object on scales
- implemented both toggle actions (hide | remove)
- fixed placement of objects using hook attributes in the 3d space
-
added a global object
graph, positioned at same level asgraphsetwhich will propagate on all graphs of the graphset. Much likeplotdoes toseriesDemo -
Added
object:trueoption toupdateAPI to ease the work with objects. Multiple additions of objects have to be set withupdate:falseparameter and after all object additions,updateAPI needs to be called. -
Added 'max-values' parameter to
addseriesvaluesto force the chart to remove old nodes when appending new ones Demo
Bug Fixes
-
Line chart with
aspect:'spline'works withpreviewobject -
Scale tooltips always displaying 0 index of scale in tooltip
-
Chord diagram labels fixed. Original
plotareachanges in v2.5.0 broke the vertical item labels Demo -
background-colorwithinringobject on Gauge charts -
%totalandthousandsSeparatorwithin thetooltipobject now works Demo -
Borders on
legend.headerandlegend.footerwork independently -
100% height and fixed chart width no longer resizes the chart on load
-
Rendering bug on html-tooltips with
placementattribute -
Issue with crosshairs when
plotLabelhasheader-text -
Selection tool no longer fires when dragging
previewwindow -
zoomToissues with graphs in agraphset -
dual plotted line with Line chart with
aspect:'spline', a couple points and small chart width -
Pie Chart disappearing with odd values like
values:[110.67] -
valueBox.backgroundColorfixed on charts withoutput:'canvas'Demo -
Bar sizing issue when
hookedlabels exists in JSON and user is zooming in & out of the chart. -
crosshairson multiple vertical charts with sharedcrosshairsDemo
Range Charts
-
rendering issues with
aspect:spline -
markers disappearing on chart zoom
-
implemented
previewwindow