Releases: zingchart/ZingChart
Releases · zingchart/ZingChart
v2.9.5
Bug Fixes
- Fixed issue with combination of highlightPlot:true and reverseSeries:true on legend
- Fixed sunburst issues in NodeJS build
- Added destroy method to NodeJS build
- Fixed autofit: true on multiple scales
v2.9.4
Features
- Added getallobjects API
- Added "theme" and "themeurl" parameters for PhantomJS build, to allow custom themes
- Added treemap.addNode, treemap.removeNode, treemap.updateNode APIs
- Added "widths" attribute (array of numbers) under options object for customizing the width of each sunburst level
- Shared legends now highlight also related plots on all linked graphs.
- Vertical/horizontal scale markers can accept tooltip information.
Bug Fixes
- Fixed Cyprus entry in world countries map
- Scale logic & visual output updates.
- Added compatibility with 2.x versions of the canvas module (nodeJS)
v2.9.3
Features
- Malta map added to world-countries map
- Added
ASIA
,AFRICA
,AUSTRALIA
,NORTHAMERICA
,SOUTHAMERICA
, andWORLDCOUNTRIES
to tilemap. - Added legend to the list of objects which can be queried using
getobjectinfo
- Added adjustFontSize as option to option->style->label on maps.
Bug Fixes
- Visual updates on boxes borderTop/Right/Bottom/Left
- Added ability to set inline js-rule functions
- Max value on X Log scales can now be forced.
- Fixed issue with pattern output on NodeJS environment
- Fixed issue with GeoJSON parsing
v2.9.2
Features
- Rankflow charts now allow null values
- New Malta map
Bug Fixes
- Fixed inconsistent number of elements being displayed on scrolling an HBar chart
- Fixed issues with null values on pie charts
- Fixed issues with valueBox style & appearance on fast mode line/area plots
- Fixed sizing issues on preview bubble markers
- Fixed zooming on maps when multiple maps are placed on same page
New Documentation
v2.9.2-0
Notable Fixes
- Map fix with redundant id's
- Map fix with zoom/scroll in graphset
v2.9.1
Features
- Added
markersOnTop
attribute for plot/series items (true by default). Setting it to false will cause the plot markers to be obscured by the subsequent plots instead of always being on the top layer. - Improved default formatting of crosshair
scaleLabel
objects. - Implemented listener for double tap event on mobile devices (however, the event will be triggered as
dblclick
,shape_dblclick
,label_dblclick
) - Added
%plot-N-value
tokens for use in rules, tooltips,valueBox
objects. - Added
minValue
andmaxValue
options for Treemaps (filters applicable for leaf nodes) - Add support for irregular [k,v] format in radar charts (also [k, v1, v2] for range aspect)
- Improved minor ticks/items display logic on logarithmic X scales.
- Extended Selection Tool's set of features and functionalities:
- Added a poly free form tool as an alternative to the lasso tool (both activated by SHIFT key). Setting is controlled via selectionTool > freeFormType (poly | lasso)
- Added visual cursor to improve UX. Aspect is controlled via selectionTool > cursor.
- Added
%previous-node-value
and%next-node-value
as available tokens to use onrules
,tooltips
,valueBox
objects. - Added
stepMultiplier
option for scales for better control of items display interval. - Implemented preview object for inverted charts (HBAR, VLINE, VAREA)
- Tree updates:
- Implemented separated tokens for
%value
(accumulated) and%node-value
- Implemented number formatting
options
- Implemented separated tokens for
Bug Fixes
- Fix issue with sequence call of
removeplot
APIs. - Fixed bug with calculated maximum value on datetime scale.
- Fixed issue with log scale label "1" being placed in a wrong position.
- Fixed issue with negative values in TreeMaps crashing the charts. Negative values will be set to 0.
- Fixed issue with spline charts slowing the browser in specific scenarios.
- Increased the minimum width of whisker nodes on stock charts to 4px.
- Fixed bug with calculated maximum value on datetime scale.
- Fixed bug with selection getting corrupted after adding/removing plots.
- Fixed issues with plot highlighting when using
legendItem
> order attributes.
v2.9.0
Features
jsRule
attribute can now be applied on maincrosshairX
andcrosshairY
objects, allowing crosshair line customization. This feature will allow you more flexible styling of crosshairs based on chart values. Like hiding the crosshair if the value is null
- Custom data tokens can now be added on dynamic labels using
%plot-IDX-data-customname
constructs. This is good to display plot information in a static label.
- Implemented display logic for overlapping
scaleX
crosshair items (alpha applied on obscured elements). plot_click
event information includes nowplottext
attribute.
New Documentation
- New gallery layout with search and filters by: chart type, features and use cases
Notable Fixes
- Added
plotid
as parameter forselect
anddeselect
API's. - Fixed issue with bubble pack labels.
- Tilemap plugin fixes
- Fixed positioning issues.
- Fixed ability to use multiple tilemaps in same graphset.
- Fixed issue when zooming range chart with spline aspect.
- Fixed issue with maps flipping when negative zoom is applied.
- Fixed formatting issues on value-box objects.
- Added support for custom
data-xxx
tokens in sunburst charts. - Fixed navigation reset on sunburst when the chart is deleted and reloaded with a different data.
- Fixed bug with timestamp formatting on data table view and data export when timezone parameter is used.
- Fixed issue with sorting crosshair plots by value when using
"sort-by-value" : "asc" | "desc"
attribute. - Fixed issue with objects API not working when applied directly on map elements.
- Fixed broken scrolling logic on charts with y-axis scrolling
v2.8.9
Notable Fixes
- Updates to zoom related events
- added ev parameter which holds the event object
- added beforezoom event which can completely stop zooming operation if event handler returns false
- Fixes issue with scrolling legend not properly displaying markers and text items
- Fixes issue affecting vector chart plugin
- Fixes issue with selection tool throwing errors on null nodes
- Fixes issue with value boxes not appearing on line3d and area3d charts
- Fixes issues related to log scales allowing overlapping items
- Fixed sorting of legend items using 'order' attribute
- Fixed formatting on %pietotalvalue token
- Fixed issues with bad parsing of < and > tokens
v2.8.8
Features
- New Chart Type: Violin Charts
- New Chart Type: Flame Charts
- Added
item > highlightstate
andmarker > highlightstate
on legend
- Extended boxplot format of data to
[key, min, lowerq, med, upperq, max]
format: demo here
New Documentation
Notable Fixes
- Added legend_mouseover and legend_mouseout events
- Added option to set license information to zingchart namespace with `zingchart.
- BoxPlot updates:
- Fixed issue with attributes from series items not being transferred to boxplot series
- Data export updates: Fixed issue with datetime values in HTML table ignoring utc and timezone parameters
- Added
data_export
event which fires for every value being exported and allows for optional preformatting - Added more flexibility to range plots in mixed chart context
- BubblePie charts work now when placed in a multichart graphset
- Cleared WorldCountries map removed specific
@EUROPE
filters for NOR and ISL.RUS@EUROPE
and RUS@ASIA will however stay as a different tokens due to geographic specificity - Fixed sorting of plots via legend
- Fixed bug with chart auto layout when browsing legend pages
- Fixed issue with ring charts loaded via custom build
- Fixed problem with custom builds (created via build generator) failing to render ring charts.
- Fixed issue with shadow not being rendered in specific cases
- Fixed issues with global 'mouseout' event
- Fixed issues with legend items text setup
- Fixed issues with scale string labels being treated as numbers
- Fixed issues with selection not being reset in specific cases
- Fixed maps blocking page scroll (via mouse wheel). Page scroll is no longer blocked by map charts. In case scrolling on maps is enabled, use the ALT key to force page scroll instead of map zooming.
- Renamed conflicting API's. Renamed object related 'getobjectinfo' API to 'getlabelinfo' and 'getshapeinfo' to prevent name conflict with the generic 'getobjectinfo' API
- Added
Math.log10()
polyfill for IE
v2.8.7
Features
autoFit: [false,true]
will allow for autofiting the scales on [min,max] values to be set individually. autoFit: true
will default to [true,true]
.
es6 export/import version of the library. Allows for import of the library through script modules with import zingchart from 'zingchart/es6';
After download from npm you can import ZingChart with the following:
import {zingchart, ZC} from 'zingchart/es6'; import {pareto} from 'zingchart/modules-es6/zingchart-pareto.min.js';
New Documentation
- Site docs on getting started - API Events - API Methods
Notable Fixes
- Fixed CSV download for time-series returning false values. - Fixed issue with custom tooltip tokens. - Fixed <`%scale-key-text` returning wrong value. - Fixed commenting scaleX object label causing error in CSV excel spreadsheet. - Fixed complications between autofit and valueboxes. - Fixed edge case where legend was overlapping charts. - Fixed null value in bullet charts still showing up. - Fixed issue with collapse:true on legends without minimize:true. - Fixed 'zoom-to-values' not working in scaleX. - Fixed missing ticks in Chord diagrams. - Fixed ghost value boxes appearing in select zoom circumstances. - Fixed scale angling bug with 3D bar charts. - Fixed setseriesvalues API bug with plotindex parameter - Fixed setguide API method on mobile - Fixed chord diagram missing ticks - Fixed `collapse:true` breaking legend - Fixed null values on bullet charts - Fixed shared legend on population pyramids - Fixed `border: 'alpha'` not showing up with animations