Sign in to follow this  
Shokz

Problem With Bar 2D

Recommended Posts

Hello,

I am using the 2D Bar Chart, but the label property values ​​are variable and I wouldleave them with a maximum size, because the graph does not need to changepositions by changing the values ​​of the labels.

 

You can leave this value set or fix the value of the graph?

Hugs

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

I am afraid, I am not able to understand your query.

 

Could you please elaborate your query a little bit more?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Hi Angshu,

 

to generate the graph we need two parameters, label and value

 

the label appears next to the bar, with any size of existing text, causing the bar to be larger or longer depending on the size of the largest label.

 

Would make the label did not exceed a certain size? Such as a fixed width?

Thanks.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

Thanks for your response.

 

In all the horizontal bar charts, you can specify the maximum % of available width that you wish to allot for data labels. By default, the best fit is calculated.

 

For ex: <chart ... maxLabelWidthPercent='50'>

 

Please visit the link for more details: http://www.fusioncha...DataLabels.html

 

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites

Hi Angshu,

 

Thanks for your reply.

 

Don't work with 2D Bar.

 

For XML ex:

<chart caption='' subCaption='' yAxisName='' xAxisName='' alternateVGridColor='AFD8F8' baseFontColor='114B78' toolTipBorderColor='114B78' toolTipBgColor='E7EFF6' plotBorderDashed='1' plotBorderDashLen='2' plotBorderDashGap='2' useRoundEdges='1' showBorder='0' bgColor='FFFFFF,FFFFFF' maxLabelWidthPercent='20'>

<set label="Nacional" value="13.11" color="0060AF"/>

<set label="Estadual" value="14.03" color="0060AF"/>

<set label="Municipal" value="0" color="0060AF"/>

</chart>

Thanks.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your reply.

 

Could you please enable the debug mode in your HTML code and send us the screenshot of the issue you are facing?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your reply.

 

You would need to specify the same value on each <set> element in order to make the size of the bar uniform.

 

Hope this helps.smile.gif

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