Sign in to follow this  
daade

About Barchart

Recommended Posts

Hi All;

I have a question about Bar chart.

I'm using the barchart like a progressbar..

I have a variable named AcilanSandik. It shows the percentage of opened boxes in the elementary.

I'm sending what is desired..

post-16707-014343100 1307519196_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

Thanks for your post.

I think bullet graph in our FusionWidgets pack will suffice your requirement.

A bullet graph is a variation of a bar graph that serves as a replacement for dashboard gauges and meters. Bullet graphs overcome the fundamental issues of gauges and meters which typically require too much space and are cluttered with distracting decoration.

For more details, please visit the link below:

http://www.fusioncha...etOverview.html

 

http://www.fusioncha...lletCreate.html

 

http://www.fusioncha...HBulletXML.html

 

OR

 

You can use Bar 2D chart by setting only one <set> element in your XML code to achieve this..

 

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites

I've only FusionCharts Package.. So, I can not use FusionWidgets.

is there any way to assign a reference percentage of the graph?

 

inside of XML is below

 

<?xml version="1.0" encoding="UTF-8"?>

<chart captionPadding="2" chartTopMargin="2" chartLeftMargin="2" chartBottomMargin="2" numberPrefix="%25" chartRightMargin="2" bgcolor="#EEEEEE" decimalPrecision="2" showNames="1">

<set name="AÇILAN SANDIK" value="12" color="000000" />

<styles>

<definition>

<style name="CaptionFont" type="font" face="Verdana" size="18" color="000000" bold="1" />

<style name="myDataLabelFont" type="font" font="Helvetica" size="15" bold="1" italic="0" />

</definition>

<application>

<apply toObject="Caption" styles="CaptionFont" />

<apply toObject="DataLabels" styles="myDataLabelFont" />

</application>

</styles>

</chart>

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Could you please explain "reference percentage" a little bit more?

 

Awaiting for your reply.

Share this post


Link to post
Share on other sites

it means a reference value. For example, for my chart, it should be 100. Because I want to show my openedBox value according to 100%. As a mentioned before.. The percentage of <SET> element should be positioned according to 100%.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

FusionCharts allows you to add a prefix or suffix to all numbers on the chart. You can use the <numberSuffix>attribute of <chart> element to attain the same.

Please find the XML code below for your reference:

<?xml version="1.0" encoding="UTF-8"?>

<chart captionPadding="2" chartTopMargin="2" chartLeftMargin="2" chartBottomMargin="2" numberSuffix="%25" chartRightMargin="2" bgcolor="#EEEEEE" decimalPrecision="2" showNames="1">

<set name="AÇILAN SANDIK" value="12" color="000000" />

<styles>

<definition>

<style name="CaptionFont" type="font" face="Verdana" size="18" color="000000" bold="1" />

<style name="myDataLabelFont" type="font" font="Helvetica" size="15" bold="1" italic="0" />

</definition>

<application>

<apply toObject="Caption" styles="CaptionFont" />

<apply toObject="DataLabels" styles="myDataLabelFont" />

</application>

</styles>

</chart>

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites

for example in my example image

look at the first chart

in that chart legend values at x-axis finish at 16%, but it is loaded that as it, it is at the hundred percent.

at the second chart what I want to do;

legend values at x-axis are correct and finish at 100% and the chart is loaded according to hundred percent value.

 

I want to create my chart like the second one..

Share this post


Link to post
Share on other sites

Hi,

 

Please check with the following XML and see if this helps.

 

Ex:

<chart yAxisMaxValue='100' numberSuffix="%25" >
<set name="AÇILAN SANDIK" value="14" color="FF0000" />
</chart> 

 

Also, please check with the attached image for your reference on the Bar chart rendered using the above XML.

 

post-8144-026476100 1307529705_thumb.jpg

 

Hope this helps. :)

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Glad to know that your problem has been resolved.

 

Happy FusionCharting!biggrin.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