Skip to content

Releases: chartjs/Chart.js

2.0.0-beta

24 Oct 23:17
Compare
Choose a tag to compare
2.0.0-beta Pre-release
Pre-release

The first beta for Chart.js 2.0 is here!

Beta is as close as we've been to a stable release of some of the coolest new features Chart.js has seen in years.

New Features since v2.0.0-alpha4:

  • New Bubble chart and controller
  • Tooltip callbacks. Instead of a confusing templating language, we found a simpler approach to easily layout and customize your tooltips. Every tooltip callback (beforeTitle, title, afterTitle, etc..) accepts a string or an array. If an array is used, it will produce multiple lines. Tooltips now come with a lot more options for visual customization as well.
  • Datasets can now be hidden by simply setting a hidden: true property and calling chart.update()
  • You can now use separate hover and tooltip modes (eg. showing a tooltip for an entire label, but have one point from that label be clickable and accept visual changes).
  • Travis CI now runs unit-tests. So yes, all new PR's must pass unit-tests to be merged! Yay!
  • Time Scale now supports to and from time properties to limit the min and max of the scale shown.
  • All scales now support scatter-style data eg. data: [{x: Date(), y: 10} , {x: Date(), y: 15}] in which case the labels array is optional.
  • Scale label rotation is now smarter.
  • Charts now accurately handle null, undefined, or NaN values in a predicable way (they don't get displayed and your chart won't die ;)
  • Controllers
  • Bug fixes and stability improvements

2.0.0-alpha4

30 Sep 17:57
Compare
Choose a tag to compare
2.0.0-alpha4 Pre-release
Pre-release

Alpha 4 contains much needed improvements and features. Here's an awesome list!

  • A new core scale class and a hook-able scale lifecycle provides a base for our built in scales, and make it 100x easier to build your own scales.
  • Scales are no longer responsible for element-specific functionality, and simply extend the base scale class. This makes some of them only a couple of lines long!
  • Time Scale! Just include moment.js before Chart.js and gain access to the very powerful time scale. It's automagic right out of the box, works with any time/date format (Date, String, Moment), and comes with powerful options for customization.
  • Better support for Log scale and mixing scale types.
  • Scale labels are now built-in
  • Responsive module has been completely redesigned to handle any use case. Dimensions are reliable, won't change on their own, and yes, you can finally hide your charts in tabs, popups, or anything that was previously barred by the now debunked display:none issue.
  • Adding/removing and changing data is now simple as push, pop, shift. No need to use a fussy api, just alter the data in your config, and hit update. Magic!
  • Reduced 2.0 build size to 122kb (minified)
  • Updated Documentation for Getting Started and Scales
  • ~ 56% Unit Test Coverage

2.0.0-alpha3

16 Jun 21:24
Compare
Choose a tag to compare
2.0.0-alpha3 Pre-release
Pre-release

With this alpha release of 2.0, chart.js is now more powerful than ever.

  • Core Controller - Every chart is now intelligently controlled by core.controller. By eliminating chart type constructors, and standardizing the chart api, this controller allows for new and powerful ways of extending chart.js!
  • Dataset Style Controllers - Every dataset is and can be controlled by separate controllers. So yes, hybrid charts are possible now. And writing extensions is easier than ever. Need a new dataset style? Write a new controller! Need a new type of element? Write it!
  • Config Driven Charts - You can now change pretty much anything in the chart config, call .update() and your chart will change! This opens up new possibilities for theme building!
  • Improved Events - New event hooks like onHover and onClick do the hard work for you. They pass you the good stuff without even having to locate via event.
  • Improved Responsiveness - Smoother, faster, and even animated (if you prefer it that way)!
  • Nested Pie Charts
  • Radar Chart Bezier Lines
  • Better Scales

You get the idea...

Let us know what you think and get that feedback going. PR's always welcome!

2.0.0-alpha2

15 Jun 04:54
Compare
Choose a tag to compare
2.0.0-alpha2 Pre-release
Pre-release
  • Further improvements to scales
  • Stacked mode built in to scales (stacked area, stacked bar, waterfall, etc now possible out of the box)
  • And more!

2.0.0-alpha

04 Jun 01:53
Compare
Choose a tag to compare
2.0.0-alpha Pre-release
Pre-release

Version 2.0.0-alpha is a first look at new and awesome Chart.js features. Building off of v1.1's animation refactor, chart scales have been completely rewritten by @etimberg. @tannerlinsley has added many needed enhancements to existing chart types, and chart configurations are now more powerful than ever.

  • Animate all things! (Almost everything is animatable now, including color changes).
  • You have more control over axis declarations and even have multiple axes on a single chart. For details, including screenshots, please see #1132
  • 10-100x speed improvements - by batching animation frames and eliminating extraneous data copies, everything runs faster, smoother and with less CPU
  • New core chart type - scatter plot that allows arbitrary placement of data points.
  • Chart configs, options, and data are now bound to the chart. No more traversing the chart object to update anything. Just update the options you originally passed to your new Chart and call .update() on your chart instance!
  • Easier API and access to custom overrides. metaData and metaDataset properties now house all of the Chart.js goodness and a simple custom property can override any color, border, etc. with ease. Just call .update()!
  • Plenty more that won't fit here. Feedback is greatly appreciated and PR's welcomed. Thanks!

Version 1.0.2

10 Mar 11:05
Compare
Choose a tag to compare

Release notes:

  • Resolves an issue with cancelAnimationFrame being called with an incorrect context
  • Fixes a divide by zero error with only one label
  • Handle negative arc sizing in chart segments
  • Better height/width calculation of chart canvases

Version 1.0.1

07 Jan 22:59
Compare
Choose a tag to compare

Release notes:

  • Calling destroy now will reset the canvas context, remove added inline styles, and set it to it's current width.
  • Props to @tannerlinsley for adding a new customTooltips option, which allows for easy HTML tooltips - example in /samples
  • Thanks to @fntneves for adding a new option or allowing vertical/horizontal grid lines of line/bar chart scales to be hidden via config option
  • A huge thank you to @fulldecent for setting up CI for the repo - will go a long way for providing a better tested codebase and a more automated workflow
  • Lastly a huge thank you to @derekperkins, @fulldecent, @jakesyl, @tannerlinsley and @etimberg for their help collaborating on the project, reviewing code and working through the project issues to make this release possible.

Version 1.0.1 beta-4

17 Aug 22:24
Compare
Choose a tag to compare
Version 1.0.1 beta-4 Pre-release
Pre-release
  • Now allows for spare data sets - just pass a null as part of your dataset to skip drawing that point/bar.
  • Also cap bezier lines to the scale bounds.

Version 1.0.1 beta-2

02 Jul 20:52
Compare
Choose a tag to compare
Version 1.0.1 beta-2 Pre-release
Pre-release
Update bower & package.json with version bump

Forget this literally every time…

Version 1.0.1 beta

01 Jul 10:12
Compare
Choose a tag to compare
Version 1.0.1 beta Pre-release
Pre-release
v1.0.1-beta

1.0.1-beta Update for bower/package.json