pizza icon indicating copy to clipboard operation
pizza copied to clipboard

Ticks area too small to contain values

Open kevinralph opened this issue 11 years ago • 1 comments

pizza bar chart As you can see in the screenshot, any number into the thousands and above is cut off. There must be a way to widen the tick label area.

kevinralph avatar Sep 03 '14 16:09 kevinralph

You can use the percent_offset option to offset (basically indent) the charting area and make room for wider labels. The default for percent_offset is 35. I was able to get four-digit labels showing up by using 45:

<ul data-bar-id="bar" data-options='{"percent_offset": 45}'>

Setting that option seems to scale well, too.

jklegseth avatar Sep 12 '15 23:09 jklegseth