Home
Analytics
Pie chart size changes depending on the legend label length
madhavil
hi Every one,
I have a strange problem regarding pie chart size. The chart size changes based on the length of the legend labels.
I am attaching the two different charts here. They are generated with same code and same numeric data except the names/labels of them is different.
if the legend label length is small, the chart size is also small. If the legend label length is big, the chart size is also big.
Please suggest a solution to make the chart size fixed irrespective of the legend label length.
Thanks in advance,
Madhavi.
Find more posts tagged with
Comments
kclark
It looks like the problem isn't the legend but the order when grouping the values. If you change the order of the grouping to match each chart then they should be the same size on both. Even though it's the same data the different category values cause the slices to appear in a different order which make the series labels to be pointed differently and that's what causing the size difference.