Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

The `options.scales[scaleId].min` option hides the graph.

Open simnalamburt opened this issue 1 year ago • 2 comments

Expected behavior

Graph shouldn't be hidden by axes.

image

Current behavior

The options.scales[scaleId].min option hides the graph.

image

Reproducible sample

https://codepen.io/simnalamburt/pen/jOgJarq

Optional extra steps/info to reproduce

No response

Possible solution

No response

Context

No response

chart.js version

v4.6.6

Browser name and version

No response

Link to your project

No response

simnalamburt avatar Nov 14 '24 16:11 simnalamburt

I will look into this more when I have time. But you can set clip: false in the root of the options object to let the dataset draw over the scale: https://codepen.io/leelenaleee/pen/GRVedLv

LeeLenaleee avatar Nov 14 '24 22:11 LeeLenaleee

Wow thanks

simnalamburt avatar Nov 14 '24 23:11 simnalamburt