Topic: Set chart y axis increments

jmztaylor premium asked 5 months ago

Is it possible to have only whole numbers show and no decimal places? My charts will only ever be whole numbers so don't care to see the rest.

enter image description here

Kamila Pieńkowska staff answered 5 months ago

I've prepared a snippet to show you how to set options to show only whole numbers, without a decimal point.

jmztaylor premium commented 5 months ago

I am initializing the chart in HTML. Is there a way to set options without JS?

jmztaylor premium commented 5 months ago

Nevermind. I just moved to init the charts from js.

jmztaylor premium answered 4 months ago

Circling back to this, is there an option to do from html?

Grzegorz Bujański staff commented 4 months ago

Unfortunately not. Options can only be passed via JS.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.2.0
  • Device: Pc
  • Browser: Chrome
  • OS: w11
  • Provided sample code: No
  • Provided link: No