Topic: Chart Y Axis
JP1968 pro asked 5 years ago
How to start the Y-Axis off with a pre-defined number that is not part of the bars in the graph? Right now the bar graph starts with the lowest number in the chart. Example: if the lowest number is 25 then it would start at 25 but I may want it to start at zero.
Krzysztof Wilk staff answered 5 years ago
Hello!
The chart Y-axis starts with the lowest number in data, so i'm afraid, you have to invent other method. Maybe try to add additional data, but no label to it? I mean try to put 6 data values in "data" array in js, but just 5 labels in "labels" array.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.2
- Device: Mac
- Browser: Any
- OS: MAC OS
- Provided sample code: No
- Provided link: No