MENU
.net
Powerful JavaScript charts
DOWNLOAD
SVG
CANVAS
DEMOS
BLOG
VIDEO
ABOUT
LICENSE
SUPPORT
download
svg
canvas
demos
blog
video
about
license
support
Home
❯
Support forum
❯
About the 3D donut chart key labels
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:
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]