ZingChart Build 2.5.0 release notes

Flexbox Updates

Potentially breaking change!

ZingChart now works well with Flexbox. This is a potential breaking change as ZingChart now has some new behaviors related to zingchart.render({height}) attribute.

In previous versions of ZingChart the height would default to 480px if no container height was defined and no height was defined in zingchart.render()

If a user defines zingchart.render({height:100%}) then the default height is no longer 480px. Now, if the container height is 0px it will look like the chart has not rendered because the chart inherited that height.

The easiest way to alleviate this problem is to set a min height on the container element using CSS.

flexbox gif unavailable

ZingChart now works well with Flexbox. Demo

New Features

  • Selection tool. Demo

  • Stream Graphs. Demo

  • Stream Graph feed. Demo

  • New event for context menu. You can use it to turn off right click on nodes in the following Demo

Updated Features

  • added jsRule on radar charts. Demo

  • background image position has been adjusted for radial charts. Demo

  • treemap has new layout options:

  • added a new hover layer for plot hover state. You can now have hoverstate behind certain items like scales. This option can be enabled with zingchart.DEV.PLOTSHLAYER. Demo

  • added new active attribute in the zoom object to allow disabling of the zoom mask. Demo

  • If legend item and marker are set to {visible: false} the legend will become invisible. Demo

  • Selected state now preserved on graph API interactions and resize events. Demo

  • Token %pie-total-value works with decimals attribute. Demo

  • Gauge default tooltip color now inherits from background color. Demo

Bug Fixes

  • Fixed individual plot toggling visibility through API methods appendseriesdata and setseriesdata

  • Fixed issue with trailing $ crashing JVM on plot_name

  • Fixed treemap bug with clicking and deleting characters from title name

  • Fixed jsRule in valueBox objects only being called once

  • Fixes on canvas text rendering

  • Zooming a chart, hovering nodes, then returning zoom level with viewall issue fixed.

  • Fixed bug with multiple scales and multiple stacked chart types.

  • Fixed bug with multiple chords on the same page.

  • Fixed bug with bar plots not being drawn at all when visible:false is set to a series.

  • Fixed issue 3d ring charts side wall missing.

Documentation Updates