vue-chartjs icon indicating copy to clipboard operation
vue-chartjs copied to clipboard

[Bug]: Line disappears on Scatter chart when LineTension is set

Open jmuronis opened this issue 2 years ago • 1 comments

Would you like to work on a fix?

  • [ ] Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior

I'm noticing in my own project and the example linked from vue-chartjs.org/examples/ that when showLine is true and then trying to set a lineTension value that the line disappears completely.

I've tried these same settings on chartjs.org and they work fine.

Reproduction

https://codesandbox.io/s/github/apertureless/vue-chartjs/tree/main/legacy/sandboxes/scatter

chart.js version

3.9.1

vue-chartjs version

4.1.1

Possible solution

No response

jmuronis avatar Aug 16 '22 17:08 jmuronis

Hi @jmuronis 👋

Thanks for bringing this up! You also need to import and register Filler for lineTension to work.

Arantiryo avatar Sep 07 '22 11:09 Arantiryo