Topic: Chart - Formatting Y Axis
Ryan Ternier free asked 7 years ago
Renaud Menard free answered 5 years ago
Hello, is it possible to format y axis with numeral in MDB charts ? for example : data1 = numeral(data1).format('0.00a')
Thanks !
Piotr Glejzer staff commented 5 years ago
I think it is possible, can you check these topics?
https://stackoverflow.com/questions/20371867/chart-js-formatting-y-axis
https://stackoverflow.com/questions/36918887/chart-js-2-0-formatting-y-axis-with-currency-and-thousands-separator
I think they are similar to your problem. If it will not help I will try to help again.
Best, Piotr
zanzad free answered 5 years ago
Hello,I want to create a bar chart contain two y axis, each axis belongs to each bar data. I am using the free version of mdb.I successfully created the two axis but the second axis is not rendering data according to second bar data.How can I achieve this using mdb?
Jakub Mandra staff commented 5 years ago
Hi,
Could you please share some code with us?
I'm not sure I'm getting it right.
Best, Jakub
Jakub Mandra staff answered 5 years ago
Hey @SAMALI,
Add below options to you Chart object:
options: {
scales: {
yAxes: [{
ticks: {
beginAtZero: true
}
}]
}
}
SAMALI free answered 5 years ago
Hello, i'm using your free version of MDB admin tools chart.I want to know how can I begin at ZERO in Bar Chart ?
Edyta Dabrowska free answered 7 years ago
Edyta Dabrowska free answered 7 years ago
Ryan Ternier free commented 7 years ago
Can I use the official ChartJS alongside MDbootstrap? or will that cause errors?FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No