New chart type

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 Kevin Morwood on 28th August 2013
I am working with electrical data and in one particular part of the application I need to plot currents and voltages as phasors. This data is typically provided as magnitude and phase angle pairs.

The chart typically looks quite a bit like your Rose chart, except that each series is just a single vector radiating from the centre ...with an arrow on the end of it.

I have examples of what the chart should look like that I could provide...somehow.

Here is a JSON file that shows a typical exchange:

{ "time": 1377718724,
     "polar": {
         "I": [
     ["354.9", "87.5"],
     ["348.9", "324.8"],
     ["358.7", "207.7"]
],
         "V": [
         ["386.5", "0.0"],
         ["384.6", "239.7"],
         ["387.2", "119.5"]
     ]
}
}

Any help would be great.

Regards,
Kevin
Posted by RGraph support on 29th August 2013
Hi there,

If you want to create a new chart type then basing it off one of the drawing API files might be easiest - or perhaps one of the circular chart types such as the RScatter.

Also, there's an example of using the margin setting on the Rose to create thin "arms":

www.rgraph.net/fiddle/view/a-rose-chart-with-thin-arms



Richard, RGraph Support

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

Add a reply




« Back to message list