Skip to content

Releases: vmpowerio/chartjs-node

Bumped Chart.js & Retina Pixel Support

Choose a tag to compare

@sedouard sedouard released this 27 Apr 21:38
072796f
Merge pull request #54 from el/master

Add devicePixelRatio support

Destroy Chart.js On JSDOM Destroy

Choose a tag to compare

@sedouard sedouard released this 12 Jan 19:49
0e3ae87

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

Choose a tag to compare

@sedouard sedouard released this 18 Sep 21:22

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 📈

Choose a tag to compare

@sedouard sedouard released this 10 Aug 18:50

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.*

Choose a tag to compare

@sedouard sedouard released this 15 Feb 17:15
Merge pull request #18 from vmpowerio/support-chartjs-2.5.0

Support chart.js 2.5.0

ReadableStream Fix

Choose a tag to compare

@sedouard sedouard released this 10 Jan 16:25

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

Access Data Url of Chart

Choose a tag to compare

@sedouard sedouard released this 04 Jan 23:57

Features:

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

Support Chart.js@<=2.4.*

Choose a tag to compare

@sedouard sedouard released this 13 Dec 11:07

Support for Chart.js 2.40! 🎉🎊

Use Chart.js@2.3.*

Choose a tag to compare

@sedouard sedouard released this 11 Dec 20:51

Updated package.json to use Chart.js@2.3.* as a peerDependency.

Chartjs Draw Plugins

Choose a tag to compare

@sedouard sedouard released this 09 Dec 18:39
  • Support for Chartjs Draw Plugins. Thanks @maxpaj!