Categories on bar chart with multiple bars

46 views
Skip to first unread message

Stoppal Woera

unread,
Jul 4, 2013, 9:48:58 AM7/4/13
to gf...@googlegroups.com
Hy, 
first of all thanks for the plugin, it's really great.

I hope this is the right place to ask this question but i can't wrap my head around one thing. How to add a category name to a Bar chart like the one in the second barchart example on the examples page. 
I would like to name the groups of bars in the x axis like in the first example, but if i create the DataPoint like it is demonstrated in the first barchart example the individual bars are painted over each other and the Category label says <myString>NaN.
Why is it possible to set Strings with only one bar per category, whereas i get the NotANumber error when having more than one bar per category.

Thanks in advance!
br, Stoppal

Nicolas Morel

unread,
Jul 4, 2013, 2:20:33 PM7/4/13
to gf...@googlegroups.com
Hi, 

This is the right place :)
I already answered a similar question here : https://groups.google.com/forum/#!topic/gflot/tzfK2XX6P5g
To complete the response, you can also use a TickGenerator (but only with current snapshot, see https://github.com/nmorel/gflot/issues/9)

Stoppal Woera

unread,
Jul 8, 2013, 5:20:53 AM7/8/13
to gf...@googlegroups.com
Thx a lot, this was exactly what i was looking for / overlooked.
br, keep up the good work and thx
Stoppal
Reply all
Reply to author
Forward
0 new messages