ZingChart Changelog
Features
- Added accessibility support for keyboard navigation and speech support
- Enable by setting the
accessibility
to true inzingchart.render()
- Enable by setting the
Bug Fixes
- Fixed bug with zooming on charts with
fixedStep
enabled - Fixed issue with pie graph background image not being rendered
Features
- Added support for Indian currency format (set through en_in or hi_in locale)
Bug Fixes
- Fixed issue with preview not working during chart updates
- Fixed issue with specific tree links style being overwritten by generic style
- Fixed issues with size scaling on bubble nodes
- Fixed scale tick visibility and placement on 3D charts
Features
-
- The interactive maps chart now supports the map for Saudi Arabia (maps-sau | sau)
-
Added fast mode on bubble-pack plugin
-
Fixed performance issues on Firefox
-
Improved logic for value box positioning
Bug Fixes
- Fixed bug with label rotation on radial trees
- Fixed bug with chart auto-resize
- Fixed bug with selection-tool not working on multi-chart graphsets
- Fixed issue with data export
Bug Fixes
Resize bug in SVG rendering mode
Release Information
Features
-
- The interactive maps chart now supports the map for Morocco (maps-mar | mar)
-
Added
hoverEffect
attribute on chord charts.- This attribute controls the alpha transparency of elements when hovering mouse over chord bands. Possible values are 0 (no alpha effect), 1 (default, alpha effect on chords), 2 (alpha effect on both chords and bands)
-
Added support for basic math operations with evaluated tokens
- Constructs between double curly brackets will be evaluated after all the tokens were parsed.
-
Other minor features:
- Added option for
plotindex
parameter on legend toggle API's to accept arrays of indexes
- Added option for
Bug Fixes
- Fixed EUROPE group on world maps (Denmark missing)
- Fixed issue with 0 value not showing in grid cells (grid module)
- Fixed issue with legend position when using pagination
- Fixed issue with node dragging module on radar charts
- Fixed issue with value box positioning on pie charts with a single plot
- Fixed issues with setting
detached
attribute on pies via APIs - Fixed navigation issue after chart resize on sunburst charts.
- Fixes issue with
showLine
andtopState
on legend items - Fixed bug when setting
minValue
,maxValue
onscaleK
in radar charts - Fixed zoom issues on heatmap module
- Fixes issue with tree render
Features
- Added
export-format
attribute under scaleX > transform which controls timestamp formatting on data exports - Extended number of scales up to 200
- Shapes with labels will display tooltips also when placing the mouse over the label
Bug Fixes
- Fixed issue with error bars not being cleared when toggling visibility on animated plots
- Fixed issues with preview/zoom being out of sync on vbar charts.
- Fixed issues with tooltips on sunburst chart
- Fixed visual artifacts on range charts
- Removed legend feature from sunburst charts
Features
- [ch15928] Added support for number formatting attributes in rules
- [ch15929] Added support for custom dataXXX tokens on chord
- [ch16272] Added support for custom tilemaps via zingchart.plugins.tilemap[NAME] constructs
- [ch16273] Updated node dragging plugin with logic for radar/vline/varea charts
Bug Fixes
- Firing node_mouseup event when dragging ends.
- Fixed bug in specific scenarios when free form tool will not default to the lasso tool.
- Fixed issue with background patterns not being displayed on animated items.
- Fixed issue with chart export as image (in SVG render) not working in Safari
- Fixed issue with vrange plots not working in hmixed charts
- [ch16329] Fixed issue with plotarea margins after zoom
Features
- Added "groupbox" attribute on treemaps for styling group boxes
- Implemented rules for selectedMarker objects
Bug Fixes
- Fixed data export issue
- Fixed issue with barmaxwidth attribute on multiple series
- Fixed issue with color palette on sunburst charts (nodeJS version)
- Fixed issue with node/plot events being fired twice on mobile devices
- Various fixes on tree module
Features
- Added sizefactor option on sunburst chart which controls the size factor for the entire sunburst (relative to the maximum size which is given by the plotarea boundaries)
Bug Fixes
- Automatically switching area with null values and spline aspect to mode:normal to obtain correct rendering
- Fixed data export issue
- Fixed issue with main box sizing on NodeJS environment
- Fixed issue with crosshair plot labels in specific instances when exact is set to true
- Fixed issues occuring when chart is being resized while using zoom/scroll/preview components
- Fixed multiple issues with the Heatmap plugin heatmaps are now being resized on chart resize heatmaps can now be included in a multigraph graphset
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
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)
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
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
Notable Fixes
- Map fix with redundant id's
- Map fix with zoom/scroll in graphset
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.
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
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
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
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
New Features
- Heatmap Plugin - standalone or integrated with various existing chart types. - Heatmap over XY chart. Demo - Heatmap over Radar chart. Demo - Heatmap over geographic maps, static. Demo - Heatmap over geographic maps, live. Demo - Heatmap configured as scatter chart with 1M nodes. Demo - Standalone Heatmap set up to mimic the Game of Life. Demo - Various performance related updates. - Added logarithmic progression on treemaps.
Bug Fixes
- Fixed label positioning issues on maps. - Fixed inconsistent zoom levels when scrolling charts. - Various minor fixes.
New Features
- New OrgCharts. - Introduced ability to hide specific goals for bubble charts. Demo - Reduced the limits of zoom to minimum 2 scale steps and 10x10 pixels. Demo - Allow pagescroll mobile context menu item to be disabled. - Standard behaviors can be overridden by gui settings set for each graph. - Mobile touch scroll zooming will now scroll on nodes.
Bug Fixes
- Fixed alpha attribute for type poly objects. - Fixed bug where legend and view source were blocking scrollbar in certain areas. - Fixed download XLS option giving corrupted file warning in certain excel versions. - Fixed double data tables edge case. - Fixed Venn Diagram tooltip issues. - Fixed zoom bug breaking specific charts.
Follow @ZingChart on Twitter and https://codepen.io/collection/DKmrrG/ for demos.
New Features
- Tree module (hierarchy trees and force directed graphs) - BubbleLegend module - Built-in logic for choropleth maps - ColorScale module - Ability to customize container for DataTable view
Bug Fixes
- fixed issue with chart failing to load on 100% stacked areas with no data - fixed visual issues with bullet stacked charts - fixed visual issues with gauge charts - fixed issues with DataTable view in full screen mode - fixed associations on multiple scales sharing string values - fixed tooltip positioning via API - fixed minor bug related to secondary scales zooming - applied minor tweaks on 3dline and 3darea charts
Follow @ZingChart on Twitter and https://codepen.io/collection/DKmrrG/ for demos.
New Features
- New DepthChart plugin. Demo - New BubblePack plugin. Demo1 Demo2 Demo3 - New pieTransform options for pie charts. Demo1 Demo2 Demo3 Demo4 Demo5 - Tokens %kv and %scale-key-value no longer transform dates, they display the given value. To transform dates, use %kt or %scale-key-text.
Bug Fixes
- Fixed decimal data displays on scales.
New Features
- New Sunburst type chart. Demo1 Demo2
Performance Features
- Memory management improvements. - Improved error handling on edge case scenarios.
Bug Fixes
- Fixed edge case where scaleX had double month labels. - Fixed issue where last two points would register as a single hover event. - Fixed conflicts between chart resize and destroy calls.
New Features
- Added rgba to include alpha properties. - Allow getobjectinfo method for scales to return x/y information and height and width. Demo - Added functionality to right click export csv, xls and showing a html table with the data. - New Heatbar chart. Demo - New Grouped Data Bar chart. Demo - New Hexmaps plugin. Demo1 Demo2 Demo3 - New Sparklines chart. Demo - New Pictograph Module. Demo - New Scatterplot Matrices. Demo - New Variable Width Bar Chart. Demo - New Vector Plot Chart. Demo1 Demo2 - Improved column highlighting. Demo
Bug Fixes
- Fixed CSS transform tooltip issue. - Allow alpha to work on markers with label tolerance. - Fixed ring chart issue with value 99.99. - Fixed legend overflow issue - Fixed treemap labelclick event issues with pathway. - Fixed memory leak issues. - Fixed edge case zooming bug. - Fixed pre build exception error. - Fixed rgba issue causing blue lines. - Fixed range band working with rgba.
New Features
- New Scorecard type charts! Article - New Zoom style buttons! Demo1 Demo2 - Added new parameter to specify file name when using exportimage api. Demo - OffsetX now works on tick objects. - Drag zooming now works if started on a node. Demo - fixed-items attribute now works on the default chart state. - New Angular 5 integration demo. Demo - New React JS integration demo. Demo - New Vue JS integration demo. Demo
Bug Fixes
- Fixed hooked labels not aligning properly on horizontal bar charts. - Fixed an edge case zooming bug when using preview and legend hover. - Fixed getdata to work in fullscreen mode. - Fixed zooming and appendseriesdata api causing charts to disappear.
New Features
- Added new scale label placement options. Demo - Added new Preview Scales format. Demo - Added crosshair timeout for mobile charts. Demo - Added labels to be parsed on %kt and values to be parsed on %kv and %kt. Demo
Performance features
- Implemented performance updates on 3D systems. - Improved optimization for charts with large data sets. - Improved export server performance speed.
Bug Fixes
- Fixed selection on individual bars with desktop/mobile. - Fixed animated gifs in the noData object. - Fixed Chord Diagram small white ghost cords. - Fixed png/pdf export failing in old IE versions in fullscreen mode. - Fixed scaleX tooltips that would not show up if values were set in scaleX object. - Fixed edge case where zooming in/out and hovering legend would sometimes leave unwanted lines on line charts.
New Features
- Improved preview window usability and feature improvements. Demo - New “Spark” theme available. Demo - Added new legend checkbox types. Demo1, Demo2, Demo3 - Added show-zero attribute in the plot object to show zero percent in a pie chart. Demo - Added Singapore in the world countries map. Demo - Added feature to allow disabling right click context menu but still allowing the context menu to be opened with API calls. Demo - Made the scroll handle easier to click when zooming. Demo
Performance features
- Minor tweaks to library to improve performance with large datasets.
Bug Fixes
- Fixed bug where crosshair plot-area guide labels were not showing for series with only one point. - Fixed issue where noData attribute was not being applied via theme. Note: noData object is required in the main JSON for this to work. Demo - WordCloud charts are now forced to show all items regardless of the size of the chart. Demo - Fixed a ZingChart library console error associated with Chrome 65. - Fixed bug where the Valley county of Montana was missing. - Fixed issues with appendseriesvalues api. - Fixed issue where removenode method was not working if there was a null value. - Fixed phantomJS export bug where labels were not exported correctly.
New Features
- Added vrange type charts. Demo - Added sticky tooltips on labels with HTML content. Demo
Performance Features
- Fixed memory leak introduced by map node cloning.
Bug Fixes
- Fixed bug making the treemap turn all black when "aspect-type":"default" and when all values are the same. Demo - Fixed treemap transitions when the chart contains multiple treemaps. - Fixed side effects from 2.6.1 to 2.6.2 update: - Fixed broken defaults like palettes are not being applied. - Fixed value boxes being displayed by default. - Fixed legends being displayed by default. - Fixed issue where multiple boxplots in one graphset would cause whiskers to disappear or connect to the other boxplot. Demo1, Demo2 - Fixed bug where horizontal histograms were not accepting offsetX/offsetY on scaleX. - Fixed issue with pie valueboxes showing wrong values when plots are toggled. - Fixed issue with crosshair control on specific page positioning. - Fixed issue where tooltip would stay after selection of bars. - Fixed error in FireFox caused by draggable legends. - Fixed issue with horizontal bar charts where if step was set the chart would disappear. - Made draggable work properly on shared charts.
New Features
- Labels for groups of bars. Demo - Set max width of bars using bar-max-width. Demo - Set title as clickable url. Demo - Allows y-axis to function like the x-axis with zooming and using string labels. Need to use step:1, fixed-step:true on scale-y object. Demo - Allows Legend state as collapsed using collapse:true in the legend object. Demo - Allows aligning 0 on multiple Y-Axis'. Demo - For valueBox placement with radar added placement options (in/out/over). - Set scaleY 0 index to be plotted at 0%. Demo - Added additional layouts for plotLabel, especially useful when plotLabels are too large and cut off. Demo - scalableyaxis plugin allows for users to drag scales. Demo - Added "preview-state" object to series items to be able to override style displayed in the preview box. This only applies to bar, line and area charts. Demo - Added custom alpha-area for a specific node in a series. Demo - Added additional layout for plot label. Demo - Added functionality to allow linking in the chart title. Demo
Updated Features
- Updated NodeJS build - New chord attribute "group-padding": 110 allow for radial space between bands for a different chord look. Demo - Added multiguide plugin to pin crosshairs to the chart by clicking. Demo
Performance Features
- Complete reset of ZC.cache when reaching the max cache limit in the browser. - New development flag DEV.SKIPTCONTEXTMENU to skip rendering the context menu. Demo
Bug Fixes
- Fixed issue with mobile plugin causing errors when crosshairX is disabled. - Fixed issue with 1px borderTop not rendering on some bars. - Fixed issue with exporting charts when output set to 'SVG' on IE returning image data of -1. - Fixed Line Issue with newest Node.js build throwing error. - Fixed issue with getxyinfo method returning wrong values when chart containers has CSS matrix transformations. - Fixed issue with preview not toggling with legend click. - Fixed issue with tooltip not being destroyed with realtime charts. - Fixed issue when resizing the window the chart series order gets mixed up making the chord chart relationships invalid. - Fixed issue with download svg on context menu. - Fixed issue with crosshairY not working with hotfix4. - Fixed issue on zooming on maps with "scaled" items (AK in USA for example). Demo - Fixed issue with area charts not stacking correctly. - Fixed issue with value box showing double values due to overlap. Demo - Fixed Y-scale zooming. Demo - Fixed value boxes disappearing on selected state the first click and appearing on subsequent states. Demo - Fixed selected state for calendars. Demo - Fixed issue displaying single bar plot on X axis having extra space. Demo - Fixed bug with preview not toggling on modify plot. Demo - Fixed issue where tooltip persisted on real-time plots. Demo
New Features
- scalableyaxis plugin allows for users to drag scales Demo - Added "preview-state" object to series items to be able to override style displayed in the preview box. This only applies to bar, line and area charts. Demo - Added "connect-nulls" to series items (works currently only on line/area in fast mode) to draw lines through large breaks in data that are filled with null values Demo - Arrow tip removal through aspect: [0,0] Demo - New zoom variables emitted xzoomed : true || false yzoomed : true || false. Hiding and showing buttons on Zoom is now a breeze. Demo - Added support for CSS matrix transformations on chart containers Demo
Updated Features
- New chord attribute "group-padding": 110 allow for radial space between bands for a different chord look Demo - Added multiguide plugin to pin crosshairs to the chart by clicking Demo - Maps scrolling flag allows you to turn scroll zoom on and off Demo - gauge charts to csv parser Demo - placement option for radar value box placement: (in | over | out). Position can also be tweaked with offset-r attribute Demo - Added collapse:true to legend to force minimized initial state Demo - Added single-line: true attribute in crosshairX. Ised with exact: false it will show all plot labels but display only one crosshair line and scale label. Typicall used when null values are present and multiple guides are showing up. - Added alt tags to image map for 508 compliance. Alt tag is empty and will pass the 508 compliance test telling screen readers it is decorative and not informational. - Image export APIs and routines now export preview window state (both SVG and CANVAS) Demo - "auto-fit": true || false as an option of the 3d-aspect object. If true, the zoom attribute is modified automatically so that the chart will fit into the container (takes into account plotarea margins). - label_click events for title and scale label objects - Custom tokens added for scale-x and scale-y to allow for custom scale tooltip textarea Demo
Performance Features
- Complete reset of ZC.cache when reaching the max cache limit in the browser. - New development flag DEV.SKIPTCONTEXTMENU to skip rendering the context menu Demo - New development flag DEV.SKIPPROGRESS to skip rendering the waiting log Demo - Updates for speed when rendering bar charts Demo - Updates for speed when rendering bubble charts Demo - optimization for checking the logo only once when there are multiple charts on the page - preview chart rendering optimizations for speed - Replaced eval() statement on jsRule which was causing a minor memory leak
Bug Fixes
- Fixed issue on zooming on maps with "scaled" items (AK in USA for example) Demo - Draggable legends will now retain their relative position in case chart resizes. - plotarea margin: 'dynamic' accounts for rotated text spacing - Scrolling over charts when maps are loaded on the same page causing script errors - Legend state (with toggle-action:remove) will persist on chart update/reload - Fixed zingchart.maps.zoomTo() being obfuscated - Duplicate gui object in the chart JSON after render - stacked bar charts throws script error when first series contains all null values - Disabled zooming and scrolling on funnel charts because those attributes flipped the chart upside down - Fixed error on null funnel nodes - Fixed issue with printable versions of charts being left in a "detached" state, on the left-top area of the window - preview fix for VML charts - Changed floating point detection amongst pie charts - legend broken with charts created through CSV - Fixed SVG gradients not being destroyed on guide move - Fixed zoom/scroll behavior on mirrored scales - Fixed bug with zoomTo call when scale-x is not defined - Fixed legend DOM node not being cleared on chart repaint - Fixed issue with labels displaying that have the hook attributes and the hooked nodes are not visible
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-average` and `%stack-length` Demo - Previously released in v2.5.2 was `%stack-total` Demo - New svg export functionality. You no longer need just canvas to use `getimagedata` Demo - Improved Bar Chart rendering speed with `mode:'fast'` coupled with `maxTrackers:0` will increase the render time by over half. Demo - SVG scatter charts rendering speed were improved. This is the custom code to gain back `tooltips` and `hoverState` Demo - 3d toolbar has been added back into the build Demo
Updated Features
- TimeZone attribute now supports float values Demo - plotLabel now supports `rules` and `jsRule`. Great for mapping variables within your `plotLabel.text`Demo - added extra tokens usable also on node related rules (`%node-x`, `%node-y`, `%node-width`, `%node-height`, `%node-size`) - extended parameters passed in the `jsRule` handlers (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 in `jsRule` (value, text, coord). Coord can be either the x position or the y position, depending on chart type (line vs vline for example) - scaleLabel now supports `rules` and `jsRule` Demo - `removenode` API method now accepts `nodekeyvalue` as parameter Demo - node information now contains selection status for that node - added `minMarker` and `maxMarker` objects to allow for different marker styling on **Range** charts Demo - New Logic for the attribute `exact:true` and 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 as `graphset` which will propagate on all graphs of the graphset. Much like`plot` does to `series` Demo - Added `object:true` option to `update` API to ease the work with objects. Multiple additions of objects have to be set with `update:false` parameter and after all object additions, `update` API needs to be called. - Added 'max-values' parameter to `addseriesvalues` to force the chart to remove old nodes when appending new ones Demo
Bug Fixes
- Line chart with `aspect:'spline'` works with `preview` object - Scale tooltips always displaying 0 index of scale in tooltip - Chord diagram labels fixed. Original `plotarea` changes in v2.5.0 broke the vertical item labels Demo - `background-color` within `ring` object on Gauge charts - `%total` and `thousandsSeparator` within the `tooltip` object now works Demo - Borders on `legend.header` and `legend.footer` work independently - 100% height and fixed chart width no longer resizes the chart on load - Rendering bug on html-tooltips with `placement` attribute - Issue with crosshairs when `plotLabel` has `header-text` - Selection tool no longer fires when dragging `preview` window - `zoomTo` issues with graphs in a `graphset` - 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.backgroundColor` fixed on charts with `output:'canvas'` Demo - Bar sizing issue when `hooked` labels exists in JSON and user is zooming in & out of the chart. - `crosshairs` on multiple vertical charts with shared `crosshairs` Demo
Range Charts
- rendering issues with `aspect:spline` - markers disappearing on chart zoom - implemented `preview` window
Download here
New Features
- '%stack-total' will allow you to easily figure out which bar plot is at the top of your stack. You can now easily display a `valueBox` at the top of your stack! - Demo - `valueBox` array for bullet charts. You can define the two types of `valueBoxe`'s you want through `placement: goal || top`. - Demo
Updated Features
- Selection tool allows `click` to be registered. This enables the capability to click and clear selection - Demo - Added 'data-append-selection: true | false' to plot to allow for multiple groups of selection. - Demo - Hiding a plot with `hooked` labels to nodes will also hide the labels now. Whether or not you have `legend.toggleAction` defined as `remove` or `hide`.
Bug Fixes
- Gauge value-box missing on non-animated charts - Fixed bar bounds not being updated on animation (causing selection tool failing to detect proper intersections) - Fixed bug with `stack` attribute - Left side (global ranking) can now be completely hidden via `"options"` -> `"global-ranking" : false` Updates on layout - Fixed issue with bar indexes not being reset on mixed charts resulting in bad display when zooming the chart - Resize event using cached size values fixed - Responsiveness in firefox fixed - Microsoft edge/ie bug with floating point error values - Fixed issue with bar sizing on legend toggle when a chart has animation and `"legendToggle": "remove"` - Fixed bug with scale markers and resize event changing alpha of marker. - Cool Demo - Fixed valueBox disappearing on animated guage chart when resizing window - Updated setdata event caching old chart attributes - scale markers changing color on resize fixed - Stacked bar misaligning labels - highlight plot and then legend tooltip with mediaRules - powered by ZingChart logo being appended multiple times - offsetValue and actual value within 1 getting plotted incorrectly - multiple crosshairs showing up on data with array of array logic `[[]]` - an adjacent solution might be add `crosshairX.exact = true` - certain animation configurations fixed on waterfall charts
New Features
- Multiple divs + shared crosshairs is finally here! - Demo - Grouped scale text is easily achievable - Demo - Full width crosshair line will highlight tick sections - Demo - `%offset-values` token was added for floating bars - Demo - `scale-v` and `scale-k` tooltips added - Demo - Implemented `active-area` by default for radar charts. `active-area` triggers the `hover-state` when user mouses over the area portion of the plot. - Demo - Grouping of shapes so updates can be applied to them as a whole. Works for maps and shapes. - Maps Demo - Shapes Demo
Updated Features
- Callback for feeds now passes back graph information so you can use a single function to return different values to different charts - Demo - Selection tool works better with more chart types and styling - Comprehensive selection tool information here - Bar Graph Demo - Updated animations with `value-box` for smoother appearance - Demo - Improved performance for stream graphs and feeds - Demo - 3D facets added to the DOM to allow `hover-state` styling for 3D charts - Demo - Extended label hook functionality for scales - Demo - Crosshair `scale-labels` now have better callout positions - Demo
Bug Fixes
- Feeds now work with API appropriately. No longer speeds up. - This Demo dynamically applies a new set of rules to the chart to determine color during feed runtime. - Fixed `globals` inheritance issues - Fixed legend minimization hiding legend issue - Fixed `preview` window caching old values issue when using API - Fixed API events causing resize issues - Fixed issue that when rendering multiple charts, tooltip is sometimes fired on both charts - Fixed stream chart animation - Fixed bug ignoring `scale-r.ring.size` attribute - Fixed rounding error with `%total` token when total sums to 0 in stacked bar charts - Fixed preview displaying opposite color when rules are applied to change a chart's color - Fixed setting `zingchart.ASYNC = true` resize and repaint issues. - Fixed value box issue for charts starting with plots initially hidden (`visible:false`) - Fixed `margin:dynamic` issue for chord charts - Fixed so chord charts with all 0 values will now render - Fixed dynamically updating pie charts with all plots hidden - Fixed `offsetStart` and `offsetEnd` on bubble charts
Documentation Updates
- New Kitchen Sink - New no data JSON attribute - New Markers Tutorial - New Graphset Tutorial - Updated Drilldown Tutorial - Updated CSV Tutorial
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.
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: - random - squarify - squarifyV2 - balancedV2 default is `balanced` - 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 `dollar_sign` 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
- New Maps Documentation - New Docs Navigation
New Media Rules for Responsive Charts
- Media Rules allow you to create responsive charts that can be viewed across different desktop and mobile devices.
Updated Features
- Logarithmic scales are now available on `scaleX` - Added `zoom:false` flag on zoomto API (to skip the actual zoom on chart) - Added cubic bezier curves; fixed curves on VML - Preview is set to live by default for the light and dark themes
Bug Fixes
- Fixed `styles` array bug - Updated time-series step values for month and year - Disabled the default `hover-state` on pareto - Fixed graphset layout not being reset on a setdata API call - Fixed graph height when absolute positioning is used and 'height' attribute is not provided. - Fixed crosshair issues on [k, v] data with duplicate k values - Fixed bugs detecting plots via plotid param on showplot/hideplot API Calls. - Fixed selection issues - Legend fixes (bottom position no longer forces the layout) - Fixed guide issues (guide appearing on wrong chart when graphset has multiple charts) - Fixed bar dimensions when multiple key scales are used - Fixed tooltips on drilldown charts - API Methods appendseriesdata and setseriesdata properly toggle plot visibility now
Documentation Updates
- New Media Rules Tutorial! - this new feature allows you to create responsive charts to be viewed across various desktop and mobile devices. - ZingChart Help Center - is continually updated with new questions and answers. - Context Menu - Scales
New Features
- We created a new Mobile Charts Plugin that allows users to interact with and use touch gestures when reading JavaScript charts on mobile devices. The plugin is currently supported on bar, line, area, scatter, bubble, pie, and donut charts. Updated Features - Enabled heat map scrolling on both x- and y-axes. - Enabled styling for legend scrollbar and handle. - Improved the logic on the following bar chart-related attributes: - "bar-space" - "bar-width" - "bars-overlap" - "bars-space-left" - "bars-space-right - Improved logic on boxplot legend plotting so that only one legend item/marker is plotted if no data outlier is specified. - Improved data normalization on bubble charts so that if excess parameters are included in the "values" array, they are automatically omitted. - Introduced graphid parameter when calling showmenu API. - Added x and y parameters to the showmenu API to enable context menu positioning.
Bug Fixes
- Fixed addnode API method so that it works for 2D data sets and time-series data sets. - Fixed calendar charts. Learn more with the Calendar Charts Tutorial. - Fixed %npv token on standalone labels. - Fixed "wrap-text" attribute. - Removed default value boxes from nested pie charts. - Fixed scale-x.opposite items shift on zoom bug. - Fixed tooltip.wrap-text. - Fixed disappearing pie chart on continual legend click (canvas). - Fixed zoom-to-values so that on a graphset, it applies to all graphs in the graphset. - Fixed API showplot/hideplot and window re-size so that it doesn't lose legend state. - Fixed pie chart hover tooltip with window-resize. - Fixed scale-x.item.flat = false. - Fixed hideprogresslogo and crosshairX bug. - Fixed crosshairX so that it displays with multiple series containing null values. - Fixed dynamic margins on plotarea. - Fixed so that generated SVG validates against BasicSVG - Fixed inline HTML and getimagedata so that it parses/renders correctly.
Documentation Updates
- We launched a new ZingChart Help Center! Intended to supplement our existing docs and tutorials, you can search for information on specific chart types and tools. Our recent blog post provides more information. - New Mobile Charts Tutorial for our new mobile charts plugin. - Interactive Legends - Shared Interactions - Pie Charts - Nested Pie Charts
New Features
- Pie Chart / Apple Watch - Demo - Added detached: true attribute. This allows designated pie slices to start in the detached position and still maintain expected functionality. - Added additional API “clicknode”. The used with the existing label_click event will allow developers to fire the clicknode api via the existing label_click event. - Added ability to set visibility for preview window. - Implemented full zooming behavior for heatmaps
Updated Features
- Added %node-percent-value (or %npv) token to standalone labels. Demo - Added “hover-state” object to error bars. This allows users to turn off hover visibility on the error bars, which is especially helpful on bar charts. Demo - Expanded error bars to work on inverted charts (hbar, vline, varea), in addition to bar, line, area, and scatter. - “handle” object on preview charts updated to style all four handles simultaneously. (For individual styling, use “handle-left”, “handle-right”, “handle-top”, and “handle-bottom” objects.) - HOVER STATE stuff: - AREA and LINE charts only: “hover-state” is turned off by default. It turns on when the user creates a “hover-state” object. By default, the “alpha” is now set to 1 and the “alpha-area” is set to 0.25. (Markers are styled separately in a “hover-marker” object.) http://app.zingsoft.com/view/JE2RGL6E - Tokens - Scale tooltips display scale values by default - Default line width on range charts changed to 2 - Solution for crosshair z sorting with legend. Implemented new attributes to allow developers to set: “top-layer”:”guide” | “legend” - Added %scale-value as default text in tooltip if nothing is specified
Bug Fixes
- Fixed issue with drawing scale when a plot was set visible:false on chart load then updated via api. - Fixed small visual inconsistency in the context menu button. - Fixed hover issue with bubble charts - Fixed default line-width on range charts to be consistent with current theme. - Fixed thousandsSeparator in legend - Fixed issue with zoom-to on scaleX and fixed issue with zoom-to-values on scaleY - Fixed bug with shard legend. - Fixed issue with wrapped-text - Fixex alpha and alpha-area updates for line and area charts - Fixed setdata on preview console error - Fixed issue with accuracy of crosshairs - Fixed hoverState and hoverMarker issue on range charts - Fixed issue with accepting “scale-y-2”:{}, as scaleY2:{} - Fixed hoverState issue with funnel chart - Fixed getplotvalues bug - Fixed reset preserved zoom status on feed reset bug - Fixed error with plot info object when chart starts with no data
Documentation Updates
- Error Bars - Plot/Series Styling - Standalone Labels - ZingChart Tokens - Zooming, Scrollbar, and Preview Chart
New Features
- Extended rules to work with “cursor” attribute in plot:{ } and series:[ ]
Updated Features
- Improved styles:[ ] to now also accept objects for configuring multiple attributes.
Bug Fixes
- Fixed preview window visibility issue - Fixed ‘setdata’ on preview zoom bug in console - Fixed IE8 Legend-item interactions
New Features
- valueRange attribute for allowing markers:[] to be associated to scaleX and ScaleY values as opposed to indices. - Short units for KB, MB, GB, TB, PB 1024 multiples - Data Normalization Plugin
Updated Features
- Improved animation to allow triggers for legend and api interactions - Zooming labels improved - Added alias for radar charts with rose aspect == polar - Set internal default width to 100% - Removed explicit default max children for treemaps - Improve logic for adjust-layout - Improved logic for dynamic margins
Bug Fixes
- Fixed adjustLayout to compensate for legend paging - Fixed bug with labels inside of scaleR:{} - Fixed bug with legend toggleAction: “remove” with shift click - Fixed nested pie legend bug - Fixed legend bug with zoom interactions - Fixed legend cursor bug - Fixed preview:{visible : false} console error - Fixed inconsistency between zoomTo and zoomToValues - Fixed rendering bug for error with incomplete border attribute - Fixed bug in boxplot drawing logic - Fixed null data for venn diagrams - Fixed scroll bars on horizontal bar charts - Fixed bug when including Δ (delta) in tooltips
New Features
1. Blended Scales - can be used with interactive features such as crosshairs, zooming, scrollbars, and preview charts. 2. Preview charts can be now added to stock charts 3. Fixed Placement Tooltips utilizing `placement` with attributes `node:center`,`node:top`,`node:bottom`,`node:left`,`node:right`, `node:out`
Updated Features
Stock Charts
1. offset-start and offset-end to accept percentage values 2. Added tokens for %open, %high, %low, %close 3. Default tooltip text displays OHLC data
Improved Tokens
Added and improved upon tokens accessible from a tooltip or value-box:
- %scale-value-value (%vv) and %scale-key-value(%kv) - %scale-value-label (%vl) and %scale-key-label(%kl) - %scale-value-text (%vt) and %scale-key-value(%kv)
Legend Highlight
`highlight-state` and `highlight-marker` added to highlight a series when a user mouses over a legend item.
Bug fixes
1. Fixed a bug where the view source output order was reversed 2. Fixed an issue where Windows devices with touch and mouse capabilities were not registering crosshair events. 3. Added label inside of scaleR 4. Fixed an issue with stacked bars and null values 5. Alpha area not competing with different colors 6. Issue where batched API calls were not being executed in order. 7. Fixed an issue where markers were sometimes not showing with animated delay. 8. Improved auto margins on 3d charts 9. Added a polyfill for the SVG.offset removal warning in chrome. 10. Fixes to the `styles` object, and it's hover-state behavior 11. Fixed alpha-area attribute on area charts.
Fixes
- Defaults object was being overwritten on certain events; functionality restored. - No-data object is functional again. - Fix on background images for animated and svg charts.
Features
- Removed log-scale and fullscreen options in the context menu by default. - Reverted new theme hover-state functionality when overriding default styles. Hover state now has to be explicitly defined when overriding color. - Node markers for radar charts with area aspect are now disabled by default. - Placement, tokens, and value box improvements for venn diagrams. - Ability to align different chart types when using the mixed chart type option. Previously lines and bars were plotted differently according to it's scale-x tick. By setting scale-x.offset = 0, this will auto align the charts to the outer edges.
Fixes
- Added support for GeometryCollection in GeoJSON maps. - Pie chart light and dark theme value box coloring issues. - Boxplot whiskers, line-min/max-level styling fixes. - Gauge chart needle length and increased default aperture. - Reduced scale guide width from 2px to 1px and removed scale-x guides by default. - Fix for pareto value box coloring - Issues with stacked area rendering
Features
- Changed the sizing logic for bubble charts - `min-size` and `max-size` can now be modified to set values of how big or small a bubble should appear - Scaling logic for how bubbles are calculated can now be modified by setting the `scaling` property to either `area` or `radius`. - Aliased `piano` charts to `heatmap` - Added a new chart type plugin : `bubblepie` - Added a new `line-style` called `dash-dot` which can be applied to all line shapes including the line chart.
**- New default theme 'light' and alternate 'dark'. **
Note : The new default theme will break charts created using previous builds. A 'classic' theme is provided for backwards compatibility.
The new theme can be set in three different ways:
New Features
1. Global (ex : zingchart.THEME = 'light';) 2. In the render object with the 'theme' parameter 3. In the chart object. Precedence cascades as follows global -> render -> chart - New context menu look and feel for the new theme. - Attributes 'docked', 'position' and 'alpha' added. - The context menu button can now be shown without being on a mobile device. - New watermark styling for light and dark themes
Bug Fixes
- Issue with scrollbar and legend - hbullet chart rendering - crosshair alignment - realtime tooltip flickering - Gauge Chart - Ability to customize the needle indicator - Bubble Chart - Added 'max-size', 'scaling', and 'size-factor' attributes. - 'scaling' can set to either 'area'(default) or 'radius' - Added disputed map areas to the India map.
New Features
- Added “overflow”:”scroll” to legend and added “highlight-legend”:true | false to plot - Various maps updates. - Added “week”, “month” and “year” step sizes on time series scales - Fixed shared crosshair on YX charts - Fixed scrolling on YX charts - Improvements on piano (heat map), added rules for value-box elements to be able to style the node and the value-box independently - Bubble charts now accept negative values. The absolute value is used. A rule to differentiate positive from negative values is recommended - plotarea -> mask-tolerance now accepts an array of 2 values, [(normal layer tolerance in pixels), (hover layer tolerance in pixels)] values, allowing objects/nodes which go outside the plotarea to still be visible
Bug Fixes
- Fixed multiple value-box objects on pie and pie3d charts charts - Fixed style conflicts when existing page style has a title attribute - Fixed html-mode tooltips when rendering in canvas - Math fixes when dealing with very small numbers - Fixes on guide lines on opposite scales - Pixel overlap fix on histogram charts - Preview box now inherits the bg style of the plotarea
- Added crosshair objects to YX charts (hbar, vline, varea, etc…) - Normal and inversed scales now match 1:1 - Fixes on zoom, scroll, and scroll bars - Fixed setLineDash problems in canvas - New toolbar3D and dragging modules - MODULESDIR path now defaults to directory where library lives, instead of current domain - Luminance detection for ZingChart watermark - Legend alignment fixes - Error bar fixes for negative value nodes, as well as line and area charts - Transform > item is no longer visible by default - Fixed issue where scale labels would be painted twice - Fixes on refresh module - Updates on piano nodes to allow for inactive nodes - Gauge charts now allow multiple scales - %pie-total-value token added for pie charts - Calendar module - locktooltip/unlocktooltip API methods added - Maps now scale by default - Fixed errors in crosshairs on charts having null values in secondary series - Fixed markers not appearing on secondary series when labels are grouped - Fixed opacity issues on radar charts - Changed default chart dimensions to 640x480 - Updated defineModule() method to require return value from module definition function *Improved scale type detection on mixed charts - Various bug fixes
- Changed labeling for South Sudan from "SDS" to "SSD" in the "world-countries" map module. - Added "placement": "horizontal" | "vertical" on tooltips - Fixes for the chord module - Fixes on canvas 3D charts - Added labels on zoom boxes - Improved placement of pie value-box elements - Fixes on pie3D active area regions
- Fixed hover-state on shape when “type”:”rect” - Alpha on tooltip now only adjusts background transparency - Added adjust-layout to “preview” object - Fixed issue that would cause shapes to render improperly when switching shape type using setdata - On shapes, “y”:1 will now place the shape at 1, instead of at “100%”. - Added active-area to area charts. - Set a minimum of 2 ticks on scales to prevent crashing - Fixed an issue with the “zoom-to” method, and consequently, the “View All” context menu option. - Fixed an issue with missing fills in 3d stacked area charts - Fixed several issues with stacked bar charts. - Added “type”:”ring” as an alias for the ring style pie chart - On legend, if “draggable” is set, the default drag handler is now the header. - On legend, if "draggable" is set, the move icon appears over the draggable region - Added "highlight-plot": true to the "legend" item. This is an alias to "highlight": true under plot. - Changed the default tooltip border to match the plot color. Border still does not appear by default and must have the width set. - Changed the alpha on legend, tooltip, and preview to not apply to the text or the border. The one exception is if alpha is set to 0 on legend and border-alpha is not set, border-alpha is set to 0. - Added border-alpha to set the alpha of border. - Added align: right|center|left and vertical-align: top|middle|bottom to the legend object.
Features
-Changed labeling for South Sudan from "SDS" to "SSD" in the "world-countries" map module. -Added "placement": "horizontal" | "vertical" on tooltips -Fixes for the chord module -Fixes on canvas 3D charts -Added labels on zoom boxes -Improved placement of pie value-box elements -Fixes on pie3D active area regions
Features
-Fixed hover-state on shape when “type”:”rect” -Alpha on tooltip now only adjusts background transparency -Added adjust-layout to “preview” object -Fixed issue that would cause shapes to render improperly when switching shape type using setdata -On shapes, “y”:1 will now place the shape at 1, instead of at “100%”. -Added active-area to area charts. -Set a minimum of 2 ticks on scales to prevent crashing -Fixed an issue with the “zoom-to” method, and consequently, the “View All” context menu option. -Fixed an issue with missing fills in 3d stacked area charts -Fixed several issues with stacked bar charts. -Added “type”:”ring” as an alias for the ring style pie chart -On legend, if “draggable” is set, the default drag handler is now the header. -On legend, if "draggable" is set, the move icon appears over the draggable region -Added "highlight-plot": true to the "legend" item. This is an alias to "highlight": true under plot. -Changed the default tooltip border to match the plot color. Border still does not appear by default and must have the width set. -Changed the alpha on legend, tooltip, and preview to not apply to the text or the border. The one exception is if alpha is set to 0 on legend and border-alpha is not set, border-alpha is set to 0. -Added border-alpha to set the alpha of border. -Added align: right | center | left and vertical-align: top | middle | bottom to the legend object.
Features
- Added Boxplot chart type (Docs) - Added Waterfall chart type (Docs) - Added Population Pyramid chart type (Docs) - Fixed fullscreen issue causing IE browsers to crash on big charts with crosshairs - Code optimization on crosshairs - Fixed events-overlay plugin - Initial version of the smart labeling on date-time scales (can be activated through DEV.SMARTDATELABELS flag) - Legacy events introduced (feed_start, feed_stop, feed_interval_modify, history_forward, history_back, source_hide, source_show, about_hide, about_show, legend_hide, legend_show) - Fixed issues with zooming states on charts with zoomTo or zoomToValues and toggle-action:remove on legends - Memory leak fixes - Improved logic on fixed sized vbar and hbar plots - BgColor fixes, Bar plot fixes - Fixed wrong output when background color is set to transparent - Fixed errors in mixed charts when bar plots have fixed widths - Added type : "poly" as a new type of scale marker - Updated the geojson module and upgraded it to a standalone module - Click-state addition for shapes & labels - Fixes on 3dpie value boxes - Pop-pyramid improvements to allow extra layouts - Treemap updates - Small correction to z-indexes
Features
- Simplified file naming convention. Main script is now zingchart.min.js, module scripts follow the zingchart-*.min.js convention. - Adopted semantic versioning (semver.org) - Added the ability to install ZingChart using bower, npm, or via cdn. (Read more)
Features
- Fixed value-box positioning bug on vbar/hbar charts introduced by 0.141205 - Fixed issues on Rhino build with stacked area charts
Features
- Added option to set multiple value boxes for every plot by specifying value-box as an array of objects - Fixed problem with zoom preservation when plots have different y scales - Improvements & fixes on log scales - Treemap changes (now nodes on last level will not expand into full area) - Gauge fixes - Fixed value box positioning on bar charts to hide the value box when chart is zoomed and position goes outside plotarea - Fixed broken history on animated charts - Overhaul of value-box style and positioning logic on pie and pie3d charts - Performance improvements on bar charts with large datasets - Fixed showtooltip api - Fixed scale markers bug (garbage left behind on chart zoom) - Added getscales API for faster access to chart's scale related information - Custom context menu items now accept "order" attribute which sets the position in the list - Added feed_clear event - Added "js" transport, url attribute has to be a js function with one single callback parameter passing back the feed info - Overhaul of scales display logic when using dynamic margins on plotarea - Introduced scale-x-n and scale-y-n attributes to set shared properties for scales - (internal) added z-modifier to 3d facet objects to manually alter the z sorting score - Added placement : top|bottom on objects to define the sorting placement relative to the series - Added vline and varea charts, support also for vline and varea plots on hmixed charts - Added hack for no-repeat image patterns on SVG - Added rule support for crosshairX -> plot-label elements - Improvements on mixed charts layout (start/end offset will be used only if bar plots are available) - Complete overhaul of stacked area logic to cope better with data mixing null and non-null values - Fixes on crosshair when using single plot label - Fixes on html-mode version of tooltips, also, improving the integration between guide_mousemove event and showtooltip API - Updated transition from lin to log progression to allow animation - Added mask-tolerance (default 6) attribute on plotarea to allow for bigger masks to prevent cutting of hover markers (10805). This *may* cause however unwanted effects when zooming plots if the tolerance gets bigger (hover states of plots exceeding plotarea) - Fixed rhino build ignoring offset-x and offset-y for tooltips - Updated rhino build to the latest set of features
Features
- Added option to set multiple value boxes for every plot by specifying value-box as an array of objects - Fixed problem with zoom preservation when plots have different y scales - Improvements & fixes on log scales - Treemap changes (now nodes on last level will not expand into full area) - Gauge fixes - Fixed value box positioning on bar charts to hide the value box when chart is zoomed and position goes outside plotarea - Fixed broken history on animated charts - Performance improvements on bar charts with large datasets - Fixed showtooltip api - Fixed scale markers bug (garbage left behind on chart zoom) - Added getscales API for faster access to chart's scale related information - Custom context menu items now accept "order" attribute which sets the position in the list - Added feed_clear event - Added "js" transport, url attribute has to be a js function with one single callback parameter passing back the feed info
Features
- Added legendminimize and legendmaximize APIs - Fixed issue with tooltip sometimes not showing on mobile devices - Fixed error thrown when touching a node of a chart when page was scrolled - Fixed positioning issues on chord charts when placed on a graphset - Fixed chord issues locking the browser when placed on a graphset - Fixed bug with scrollbars not being cleared when calling a chart reload - Fixed canvas export bug on IE9+ browsers which ignored the new line on the exported image
Features
- Fixed issue with node_click and plot_click being fired on touch devices even if touchend element is different than the touchstart element - Fixed showmenu API - Fixed Chrome issues with image clipping paths on SVG - Added setLineDash when available on canvas - Fixes on maps module when setting individual tooltip text for each item - Added facets object on vbar3d and hbar3d charts to allow individual styling of facets: facets : { top:{...}, bottom:{...}, left:{...}, right:{...}, front:{...} } - Added "setguide" API to force display of a crosshair-x element, accepts the "graphid" and "keyvalue" parameters - Added support for "url" and "target" attributes on series items -> "legend-item" - Added image map option for nodejs build - Fixed active areas on stock charts to consider also high/low points - Fixed priority for active areas on vbar3d and hbar3d charts - Fixes on mixing 100% stacked series with normal/non-stacked series
Features
- Switched to SVG as default render - Added Right To Left text support via "rtl":true attribute - Objects API optimizations - Fixes on aspect of bars with small values or stacked bars - Reorganized default context menu items - Added optimizations on layer management, now layers are being created only if they are needed (very useful on canvas rendering) - Also, for non-detectable features, we added graph "layers" attribute to manually control the layers which are being created: "layers":{ "objects-top": true | false "objects-bottom": true | false, "plots": true | false, "static": true | false, (holds the preview and history) "guide": true | false } - Added top-state to all label & shape related elements - Fixed issue with imagemap on old IE browsers - Setting offset-start and offset-end to -1 on x scales on bubble and scatter charts will evenly "spread" the scale values
Features
- Added getobjectinfo API - Increased rendering speed on 3d mesh display - Fixed Rankflow chart bugs - Added option for all shapes to be displayed in a 3d environment - Created rule & annotation APIs - Updates on multi-guide plugin to allow auto-labeling and possibility to edit marker labels - Speed updates - Added option to allow area regions to become active regions and trigger node events - Added option to position tooltips and guide labels at fixed x/y locations - Fixed crosshair bugs on multi-graph charts - Fixed positioning of preview handlers - Fixed fast mode on spline series starting with null values - Added monotone:true|[false] as an option for the spline series - Fixed grid module on IE67 - Added SVG export - Fixed offset-values behavior when using negative numbers - Added timezone option which combined with utc option translates automatically the timestamps provided in the json - Added new maps: tur, mex, can, zaf, rus, jpn, fra, fraL2, gbrL2, qat, kor, uzb, yem, zmb, bdi, gmb, nld, swe, bih, mkd, chl, slv, aze, egy, eth, gha, vnm, tun, mne, mda, svn, svk, tjk, ury, ecu, zwe, bol, tha, col, phl, per, kaz, guy, guf, sur, afg, ago, are, arm, ben, bfa, brn, btn, bwa, caf, civ, cmr, cod, cog, cri, cub, uga, gab, irn, rwa, nam, ncl, omn, ken, moz, pan, sen, png, twn, gnb, gtm, kwt, lao, lbr, nga, pak - Added async functionality to preview component - Fixed floating point issues on scales (-0.3:0.1:0.1) - Improvements on scale - Fixes on bubble charts when scale have just one value - Made js rules as base attributes, added support for tooltip - Added js rules as item inside rules collection "rules" : [ { "rule" : "*", "js" : "myfunc()" } ] - Added group-selections : true | [false] on plot to automatically select all nodes with same index as the selected node - Added mid-point : [true] | false option on line & area plots to set whether a node is wrapped equally before and after its position or not
Features
- Fixed fullscreen view to follow the legend selection from the original chart - Added togglesource, togglebugreport, toggleabout - Moved map objects to a separate layer so that the hover-state of the map will not obscure the other labels/shapes in the view - Fixed scrolling related graphics interfering with tooltips - Fixed SVG styling on html-mode tooltips - Fixed dynamic margin bug on plotarea when set through specific margin-xxx attributes - Fixed flickering on html-mode tooltips (on canvas render) - Added option on crosshair-x -> plot-label -> multiple:true|false. Set multiple:false to create by default a single plot-label - Fixed visual bug on stacked area when "toggle-action" on legend is set to "remove" - Added tooltip feature on grid cells in grid plugin, also removed the flat property from the grid, now flat:true|false should be set using cell classes - Fixed memory leaks in rhino build
Features
- Fixed problem with legend markers not being accessible when overlapping active nodes - Fullscreen mode now uses the current data snapshot instead of the original json - Fixes on legend pagination controls when using offsetX/Y - Fixes on vbar/hbar active areas on thin bars throwing warnings js console in Firefox - Fixed issue with nodes getting temporarily inactive on touch devices after page scroll
Features
- Added "Hide Guide"/"Show Guide" items to the context menu - Added alignment : "center" | "node" on guide markers. Setting alignment : "node" will align the guide markers with each node (available on vbar and vbar3d plots) - Added showtooltip API - Added showhoverstate API - Added preview object on 3d charts (line, area, vbar) - Added support for "swipe" event (direction=left|right is being passed to the callback) - Improvements on shape background routines to allow image sprites - Added %color-0 to %color-8 tokens and constructs like %color-n(+p) or %color-n(-p) which will lighten or darken the %color-n by the p percent - Added exact : true | false on crosshair-x object. Setting exact : true will highlight plot nodes only if the guide is right next to the node. Setting exact : false (default) will highlight the plot nodes which are closest to the guide. - Added getobjectsbyclass (parameters: class) API and setobjectsmode (parameters: mode=flat|normal) - Added trigger : move | hover on crosshair-x object. Hover shows just one plot label at once and visibility is triggered when user hovers over the node - Added hscatter, hbubble, hmixed chart types to complement scatter, bubble and mixed - Map updates: 3d views & speed optimization - Added hover-mode: node|plot for line/area charts - Added plot -> highlight: true|false for line/area charts - Fixes for hover mode on spline - size-factor : auto on scale object on pie/pie3d charts will automatically size the pie to allow for all value boxes to show - General svg optimization by using "rect" tag instead of "path" when possible - Speed improvements on line, area and bar charts - Fixes on background-image when using background-position - Fixes on custom image markers - Added smart-sampling:true|false on line & area charts - Added keyval-format option on csv parser - Extended adjust-layout option on subtitle and source objects - Fixed bug with y scales not created correctly when respective plots have only one value - Fixed bug with stacked charts having data specified as [k,v] pairs - Fixed touch events on shapes & labels - Chord updates and speed improvements - Piano updates and speed improvements - Extended syntax of scale labels to allow string sequences ("min:max:step") - Addition of "js-rule" on the plot object (piano, vbar, hbar, line, area, vbar3d, hbar3d, line3d, area3d, stock, scatter, bubble) - Added sort-objects:true|false on graph objects for speed optimizations - Fixed spline on line/area/range charts when data is non-linear - IE8 speed optimizations - Added show-zero on Y scales to force the display of 0 value even if not matching max-labels rule - Updated placement logic on value-boxes to allow for greater flexibility - Overhaul on xy axis to allow for free positioning on each side of the plotarea, fixed dynamic margin on charts with multiple scales - Added type "line" and "area" on legend markers
Features
- Fixed wrong background gradients when fill-offset-x or fill-offset-y are also specified. - Fixed wrong gradient backgrounds on prev & next buttons of the legend pagination section. - Fixed priority and importance of margin attributes. - Legend footer (along legend header) now also may force the legend dimensions. - Added toggle-action:disabled on legend - Introduction of adjust-layout:true on title, legend and plotarea, which will prevent overlapping between the 3 elements - Introduction of name-based animation values - Improvements on the CSS-like integration - Introduction of widgets - New maps (alb, and, bgr, lie, ltu, lva, blr, hrv, cyp, aus, nzl, che, chn) - Rendering speed improved on markers - Improvements on xy scales to allow for more flexible styling - Fixed export operations failing when running under https - Added "deselect" API (complementing "select" API) - Implemented values : "javascript:myFunc()" for both sync and async data fetching scenarios - Improvements on the CSS-like integration (added more tags) - Fixed Venn + legend bug - Improvements on plot stacking logic, added ability to setup different types of scales (100% stacked and normal) - Improvements on dragging plugin (different logic on 100% stacked plots and added dataDraggingMinValue and dataDraggingMaxValue) - Fixed data related API's on charts with data loaded via CSV - Reference updates - Fixed value box display when type filters are being used - Removed default hand cursor on nodes/labels/shapes/etc, now cursor turns into hand only if an url attribute exists for the item - Fixed node active areas on stacked vbar and hbar for small bars - Added a no-data object inside graph which appears by default if there is no data available in the graph - Added max-ratio on piano charts to complement min-ratio - If no values attribute is specified, scale-y on piano charts now contains text from series items (if available) or the default "Metric N" text - Fixed graphical glitches on rounded boxes - Added cursor attribute on elements to be able to force arrow cursor if url is present or hand cursor when arrow cursor is used by default - Fixed history object to work when data related API's are being used - Added Hide/Show Guide elements to the context menu - Added alignment : "center" | "node" on guide markers Setting alignment : "node" will align the guide markers with each node (available on vbar and vbar3d plots) - Added showtooltip API - Added showhoverstate API - Added preview object on 3d charts (line, area, vbar) - Added support for "swipe" event (direction=left|right is being passed to the callback) - Improvements on shape background routines to allow image sprites (linked to Fidelity task) - Added %color-0 to %color-8 tokens and constructs like %color-n(+p) or %color-n(-p) which will lighten or darken the %color-n by the p percent - Added exact : true | false on crosshair-x object Setting exact : true will highlight plot nodes only if the guide is right next to the node. Setting exact : false (default) will highlight the plot nodes which are closest to the guide. - Added getobjectsbyclass (parameters: class) API and setobjectsmode (parameters: mode=flat|normal) - Added trigger : move | hover on crosshair-x object. hover shows just one plot label at once and visibility is triggered when user hovers over the node - hscatter, hbubble, hmixed - Map updates: 3d views & speed optimization - Added hover-mode: node|plot for line/area charts - Added plot->highlight: true|false for line/area charts - Fixes for hover mode on spline - Events-overlay plugin - size-factor : auto on scale object on pie/pie3d charts will automatically size the pie to allow for all value boxes to show
Features
- Added "stepped" aspect on area/area3d charts - Added "step-start" attribute ([middle] | before | after) on line/line3d and area/area3d charts - Added "sticky" attribute (boolean) and "timeout" (number) on tooltip to create a time delay before hiding the tooltip. If one hovers over the tooltip within that timeout, the tooltip will stay visible. - Setting "dynamic" margins on plotarea on xy charts will also modify the plot's dimensions to prevent overlaps between scale label and scale items - Added "marker-off" attribute on legend to allow different styles for on/off markers - Added zingchart.bind(sId, sEvent, oFn) and zingchart.unbind(sId, sEvent, oFn) methods for finer event handling management. If sId is null then the event will be assigned to all the existing charts on a page - Improved short notation label display
Features
- Pie value labels: Fixed bug where Pie value-box does not show up in correct place when values are 50/50 - 3DPIE and 0 values: Fixed bug with 3D Pie charts and 0 values. - Marker issue: Cross and Plus Markers now are set via line-color and line-width to match HTML5. - Improved Color Format Support for ZingChart Values: Added support for rgba as well as setting background-color-1 and background-color-2 with rgb through the background-color attribute. - Pie legend issue: It is now possible to set "text" within legend item to set the text format for the legend. This matches the functionality of HTML5. - Added negation : [standard] | currency on scale and plot (along the other formatting attributes) to control how the negative values are displayed independent of the chosen format. For example, if on scale format is $%v then the values -100 and 100 will be formatted as: negation : "standard" ------- $-100 $100 negation : "currency" ------- -$100 $100 - JS Formatter: It is now possible to add "format": "javascript:myJavaScriptFunction" to the scale. When this is done, the JavaScript function will be called for each item on the scale. It will pass the JavaScript function a single value parameter. The value returned from the JavaScript function will be displayed in the scale. - adjust-scale on feed: Added adjust-scale : true | [false] attribute on "refresh" object that will control how the data will be loaded. If false (default) the scale interval will stay fixed (and calculated using the max-ticks attribute) as the data is being loaded. If true, the scale interval will change as data is being loaded so that the full space of the scale will be used. - Common Legend across multiple graphs: Added shared : true | [false], group : (numeric) on legend object to allow for shared legends and even grouping the shared legends. - Wrap title: Title now accepts: wrap-text: true | [false] If it is set to true, the text wraps if it is longer than the width of the box. - Fixed a bug in the ZingChart rules that didn't allow the != operator to always function properly.
Features
- Customizing Loading Screen: It is possible to customize the loading progress bar through the zingchart.render method: zingchart.render({ dataurl: dataUrl, output: 'flash', width: 600, height: 400, container: 'zingchart', preservecontainer: true, liburl: zingLib, progressbar:{ color: '#ff0000', text: 'Please Wait', backgroundcolor: '#c3c3c3', bordercolor: '#ff0000', borderwidth: 2, fontcolor: '#ffffff' } }); - Inherit scale colors from plot: It is now possible to set "line-color": "inherit" on the scale objects. If this is set, the scale line color will match the first plot object that uses that scale. It is also possible to set inherit on the line-color property of "tick", "minor-tick", and "ref-angle". If this is set, it will inherit the line-color of the scale. Finally, "inherit" can be set on the font-color of "item" and "label". Once again, it will inherit the line-color of the scale. - Flash Bootstrap Loader: Zingchart now ships with two swfs. The first is zingchart.swf which is a small swf that presents the loading screen. The second is zingchart_lib.swf which is the entire swf. If you include zingchart.swf, it will present the loading screen to the user and then load the zingchart_lib.swf. - Zooming has been added to scale-x and scale-y for hbar charts. - Added "highlight-item" to legend item so that the legend item is highlighted on mousing over the plotnodes. This is the syntax: "legend" : { "item":{ "highlight-item":true } } The effect is a size+1 on the marker and a bold on the text. - Scale mirroring discrepancies: When scale-y is mirrored in area graphs, the area now correctly flows upward. - Transparent value for background-color-1 or background-color-2: It is now possible to set background-color-1 or background-color-2 to transparent and have the alpha change. - Conditional Builds: With a special license, it is now possible to make conditional flash builds including only the features that are needed. This results in a smaller swf file. - Legend toggle-action should be inside legend in addition to item: toggle-action can be placed within legend to match with HTML5. "legend":{ "toggle-action":"remove", "layout":"float", "margin":"10 auto auto auto" } - Gauge now displays properly when scale-r has "mirrored" set to true. - Changed (with backwards support) the following preview attributes: handler -> handle handler-left -> handle-left handler-right -> handle-right Added in handle-left, handle-right, handle-top, and handle-bottom to flash. - Fixed bug where labels and text were overlapping if the labels font-angle was set to 90 or 270. - Area3d charts have been given improved graphics to prevent gaps. - toggle-action: remove now works in bar, bar3d, hbar, hbar3d, pie, pie3d, and nestedpie. - 3-D Flash Bar chart drawing error: bar3d and hbar3d now match html5 - Legend toggle-action = remove now toggles non-stacked bars appropriately. - CSV in flash now supports negative and exponential numbers. - On nested pie charts, the defaults now match HTML5 and small regions are able to trigger tooltips.
Features
- Allows preview region to be placed on the graph. - The shape object has been added into flash. The syntax is the following: "shapes":[ { "type":"rect", "background-color":"red", "x":130, "y":130, "width":240, "height":100, "hover-state":{ "background-color":"blue" }, "label":{ "text":"Rect", "background-color":"#fc0 #ff0", "padding":"2 4" }, "tooltip":{ "text":"My Rectangle", "background-color":"#f00" } } ] - "type" can be set to circle, square, rect, triangle, diamond, plus, cross, star3-star9, gauge3-gauge9, line, poly, or pie. - In the case of pie, angle-start and angle-end should be set to indicate the position of the gap. - In the case of line and poly, a points array should be passed in with x,y values set: "points":[[100,200], [400,250], [250,300]] - It is now possible to set "visible": false on a pie slice. It is also possible to set "scale-r":{ "aperture": 270 } in order to make a partial circle. - Default pie border size set to 1 in order to match HTML5. - Gauge charts now accept minor-tick and minor-ticks attributes on the scale-r object. - source object has been added to flash. "source":{ "background-color": "red", "text":"http://www.zingchart.com" } - Background Image centers when repeat is set and repeats from the center in each direction. This matches functionality of HTML5. - When margin is set as well as margin-top, margin-bottom, margin-right, or margin-left, the value is taken by whichever one is specified last in the JSON object. - Even if zoom is not set for scale-x, the zoom handlers in preview display and zoom is enabled through the preview display. This matches the functionality in HTML5. - Added watermark object to add your own watermark. watermark : { url: imageurl label:{ text: "Don't rip me off!" , offset-y: 10 }, x:200 y:200 } - x & y values can now support percentages. - API calls getseriesdata and getseriesvalues have been added. getseriesdata returns an array of objects for each plot. getseriesvalues returns an array of arrays for each plot. - margin and position combinations are now handled correctly in flash. - Fixed bug when value-box does not work when type is set to "min,max". - Pie3d is now applying gradient correctly - tooltip-text now supports rules. - Piano charts support null values so rules can be applied to null boxes. - Area Markers and Plotarea Markers no longer overlap. - Fixed the radial gradient to match HTML5 - Changed the following in flash to match up with HTML5: 1. Set marker alpha to 0 on line3d and area3d 2. Set scale color to #ddd on all 3d charts 3. Set scale guides to solid on all 3d charts
Features
- Error bars: New attributes & syntax (per series object or on global plot object): error - object, styles the actual error bar, size can be provided either in px or percentage relative to the scale tick size errors - array, contains the error values, values can be either numerical or percentage relative to the node value. Has multiple formats: 1. Error is distributed equally on all nodes: "errors":[pos,neg] Each of the two can be hidden by placing null as value: "errors":[null,neg] will show only negative error "errors":[pos,null] will show only positive error 2. Error is specified for every node: "errors":[ [pos,neg], [pos,neg], ... ] - 3D Line charts now support the stepped and jumped aspects. - Added start-width property to funnel charts. "dynamic" is the default and sets the funnel width based on value. "static" will set the start width the same no matter the value. - Added in clearselection, setselection, getselection, and select API calls. - Added paging support for legend. Includes: "max-items" : N "overflow" : "page" | "none" | "hidden" uses max-items to make pages of N items (page) or just show only the top N items (hide) - Added styling objects within legend: "icon" "page-on" "page-off" "page-status" - Support for stacked bullet charts. - If the chart margin-left or margin-bottom are set to "dynamic", the margin is calculated based on the size of the respective scale items and label. - hover-state, background-state, and selected-state have been added to plot objects. - In the preview object, "handler" has been changed to "handles" - The spacing of dashed and dotted lines has been improved. - Gradients in bar charts now work as expected. - hover-state on bubble chart now displays correct color. - Bar chart with bar-width is now centered appropriately. - Added support for scale-y-2 in 3d hbar charts. - Fixed hfunnel scale direction. - Added new API calls getcharttype and setcharttype - Added "multiplier" property to Gauge charts. Scale values no longer get rounded unless multiplier is set to true. - Allow addition of scale-x values with feed. - Fix radar bugs when aspect is set to rose. - Prevent labels from multiple pie charts from overlapping. - Parse %v when used in the text attribute. - Arrows and hooks are now functioning in the same manner as labels and hooks. - loader object added to defaults to allow setting default values for objects that occur outside of the graphset object. - Better support for scale markers with bar charts. - If no background-color is set on a 3D line chart, the background-color is inherited from the line-color. - Gradient values in pie charts display as expected. - Changed the behavior of 0 values in funnel charts. They now connect the previous section and the next section instead of not displaying. - Added background-color: transparent and background-color: none to display a transparent background color in addition to background-color: -1
Features
- Set "guide-label" on plot to set the style/text of the guide callout on a per plot basis. "guide-label":{ "text": "Accumulated Waste: %v lbs" } - New chart type:"range" Data should be an array of two values. The first values will form a line and the second values will form a line and the middle will be filled in. - Setting min-value:"auto" on scale-y will calculate the scale-y min-value based on the plot points. - Radar Objects added/modified to bring flash and html5 into alignment. Notably, the scale-k and scale-v guides now support the item array to rotate background colors and the scale object was added. scale can be used to set size-factor. - Fixed bug for setting "visible": false on a tooltip at the plot level. - By default, scale markers placed on scale-x check key indexes when matching range. Now, it is possible to add "value-range":true on the marker in order to check values instead of key indexes. - Added/Modified objects to sync the flash and html5 implementation of gauge. - If the show-labels array exists, only the labels included will be displayed. The specified label must be part of labels or values. "scale-y-2":{ "show-labels":["10","50","100","200"], "values": "0:200:10" } - Guide items array allow rotating background colors on scale guides. "guide":{ "items":[ {"background-color":"red"}, {"background-color":"white"}, {"background-color":"blue"} ] } - Pyramid, cylinder, cone aspects added to bar and bar3d. "plot":{ "aspect": "pyramid" // "cylinder", "cone" } - zoomToValues can be set on a scale object to indicate the start and end zoom values based on the scales value. This is in contrast to zoomTo which sets the zoom based on index. "zoomToValues":[1303256280000,1303257360000] - Fixed bug with rotation of scale labels on horizontal charts. - Added support for mixed 3d charts. You can not mix 3d with non-3d. { "show-progress": false, "graphset" : [ { "type" : "mixed", "series" : [ {"type": "line3d", "tooltip-text": "%k", "values" : [87,36,86,89,82,60,41,89,81,29,67,26,73,54,10,21,57,50,62,84], "text" : "Item 0"}, {"name": "top", "type": "bar3d", "values" : [40,36,90,59,61,94,60,2,35,30,46,38,98,96,28,58,98,54,30,17], "text" : "Item 1"} ] } ] } - In scatter and bubble charts, the legend marker will inherit properties from the plot marker.
Features
- Added the ability to set the value-box "text" parameter in theme (defaultsurl) files. As of 28 Dec 2010 - Feature add: "getrender" API call added for identifying what format a chart has been rendered in. As of 1 Feb 2011. See docs here http://www.zingchart.com/learn/api/api.php - HTML5 images[] collection: Added images[] collection to the HTML5 version - csv : Insert data from CSV file exported by Excel - Bug fix: The 'width': 'auto' parameter in zingchart.render () was failing in Internet Explorer. This has been fixed as of 17 Jan 2011. - Bug Fix: in some line charts with multiple series on top of eachother, using "crosshair-x": value-labels would cause the top value-label to be forced off of the chart. Now, all labels stay in the chart area. As of 28 Dec 2010. - Bug fix: HTML5 line charts using [timestamp,value] formatting were resulting in criss-crossing lines with some datasets. Fixed as of 18 Jan 2011. - Bug Fix: A user encountered a Javascript exception when mousing over the chart with "crosshair-x": active in an HTML5 chart. Fixed as of 17 Jan 2011. - Bug Fix: When multiple scales were being used (scale-y-n), the additional scales were not being positioned correctly and required manual placement. This has been fixed as of 22 Dec 2010. - Fixed bug on non-numeric key-value scales. - Added auto-align : true|false on scale item object that will "magically" align the rotated scale items with the scale itself. - Bug Fix: "font-size": was not functioning in the HTML5 crosshair-x value-labels. Fixed as of 13 Jan 2011. Also, fixed an issue that occasionally caused empty value labels to remain on chart after mouse was moved off of the chart. - Bug fix: Previously, "stacked": true (for creating stacked bar charts) was not allowed in the "plot": object in Flash. This has been resolved as of 1 Feb 2011. - Bug fix: HTML5 charts were not re-sizing correctly when using 'width': 'auto' in zingchart.render(). This is fixed as of 17 Jan 2011. - Added "destroy" API call for clean removal of a chart from a page. - Added Bug Report tool into HTML5 version - Bug Fix: Background-colors for gradients were showing up in the wrong order for HTML5. Now, "background-color-1": is at the top (linear) or center (radial) of gradient background color fills. As of 28 Dec 2010. - Added xall and yall boolean parameters to specify whether the zoomto and zoomtovalues API calls apply xmin, xmax, ymin and ymax to all the similar scales at once. - Fixed bug on preview object not being properly reset when applying a setdata API call over a chart with a "zoomed-in" state - Added possibility to completely hide the context menu (only for localhost/127.0.0.1 development and extended licensing modes) - Added "defaults" parameter in zingchart.render() call. Requires an object containing the chart defaults.
Features
- Feature add [Flash]: Flash has been updated with a "label": {} object in scales that allows the grouping and customization of scale labels. Example: "scale-y": { "label:{ "text": "Sample Label", "font-size": "14px", "font-family": "arial", "font-weight": "bold" } } - Update:"hook": object added for positioning labels, images and notes relative to datapoints has been added. Syntax as follows: "hook": { "type": "node", "plot":1, "index":0, "offset-x":25, "offset-y":-20 }, - Feature: Added the ability to rotate text in area markers. "font-angle": 0 will produce horizontal area marker labels. - Feature: Added a "legend":{} object within the area markers array. Now, "text": as well as font styling parameters may be set within the legend object. - Feature: Added custom user variables added for Flash and HTML5. User variables may be set using "%data-variable":[] array, where variable may be any specified variable. "%data-variable" may be used as a token in tooltips, value-boxes or the url attribute. - Syntax update: "max-labels" (Flash) is now aliased to "max-items". "max-items" should be used when specifying how many scale items (including labels, ticks and guides) are desired on a given scale-x or scale-y. Updated as of August 25, 2010. - Bug Fix: Fixed the color of legend-items to inherit "background-color-1" and "background-color-2" from the series. Previously, "background-color-1" and "line-color" were inherited, causing unintended legend-item colors. As of October 22, 2010. - Bug Fix: Adding decimals to the "step": in scales without specifying the number of decimals via the "decimals": attribute was previously crashing Flash. This has been resolved. - Bug Fix: "font-angle": parameter for HTML5 scale labels were not previously working. This has been fixed as of 10 Nov 2010. - Feature: Upgraded bar charts with many features for bar sizing and overlap. "bar-width", "bars-space-left", "bars-space-right", "bar-space", "bars-overlap" have been added. Values may be set to either pixels or percentages. As of November 10, 2010. - Bug Fix: The "output" parameter in zingchart.render() has been updated to always allow for render fallback, even if a specific render is chosen. For instance, if output is set to Flash but the chart is accessed via a mobile device not supporting Flash, and HTML5 chart will show (only if proper scripts for HTML5 are included). As of October 15, 2010. - Feature: Added the ability to set width and height of value-boxes. To do so, set "width" and "height" attributes within "value-box": object. As of August 17, 2010. - Bug Fix: Value-boxes were showing up below nodes in some line/area charts. - Bug Fix: Legend-sizing bug fixed for proper handling of different legend-item text length. - Feature: Added a "curtain":{} object feature for enabling a loading feature when "refresh" is used. Object is placed within "refresh" as follows: "refresh": { "curtain":{ "visible": true, "background-color":"red", "text":"We are Loading!" }, "type" : "feed", "interval" : 2, "max-ticks" : 10, "url" : "fb646-5-feed.php" }, - Feature: Added "getimagedata" API call for returning image via API. As of August 18, 2010. - Bug fix: Previously, when using data as [timestamp,value] pairs, max-value would be ignored/calculated using a default step value. Both min-value and max-value are now recognized as of October 15, 2010. - Feature added: In Flash, value-box overlap prevention has been added to limit the overlap when showing a large number of slices in pie charts. As of September 3, 2010. - Bug fix: API calls are now consistent when zooming on a chart. For example, if an item is toggled to 'hide', it will remain hidden upon zooming and interacting with the graph. As of October 15, 2010. - Feature: Logarithmic scales have been added to HTML5. To set scales to logarithmic, add the "progression": "log" attribute to scale-y. Also added are "exponent": true and "exponent-decimals": 3, to allow for scientific notation. As of October 19, 2010. - Feature: Added the ability to use multiple scales in Flash and HTML5. Now, "scale-x-n":{} is allowable. To attach a series to a specific scale, set "scales": "scale-x,scale-y-2" formatted string within a specific series object. As of October 15, 2010. - Feature: Upgraded margin and positioning parameters for ability to set both simultaneously (taking into account height/width of objects). Further information can be found at: http://www.zingchart.com/support/fogbugz/fb953.html?dev=1 - Feature: Added "layout": "float" feature to legend. Used for spacing out legend items evenly within the width of the legend area. - Feature add: Added the ability to use JavaScript calls via JSON. As of September 7, 2010. - Bug fix: change syntax from "area-alpha" to "alpha-area" to match HTML5 and Flash (for setting alpha of area chart plot background-colors). - Feature: "flashvars" no longer needed in Flash for zingchart.render() parameters. Now, Flash and HTML5 both have all of the same zingchart.render parameters. As of August 18, 2010. - Bug fix: Fixed a bug where scale-x could not be set when using CSV data. As of August 18, 2010. - Bug Fix: Horizontal bar chart scale labels were rotated the wrong direction by default. - Bug fix: memory leaks fixed in Flash as of October 15, 2010. - Default Update: Previously, "type": needed to be set in "value-box" to show any value-boxes in Flash. Defaults have been updated for "type": "all" if the "value-box" object is present. Other values are "none", "max, "min". As of August 18, 2010. - Syntax Update: "background-repeat" syntax (for use with "background-image") has been updated to reflect CSS styling. As of October 25, 2010, available values are "repeat", "repeat-x", "repeat-y", and "no-repeat". - Syntax Update: In zingchart.render(), both Flash and HTML5 now recognize 'container' and 'id' for specifying a chart id. 'id' will be the preferred syntax moving forward. As of September 22, 2010. - Bug Fix: In bullet charts, scale-y was previously being auto sized in relation to the tallest bar height, not taking into account the highest goal value (which caused goal values to not appear. This is fixed as of August 23, 2010.
Features
- Added in preview area for scatter - Minor-guide object added to display the minor-guide instead of automatically displaying if minor-ticks set - Ability to set value-box placement using rules - Ability to set width and height of value-box - Various legend item attribute updates: legend{ item:{ show-marker: [true] | false -> Shows the marker marker-style: [square] | circle | diamond | triangle | match (matches to the marker set on the line/area) show-line: true | [false] line-style: dashed | dotted | [solid] | match where match will match the marker on the line/area highlight: true | [false] toggle: [true] | false } } - Within legend, a new object named 'tooltip' has been added. If it exists, then the tooltip will appear. By default the tooltip will contain %d. It can be customized as a regular tooltip. By default, it will inherit the color of the plot as background. - Legend-text attribute added to plot to specify the text displayed in the legend - On the individual series, there is a new object called legend-item that can override any of the above attributes. Also, if visible is set to false in the legend-item, the item does not display in the legend. - Line-style replaces line-dotted and line-dashed. Line-style options: [solid] | dotted | dashed - View source feature added to right-click menu - The file attribute has been renamed as url - Description attribute added to plot. It can be accessed in tooltips by %d anywhere that %t can be accessed. - Ref-line defaults to "visible": false if ref-line is at the same location as the scale - Label x/y coordinates now correlate with the upper left corner (previously correlated with center of graph) - API additions - Added theme called "spark" to enable sparkline development - Scrolling with feed crashing browser - History bug fix - Fixed Gauge Background to encompass the whole gauge - Added non-numeric goals to bullet - Allowed lens to go slightly outside of chart to fully get each part of the line - Removed 2d/3d right click switch from graphs that don't have 3d. - Labels outside of plotarea moving on zoom. - Fixed custom markers - Fixed tooltip background-color bug - Fixed bugs with feed-reset - Removed width/height/x/y from plot - Guide z-index is set to top - Preview Box crashing bug