Chartjs-How to extract ChartJs data and config properties

1👍

You can exclude the extra properties that Chart.js adds. E.g.:

JSON.stringify(myChart.config, function(key, value) {
    if (key === '_meta') return undefined;
    else return value;
}

Leave a comment