Home › forums › Using CanvasJS › How to assign Each bar Maximum values and used value?
Tagged: canvas, dynamic axis
This topic contains 1 reply, has 2 voices, and was last updated by Indranil Deo 3 months ago.
I’m trying to create a bar chart for different accounts. Each accounts has different maximum value and used value. Like,
1. Account A – 80% used of 1000 rupees
2. Account B – 40% used of 500 rupees
3. Account C – 60% used of 30000 rupees
4. Account D – 90% used of 1500 rupees
Ideally the bar chart should display the percentage of total amount for each accounts. The thing is we dont have common x axis for all bars present in the chart. Each bars has different axis values. Can we achieve this using canvas?
Yes, you can achieve this using combination charts. Please take a look at this JSFiddle.
You must be logged in to reply to this topic.