Horizotal Bar chart with vertical average line


« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Mike on 22nd July 2013
I have a horizontal bar chart showing the population for each town. I would like to include a vertical line representing the average population for all towns. Is this achievable?
Posted by RGraph support on 23rd July 2013
Hi there,

It is possible - but not straight-forward. To get a vertical Line you need to use the Scatter chart and then configure it like this:

www.rgraph.net/docs/howto-vertical-line.html

You can then have that drawn on top of you HBar chart by just using the same canvas as that which the HBar uses.




Richard, RGraph support
Posted by Mike on 23rd July 2013
Many thanks for an ingenious solution Richard.

Add a reply

 




« Back to message list
RGraph on social media