Chart.js test

node v10.24.1
version: 2.0.0
endpointsharetweet
var chartjs = require("chart.js")
var chart = new chartjs.Chart(chart, { // The type of chart we want to create type: 'line', // The data for our dataset data: { labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], datasets: [{ label: 'My First dataset', backgroundColor: 'rgb(255, 99, 132)', borderColor: 'rgb(255, 99, 132)', data: [0, 10, 5, 2, 20, 30, 45] }] }, // Configuration options go here options: {} });
Loading…

no comments

    sign in to comment