Can RGraph have nested labels on the X axis?

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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 Tarak on 19th April 2017
Hi,

How can I plot nested labels on the x-axis as shown below?

Example:

Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec
  Quarter1 Quarter2 Quarter3 Quarter4

Thanks,
Tarak
Posted by Richard on 19th April 2017
Hi there,

Yes - you can either use the drawing API X axis:

www.rgraph.net/canvas/docs/drawing-api-xaxis.html

Or you could also just use carriage returns like these examples. This way needs a little more planning with your labels though:

www.rgraph.net/demos/bar-combined-line.html
www.rgraph.net/demos/bar-grouped2.html
www.rgraph.net/demos/bar-line-combo.html
www.rgraph.net/demos/bar-sheets.html






Richard

Add a reply




« Back to message list