Sign in to follow this  
mgarneau

Pie chart size is bigger when there is only one category

Recommended Posts

I create pie charts dynamically to display financial data by category.

The charts all display at the same size when there are more than one category in the dataset. However, when the dataset contains only one category (=>thus generating a single color pie chart), the size gets a little bit bigger than the other ones.

Is that a bug? I would expect all the pie charts with the same settings to display at the same size regarless of the number of categories in the dataset.

Thank you.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Max,

Could you please let us know whether you are setting the Width and the Height of the chart in "%" or in "pixel"?

Awaiting your reply.

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

 

 

 

Could you please specify if you are using simple pie charts?

 

 

 

In single series charts the XML format is something like below:

 

<chart caption='Company Revenue' showPercentageValues='1'>

 

<set label='Services' value='26' />

 

<set label='Hardware' value='32' />

 

<set label='Software' value='42' />

 

</chart>

 

 

 

There are no categories or datasets are involved in this case.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this