reactchartjs/react-chartjs-2

[Bug]: Line Chart Example is Non-Functional

Opened this issue · 0 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

The LineChart example (and possibl others) is currently broken. You can run it, but it generates no preview ... and the preview is kind of a key part of an example :(

image

Reproduction

https://github.com/reactchartjs/react-chartjs-2/blob/master/website/docs/examples/line-chart.mdx

chart.js version

4.4.3 (irrelevant)

react-chartjs-2 version

5.2.0 (irrelevant)

Possible solution

I have no idea how this code sandbox works, but presumably you have to take some sort of step to hook up the output (which just goes to localhost on the remote sandbox right now) and make it appear in the Preview.