Global "onlyInteger: true" option not working
See original GitHub issueonlyInteger
option is present globally and also is part of the axis configuration.
Ideally global configuration should overwrite axis configuration, if axis configuration is not defined explicitly but its not the case right now.
I wonder why this issue https://github.com/gionkunz/chartist-js/issues/358 is closed, if anyone go through docs https://gionkunz.github.io/chartist-js/api-documentation.html then first paragraph didn’t mentioned to use onlyInteger
with axis configuration.
Issue Analytics
- State:
- Created 8 years ago
- Comments:8
Top Results From Across the Web
validate.js
If you don't want to give any options to a validator you may pass true instead of an empty object. The validator will...
Read more >Change the Y-axis values from real numbers to integers in ...
I handled it this way in new version: new Chart(ctx, { type: 'bar', data: chartData, options: { scales: { yAxes: [{ ticks: {...
Read more >Active Record Validations - Ruby on Rails Guides
If the field does exist in your database, the accept option must be set to or include true or else the validation will...
Read more >Options Settings - R
Allow the user to set and examine a variety of global options which affect the way in which R computes and displays its...
Read more >JavaScript: HTML Form validation - checking for all numbers
Javascript function to check if a field in a html form contains all numbers or not.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@JasonLeeH Its working for Axis configuration.
So how do we enable onlyInteger? It doesn’t seem to be working at all for me.