MENU
.net Powerful JavaScript charts
About
RGraph is a JavaScript charts library based on HTML5 SVG and canvas. RGraph is mature (over 16 years old) and has a wealth of features making it an ideal choice to use for showing charts on your website.

More »

 

Download
Get the latest version of RGraph (version 6.20, 1st December 2024) from the download page. You can read the changelog here. There's also older versions available, minified files and links to cdnjs.com hosted libraries.

Download »

 

License
RGraph can be used for free under the GPL or if that doesn't suit your situation there's an inexpensive (£129) commercial license available.

More »

Is it possible to get the old-style label sticks back on the Pie chart?


Posted by Fernando at 15:56 on Thursday 4th August 2022 [link]
After I updated the Graph I noticed that the stick changed, my question is : Is possible to get the old stick?

link img (I couldn't upload using the forum):

https://im.ge/i/FYWOIc

Posted by Richard at 16:10 on Thursday 4th August 2022 [link]
I was worried for a second there that I'd removed it in favor of the updated list-style - but no - the list style labels just need turning off:

pie = new RGraph.Pie({
    id: 'cvs',
    data: [4,3,5],
    options: {
        shadow: false,
        radius: 100,
        labels: ['Rod','Jane','Freddy'],

        labelsList: false,

        labelsSticks: true,
        labelsSticksLength: 20
    }
}).draw();

Posted by Fernando at 17:13 on Thursday 4th August 2022 [link]
Thank you so much!

[Replies are closed]