Sign in to follow this  
Nikhitha

Pie Graph Percentage Exceeding 100

Recommended Posts

Hai

 

im using fusion charts free i have pie graph how it is showing % in tooltip in my graph it is exceeding 100%.

 

How to slove this problem

 

Pla try to help me

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your post.

 

Could you please elaborate your query a bit more?

 

Please send us a screenshot and the XML code of the issue you are facing.

 

Awaiting for your response.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Could you please send us the XML code to test it from our end?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Below is the xml code used for the pie graph

 

 

 

< graph caption= " " xAxisName= " Account Type" yAxisName= " No Accounts" showNames= " 0" showValues= " 0" decimalPrecision= " 0"

bgColor= " e9f4ff" divlinedecimalPrecision= " 0" limitsdecimalPrecision= " 0" yAxisMaxValue= " 50" yAxisMaxValue= " 50" >

 

< set name= " Other , 7" value= " 7" color= " #69A329" > < /set>

< set name= " Tier 1 , 1" value= " 1" color= " #deb333" > < /set>

< set name= " Tier 2 , 0" value= " 0" color= " #808000" > < /set>

< set name= " Tier 3 , 0" value= " 0" color= " #D3E7DE" > < /set>

 

< /graph>

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

It seems that you are using zero values in your XML code which causes this error.

 

Please find the modified XML code below for your reference:

 

<graph caption= " " xAxisName= "Account Type" yAxisName= "No Accounts" showNames= "0" showValues= "0" decimalPrecision= "0" 
bgColor= "e9f4ff" divlinedecimalPrecision= "0" limitsdecimalPrecision= "0" showPercentageValues="1" pieRadius="100">

<set name= "Other ,7" value= "7" color= "69A329" /> 
<set name= "Tier 1 ,1" value= "1" color= "deb333" />  
<set name= "Tier 2 ,0" value= "1" color= "808000" /> 
<set name= "Tier 3 ,0" value= "1" color= "D3E7DE" />  

</graph>  

 

 

Hope this helps.

Share this post


Link to post
Share on other sites

Now this is my xml code with no 0 values bt eventhough it is showing same percentages

 

 

< graph caption= " " xAxisName= " Account Type" yAxisName= " No Accounts" showNames= " 0" showValues= " 0" decimalPrecision= " 0"

bgColor= " e9f4ff" divlinedecimalPrecision= " 0" limitsdecimalPrecision= " 0" showPercentageValues= " 1" pieRadius= " 100" >

< set name= " Other , 7" value= " 7" color= " #69A329" > < /set>.

< set name= " Tier 1 , 1" value= " 1" color= " #deb333" > < /set>

< /graph>

Edited by Nikhitha

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Please note that the value you are providing under <set> element would reflect in the chart as percentage value.

 

For Ex: Providing 7 and 1 would only convert the value as 70% and 10% which does not fulfill the criteria of showing the chart value as 100%.

 

Providing 7 and 3 would convert the value as 70% and 30% which fulfill the criteria of showing the chart value as 100%.

 

Hope this clarifies.

Share this post


Link to post
Share on other sites

its not clear.my values are 7 and 1 as per your suggesation the percentage will be 70%+10%=80% bt it is showing 88%+13%=101%

 

 

 

it should divide within 100% with values provided. i need like this

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