Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Pie Size
pgrie
<p>Hello,</p>
<p> </p>
<p>I want to create two pie charts with exactly the same size (without the legend).</p>
<p> </p>
<p>I tried to set the chart height in a script but I think it set the height of the pie and the legend (I attached a screenshot). I only want to set the height of the pie.</p>
<p> </p>
<p>I tried this :</p>
<p> </p>
<div>function afterDataSetFilled(series, dataSet, icsc){ </div>
<div>icsc.getChartInstance().getBlock().getBounds().setHeight(150);</div>
<div>}</div>
<div> </div>
<div> </div>
<p> </p>
<p>Thanks for your help</p>
<p> </p>
<p>Paul</p>
Find more posts tagged with
Comments
mwilliams
To ensure they're the same size each time, you could hide the legend in the chart and create the legend outside the chart. This way, the chart item dimension would only be sizing the pie (and labels). If the labels are a problem, you could just use tool tips.