Pie chart labels.ingraph.specific array


« 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 Omorphy on 7th August 2013
Hi,

Is it possible to apply the array elements to labels.ingraph.specific for Pie charts? Not seeing any changes for pies.

The array can consist of:

The label text
The text color
The background color
This can be 1 or -1 and denotes whether the label should be above or below the line. This has no effect in Bar or Scatter charts
The length of the label pointer/arrow

Thanks,

Om

Posted by Omorphy on 7th August 2013
Also, does it work on Horizontal bars?

Thanks,

Om
Posted by RGraph support on 8th August 2013
Hi there,

There's no ingraph option for Pie charts - though what you do is something similar to this:

www.rgraph.net/demos/pie-explode-when-clicked.html

By using the options:

chart.labels
chart.labels.sticks
chart.labels.sticks.length

The HBar doesn't support it either. You can always use the drawing API Marker1, Marker2 or Text objects to add annotations to your charts - which themselves can have tooltips and/or events:

dev.rgraph.net/docs/drawing-api-intro.html


Richard, RGraph Support

Help support RGraph - single site license only £99
   www.rgraph.net/license#single-site
Posted by Omorphy on 8th August 2013
Oh, ok.

Will there be future support for this?

Thanks,

Om
Posted by RGraph support on 8th August 2013
Hi there,


I doubt it - since there are existing alternatives (the sticks options) along with the drawing API.



Richard, RGraph Support

Help support RGraph - single site license only £99
   www.rgraph.net/license#single-site

Add a reply

 




« Back to message list
RGraph on social media