Open d-nistreanu opened 1 year ago
Currently it is working as intended, the tick line is an extension of the gridline. This is also stated in the docs here where you can configure how far into the scale area it has to extend:
tickLength: Length in pixels that the grid lines will draw into the axis area.
https://www.chartjs.org/docs/master/axes/styling.html#grid-line-configuration.
If you dont want a grid but do want ticklines you will need to use a custom plugin to draw them yourselfs.
Try display:true, drawOnChartArea:false
Expected behavior
Hi, I cannot see ticks lines when grid lines are hidden. I don't want grid lines to be visible. By the ticks lines I mean I expect to see a perpendicular line to the X-axis where a label is.
Current behavior
I expect to see ticks even if grid lines are hidden but I don't.
Reproducible sample
www.mmm.ok
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
4.3.0
Browser name and version
No response
Link to your project
No response