Skip to content

Releases: vmpowerio/chartjs-node

Bumped Chart.js & Retina Pixel Support

27 Apr 21:38
072796f
Compare
Choose a tag to compare
Merge pull request #54 from el/master

Add devicePixelRatio support

Destroy Chart.js On JSDOM Destroy

12 Jan 19:49
0e3ae87
Compare
Choose a tag to compare

Fix for Issue #43 - Destroys the Chart when we dispose of the Chart when calling destroy for better memory management.

Thanks @moberemk for your contribution!

Chart.js Reference

18 Sep 21:22
Compare
Choose a tag to compare

Access the Chart.js library within the DOM

  • Access the chart.js library before rendering charts. See the Global Chart Reference section to see how.

  • You can use this to make any manipulation to Chart.js without having chartjs-node get in the way.

Thanks @SeanSobey!

Custom Chart Support 📈

10 Aug 18:50
Compare
Choose a tag to compare

Features

  • Custom charts are now supported. Thanks to @SeanSobey!
  • Chart.js 2.6 and below supported

Adding custom charts

To use custom charts, also use the options object to add your chart config and controller, like so:

var myChartOptions = {
  charts: [{
    type: 'custom',
    baseType: 'bar',
    controller: {
     draw: function(ease) {},
      ...
    },
    defaults: {
      ...
    },
  }]
}

var chartJsOptions = {
    type: 'custom',
    data: myChartData,
    options: myChartOptions
};

Read here to see how to write custom charts.

Support Chart.js@<=2.5.*

15 Feb 17:15
Compare
Choose a tag to compare
Merge pull request #18 from vmpowerio/support-chartjs-2.5.0

Support chart.js 2.5.0

ReadableStream Fix

10 Jan 16:25
Compare
Choose a tag to compare

Fixed issue #14 which blocked the ReadableStream of chart.js images from being piped.

Access Data Url of Chart

04 Jan 23:57
Compare
Choose a tag to compare

Features:

  • Access Data URL of a Chart.js Image thanks to @akhilrex via #13

Support Chart.js@<=2.4.*

13 Dec 11:07
Compare
Choose a tag to compare

Support for Chart.js 2.40! 🎉🎊

Use [email protected].*

11 Dec 20:51
Compare
Choose a tag to compare

Updated package.json to use [email protected].* as a peerDependency.

Chartjs Draw Plugins

09 Dec 18:39
Compare
Choose a tag to compare
  • Support for Chartjs Draw Plugins. Thanks @maxpaj!