Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding AutoSkip to ChartAxisTicks class #5078

Open
HavidDartmann opened this issue Oct 17, 2023 · 1 comment
Open

Adding AutoSkip to ChartAxisTicks class #5078

HavidDartmann opened this issue Oct 17, 2023 · 1 comment
Assignees
Labels
Type: Feature ⚙ Request or idea for a new feature.

Comments

@HavidDartmann
Copy link

Is your feature request related to a problem? Please describe.
I am trying to show all labels in a chart but I cannot achieve this. In the chart.js documentations there is this value called "autoSkip" to show all labels no matter the window size.

Describe the solution you'd like
It would be awesome to implement this feature to use it like this:
var barChartOptions = new BarChartOptions { Scales = new() { Y = new() { Ticks = new() { AutoSkip = false } }, } };

Additional context

For additional information here is the link to the documentation
Chart.js

@HavidDartmann HavidDartmann added the Type: Feature ⚙ Request or idea for a new feature. label Oct 17, 2023
@stsrki
Copy link
Collaborator

stsrki commented Oct 17, 2023

So it seems we're missing an entire Ticks option from the ChartAxis. We could either add it in 1.3 as it seems fairly simple and should not break an existing API. Or move it to 1.4 milestone.

@David-Moreira thoughts?

@stsrki stsrki self-assigned this Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature ⚙ Request or idea for a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants