FusionCharts Forum: Y Axis scale is not consistent and some vaues are missing - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Y Axis scale is not consistent and some vaues are missing

#1 User is offline   Prashanth.allam 

  • Forum Newbie
  • Group: Members
  • Posts: 3
  • Joined: 11-August 10

Posted 11 August 2010 - 04:27 PM

Hi ,

As one can see in the above graph , I am using a free version of bar chart (FCF_Bar2D.swf) .

But some times the Y-Axis scale values are missing; in the above graph 2 and 5 are missing.

and also in some cases the chart renders Perfectly

I would like to have 1, 2, 3, 4, 5, 6.... (a consistent scale of values ) .

How can i achieve that ??

MY ASP.net  code is :

FusionCharts.RenderChartHTML("FCF_Bar2D.swf", "AreaChartData.xml", "", "LineChart", "300", "300", false);

My XML data is :

<graph caption='Brand Winner' yAxisName='Brand Value ($ m)' xAxisName='Brand'

bgColor= 'F1F1F1' showValues='0'

canvasBorderThickness='1' canvasBorderColor='999999'

showAlternateVGridColor='1' alternateVGridColor='cdcdcd'

divLineAlpha='0'

decimalPrecision='0'>

<set name='Coca-Cola' value='6' hoverText='2006 Rank: 1, Country: US' color='AFD8F8'/>

<set name='Microsoft' value='5' hoverText='2006 Rank: 2, Country: US' color='F6BD0F'/>

<set name='IBM' value='5' hoverText='2006 Rank: 3, Country: US' color='8BBA00'/>

<set name='GE' value='4' hoverText='2006 Rank: 4, Country: US' color='FF8E46'/>

<set name='Intel' value='3' hoverText='2006 Rank: 5, Country: US' color='008E8E'/>

<set name='Nokia' value='3' hoverText='2006 Rank: 6, Country: Finland' color='D64646'/>

<set name='Toyota' value='2' hoverText='2006 Rank: 7, Country: Japan' color='8E468E'/>

<set name='Disney' value='2' hoverText='2006 Rank: 8, Country: US' color='588526'/>

<set name='McDonalds' value='2' hoverText='2006 Rank: 9, Country: US' color='B3AA00'/>

<set name='Mercedes-Benz' value='2' hoverText='2006 Rank: 10, Country: Germany' color='008ED6'/>

</graph>

Thanks

Prashanth Allam.

 


0

Other Replies To This Topic

#2 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 11 August 2010 - 11:23 PM

Hi,

Welcome to FusionCharts forum. :)

Please try setting the value of the attribute "numDivLines" along with setting the values of the attributes "yAxisMinValue" and "yAxisMaxValue" in the <graph> element.

Ref.- http://www.fusioncharts.com/free/docs/Contents/ChartSS/XML_Bar2D.html

Hope this helps.

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

#3 User is offline   Prashanth.allam 

  • Forum Newbie
  • Group: Members
  • Posts: 3
  • Joined: 11-August 10

Posted 25 August 2010 - 04:48 PM

Hi Ghosal

Thanks a lot for the reply , I works for a static data but not for dynamic data.

So now I thought of using ShowValues and Hide the YAxisValues .

I was able to achieve first one easily , but how can I hide YAxisValues ?

Thanks a lot

Prashanth

0

Other Replies To This Topic

#4 User is offline   Sanjukta 

  • Supreme Being
  • Group: Administrators
  • Posts: 1664
  • Joined: 15-March 10

Posted 25 August 2010 - 11:39 PM

Hi,

Could you please try setting the attribute "showDivLineValue" to "0" in the <graph> element?

Hope this helps. :)

Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Thanks,
Sanjukta

Follow us @Twitter!
0

Other Replies To This Topic

#5 User is offline   Prashanth.allam 

  • Forum Newbie
  • Group: Members
  • Posts: 3
  • Joined: 11-August 10

Posted 26 August 2010 - 08:52 AM

Thanks a lot to both Ghosal and Sanjukta .
0

Other Replies To This Topic

#6 User is offline   Sanjukta 

  • Supreme Being
  • Group: Administrators
  • Posts: 1664
  • Joined: 15-March 10

Posted 26 August 2010 - 09:11 AM

Hi,

You are most welcome. :)

Happy FusionCharting! :)

Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Thanks,
Sanjukta

Follow us @Twitter!
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic