This topic contains 3 replies, has 2 voices, and was last updated by Dimitar 12 years ago.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
jQuery UI Widgets › Forums › Chart › Stacked Bar chart
This topic contains 3 replies, has 2 voices, and was last updated by Dimitar 12 years ago.
Hi,
I am using a stacked bar chart and it is working great. My fiddle http://jsfiddle.net/8LsrL632/
I want to render the population than to render ddd value…. and then to render another chunk of population and another chunk of ddd. I will need this to make something like a timeline where the colors can repeat. (I need a 100% stacked bar that will have something like this: 20% red, 40% blue, 25 % red, 5% blue, 10% red)
Any help will be highly appreciated. Looking forward to hear from you !
With kind regards,
Gavril
Hello Gavril,
When plotting series, they cannot be split the way you wish. Per country, you can plot only one portion of the bar for population and one for ddd. A possible solution is to have multiple series, e.g. population1, ddd1, population2, ddd2, etc. and colour half of them red and half of them blue (via the series fillColor property).
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/
Thanks for the answer Dimitar.
Unfortunately I do not know the number of series and the number is not fix. The data is generated dynamic in real time.
My script needs to show a chart with the availability of an online service / per day hours during last 24 hours. green, red, green, red …… .
Any idea if this is possible with one of available charts ?
Regards,
Gavril
Hi Gavril,
You would be able to display such per-hour data in many of the available jqxChart types but not in the way you specified (stacked bar with alternating series).
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/
You must be logged in to reply to this topic.