Profile Picture

Barchart size problem when we have dynamic data

Posted By Jebarson Rajin 15 Years Ago
Author
Message
Jebarson Rajin
crazy Posted 15 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 15 Years Ago
Posts: 6, Visits: 1
Hi,

I am trying to bind few data into a bar chart where I wish to keep the bar width a constant where as the width and chart dynamic based on the content of the data.

Say if I need to bind 10 data, my chart height need to be 200px keeping my bar width 15 per data.
if I need to bind 20 data, my chart height need to be 350px keeping my bar width 15 per data.

But since the nchart is getting a model unit which I am unable to figure out the usage. I tried to apply some calculation, which didn't help me and it is resulting in a total disfigure of the size. Please help on this and my project is urgently relying on this.




Similar Topics


Reading This Topic