changelogs.md


gionkunz/chartist-js

Repository  -  API  -  Source

0.11.0

April 11, 2017
  • Added CSP compatibility by using CSSOM instead of style attributes (Francisco Silva)
  • Added feature to render pie / donut chart as solid shape, allowing outlines (Sergey Kovalyov, Chris Carson)
  • Fixed XMLNS for foreignObjet content (Alfredo Matos)

0.10.0

October 23, 2016
  • Added dominant-baseline styles for pie and donut charts (Gion Kunz)
  • Added public getNode on SVG api (Gion Kunz)
  • Added support for bar charts to have auto narrowing on AutoScaleAxis by overriding referenceValue (Jonathan Dumaine)
  • Added amdModuleId for better integration into webpack (Chris)
  • Added grid background to line and bar chart (hansmaad)
  • Added new LTS node version and included NPM run scripts (Gion Kunz)
  • Added correct meta data emission in events (Gion Kunz)
  • Fixed rounding issues where raw value was added instead of rounded (Gion Kunz)
  • Fixed step axis issue with axis stretch and series count 0 (Gion Kunz)
  • Fixed label position of single series pie / donut charts to be centered (Gion Kunz)
  • Fixed order or drawing pie and donut slices (Gion Kunz)
  • Fixed calculations of stepLength to only stretch ticksLength if > 1 (Alexander van Eck)
  • Fixed better handling of axisOptions.position and fallback to 'end' position (Alexander van Eck)
  • Fixed handling of holes in interpolation for multi-value series (James Watmuff)
  • Fixed function StepAxis() returning NaN (Joao Milton)
  • Fixed NaN issues in SVG when rendering Pie chart with only 0s (Alexander van Eck)
  • Fixed infinite loop in getBounds with a more robust increment (hansmaad)
  • Fixed performance of Chartist.extend (cheese83)
  • Fixed license reference issues in package.json (Jacob Quant)
  • Cleanup of data normalization changes and allows Date objects and booleans as values (Gion Kunz)
  • Cleanup refactoring for data management and normalization (Gion Kunz)

0.9.8

June 22, 2016
  • Added monotone cubic interpolation which is now the default interpolation for line charts (James Watmuff)
  • Update zoom plugin to 0.2.1 (hansmaad)
  • Bugfix: Prevent infinite loop in getBounds if bounds.valueRange is very small, fixes #643 (hansmaad)
  • Bugfix: Correct update events during media changes (Rory Hunter)
  • Bugfix: prevent negative value for foreignObject width attribute (Jose Ignacio)
  • Fixed example line chart in getting started documentation (Robin Edbom)
  • Updated development pipeline dependencies (Gion Kunz)
  • Updated chartist tooltip plugin and example styles (Gion Kunz)
  • Fixed WTFPL License issue (Gion Kunz)

0.9.7

February 23, 2016
  • Fixed bug with label and grid rendering on axis, fixes #621

0.9.6

February 22, 2016
  • Added dual licensing WTFPL and MIT, built new version (Gion Kunz)
  • Adding unminified CSS to dist output, fixes #506 (Gion Kunz)
  • Refactored namespaced attribute handling, fixes #584 (Gion Kunz)
  • Allow charts to be created without data and labels, fixes #598, fixes #588, fixes #537, fixes #425 (Gion Kunz> <Carlos Morales)
  • Removed onlyInteger setting from default bar chart settings, fixes #423 (Gion Kunz)
  • Removed serialization of values on line chart areas, fixes #424 (Gion Kunz)
  • Removed workaround and fallback for SVG element width and height calculations, fixes #592 (Gion Kunz)
  • Render 0 in ct:value attribute for line graphs (Paul Salaets)
  • Allow empty pie chart values to be ignored (Stephen)
  • Fix #527 Pie render issue with small angles. (hansmaad)
  • Small fix for stacked bars with 'holes' in the data (medzes)

0.9.5

November 14, 2015
  • Added 'fillHoles' option for line graphs, which continues the line smoothly through data holes (Thanks to Joshua Warner !)
  • Added option to use relative donut width values (Thanks to hansmaad !)
  • Added stackMode for bar charts to create overlapping charts or bipolar stacked charts (Thanks to Douglas Mak !)
  • Fixed issue with unordered ticks in fixed scale axis, fixes #411 (Thanks Carlos !)
  • Fixed left navigation in examples was not using valid anchors, fixes #514 (Thanks Carlos !)
  • Internal refactoring and cleanup (Thanks to hansmaad !)

0.9.4

August 6, 2015
  • Added axes to all events where they are available in context to provide better API convenience when developing plugins
  • Consider additional parameters of SVG elem when called with DOM node

0.9.3

August 5, 2015
  • Added better check for undefined values in bar chart, fixes #400
  • Fixed issue with SVG feature check within Svg module (Thanks to Markus Gruber !)

0.9.2

August 2, 2015
  • Enabled bar charts to use dynamic axes fixes #363, fixes #355
  • Added axis title plugin to plugins page (Thanks to @alexstanbury !)
  • Added a label group for Pie charts to prevent occlusion by slices (Thanks to Anthony Jimenez!)
  • Added better handling for multi values when writing custom attributes, fixes #379

0.9.1

June 24, 2015
  • Fixed bug with areaBase narrowing process in area charts, fixes #364
  • Fixed bug on bar chart where wrong offset was used (axis offset), fixes #347 (Thanks to @amsardesai !)
  • Fixed bug with namespace attributes that caused duplication of SVG element on updates in old browsers (Thanks to @radist2s !)

0.9.0

June 10, 2015
  • Major refactoring of axis and projection code, added possibility to configure axes when creating a chart
  • Added areaBase to series options override in line chart, fixes #342
  • Throwing up in infinite loop for edge cases and during development
  • Documentation: Added documentation for axis configuration and getting started guide for custom axes

0.8.3

June 7, 2015
  • Greatly reduced CSS selector complexity and split slice into slice-pie and slice-donut
  • Added more robust detach mechanism that takes async initialization into account
  • Added better handling for area drawing with segmented paths, fixes #340
  • Documentation: Added getting started guide for styling charts

0.8.2

June 2, 2015
  • Fixed broken release 0.8.1

0.8.1

June 2, 2015
  • Added new option labelPosition for Pie charts to have better control over label placement, fixes #315
  • Added default styles for alignment-baseline
  • Added better support for undefined values in bar charts
  • Refactored getHighLow to use recursion in order to enable more dynamic array structures and better edge case management
  • Fixed issue with Chartist.rho that caused endless loop when called with 1, fixes #318

0.8.0

May 10, 2015
  • Added new option to bar charts to allow a series distribution and use a simple one dimensional array for data (#209)
  • Added option for label placement and refactored label positioning code (#302)
  • Added option to only use integer numbers in linear scale axis (#77)
  • Added possibility to add series configuration on line chart to override specific options on series level (#289, #168)
  • Added functionality to handle holes in line charts (#294)
  • Added step interpolation for line charts
  • Added default styles for bar and horizontal bar labels that make more sense (#303)
  • Added series data and meta information to events (#293)
  • Changed line chart behavior to draw points from interpolated values (#295)
  • Removed restriction to SVGElements so Chartist.Svg can be used for HTML DOM elements (#261)
  • Refactored and simplified axis creation, also includes updated CSS label handling
  • Refactored getDataArray for simplification and fixed type conversion issue with data arrays for pie charts
  • Centralized high/low calculations in getHighLow() method and added support for empty charts. Thanks @scthi !
  • Fixed bug in pie chart where meta was only added when series name was specified
  • Fixed bug where special condition to check single value should also include object value notation (#265)
  • Fixed bug with Chartist.extend when null property is extended
  • Fixed bug with Firefox dying with a DOM exception when calling getBBox() on an invisible node. Thanks @scthi !
  • Switched from object literal accessor definition to regular function (#278)

0.7.4

April 19, 2015
  • Enhanced documentation site (Accessibility plugin, live example eval, fixed path to Sass settings, better HTML example of how to include Chartist, example how to include multiple charts on one page)
  • Added Arc to Chartist.Svg.Path
  • Refactored Chartist.Pie to make use of Svg.Path and expose path in events
  • Closing path of Pie if not a donut for correct strokes
  • Exposing axis objects in created event
  • Changed grid event to use axis object instead of string

0.7.3

February 27, 2015
  • Fixed bugs in the chart.update method
  • Fixed rounding precision issues in order of magnitude calculation
  • Fixed bug in Chartist.extend which caused merge problems from object properties into non-objects
  • Added possibility to use chartPadding with a padding object that contains top, right, bottom and left properties

0.7.2

February 12, 2015
  • Added new line smoothing / interpolation module for configurable line smoothing
  • Added simple line smoothing. Thanks @danieldiekmeier !
  • Removed some unused internal code

0.7.1

February 2, 2015
  • Bug fix where some files where not included in dist version of Chartist which made v0.7.0 unusable.

0.7.0

February 1, 2015
  • This version introduces a new option in the bar charts to draw them horizontally
  • Underlying changes for axis model that allows flexible value projection and removes code duplication
  • Added SVG Path API for manipulating SVG paths. This can be used in animations or to transform the output by Chartist further.
  • The fullWidth and centerBars options were removed from the bar chart
  • Updating chart after options update enables the use of 'print' media query in responsive options to have a quick redraw before printing. This only works in Chrome 40 so far
  • Fixed issues with 0 values in series object data notation

0.6.1

January 23, 2015
  • Fixed bug that prevented data events to be captured
  • Fixed bug with update function called in the same call stack as chart constructor

0.6.0

January 17, 2015
  • Added 14 default colors for colored series
  • Added data event that allows you to transform the data before it gets rendered in Chartist. This is also useful for plugin authors that would like to create plugins which modify data.
  • Possibility to specify meta data in the data object passed to Chartist that will be written to custom attributes into the DOM.
  • Possibility to specify options when calling chart.update in order to override the current options with new ones
  • Fixed some missing entries in the bower ignore section to exclude the documentation site as well as the grunt tasks
  • Fixed issue when Chartist is initialized in a container that already contains SVG

0.5.0

December 14, 2014
  • Added new option for line and bar chart to use full width of the chart area by skipping the last grid line
  • Added new option for bar chart to create stacked bar charts
  • All chart update functions now accepts an optional data parameter that allows to update an existing chart with new data
  • Fix for an error when charts get re-constructed on the same element and in the same call stack

0.4.4

December 11, 2014
  • Fixed NS_ERROR_FAILURE error in Firefox and added graceful handling of unsupported SMIL animations (i.e. in foreignObjects)

0.4.3

November 27, 2014
  • Updated plugin architecture for convenience reasons and better support for modularization

0.4.2

November 27, 2014
  • Included first version of Chartist.js Plugin mechanism
  • Major refactoring of development stack (thanks @Autarc !)
  • Removed unused functions in Chartist.Core

0.4.1

November 21, 2014
  • Added more functionality to Chartist.Svg: select child elements, parent, root as well as a Svg list wrapper with delegation functions
  • Fixed bug in strip unit
  • Added classes to the label and grid gorups
  • Added this as return value so calls to chart can be chained up easily

0.4.0

November 17, 2014
  • Added new animation API for SMIL animations
  • Added possibility to add event handlers with asterisk that will be triggerd on all events including the event name in the cb function
  • Added possibility to pass DOM node to SVG constructor so you can wrap existing SVG nodes into a Chartist.Svg element
  • Fixed svg recycling on re-creation
  • Fixed resize listener detach that wasn't working properly
  • Refactored Chartist.Svg to use Chartist.Class
  • Including event when line and area is drawn
  • Changed default scaleMinSpace to 20 to be more mobile friendly
  • Fixed bug with line area base