MENU
.net Powerful JavaScript charts
About
RGraph is a JavaScript charts library based on HTML5 SVG and canvas. RGraph is mature (over 15 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.18, 1st June 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.

More »

 

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 »

About the 3D donut chart key labels


Posted by steve at 00:31 on Friday 22nd March 2024 [link]
Hello, I'm try to fix keyLabels for Pie chart(variant donut3d)


I didn't set any Fontstyle for keyLabels, but text is already bold.

Is any way to fix it?

always thank you



Attached image:
Attached image

Posted by Richard at 11:22 on Friday 22nd March 2024 [link]
Unfortunately not - the bold appearance is a result of the canvas being stretched in order to create the 3D effect.

There is an HTML-based key that you could use instead of the canvas-based key. The documentation page for it is here:

https://www.rgraph.net/canvas/html-keys.html

The HTML key isn't subject to the stretching effect. If you're mixing labels (which will be stretched) and the HTML key (which won't be stretched) it will look a bit strange though. Likewise, if you have a title you could easily do that in HTML too.

[Replies are closed]