0

Is it possible to change the point style of a line chart dynamically? Specifically, when clicking on the legend item.

For example, here the line width changes, but the points in the graph don't.

    legendItem.onclick = (e) => {
        chart._metasets[item.datasetIndex].dataset.options.borderWidth = 10;
        chart._metasets[item.datasetIndex].dataset.options.radius = 30;
        chart._metasets[item.datasetIndex].dataset.options.pointRadius = 30;                    
        chart.render();
    };
abyrne85
  • 1,370
  • 16
  • 33

0 Answers0