negative yAxisMinValue and yAxisMaxValue
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



negative yAxisMinValue and yAxisMaxValue Expand / Collapse
Author
Message
Posted 5/15/2008 12:43:16 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/7/2008 1:14:14 PM
Posts: 4, Visits: 18
I am trying to create a chart that is in the negative values but I only need to see -35 to -55.  When I put these values in like this

 yAxisMinValue="-55" and yAxisMaxValue="-35" the chart disregards the Min and starts from 0

like this

yAxisMinValue="-35" and yAxisMaxValue="-55" the chart inverts to the positive side drawing incorrectly.

I am using the MSCombi2D.swf chart.  Help please.

Post #6273
Posted 5/18/2008 10:12:41 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001, Visits: 474
Hi,

Can you please attach the XML?


Thanks,
Pallav Nadhani
FusionCharts Team
Post #6317
Posted 5/20/2008 8:43:03 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/7/2008 1:14:14 PM
Posts: 4, Visits: 18

This XML disregards the values and renders from 0 to -50

<chart showBorder="0" pallet="5" caption="Chart Caption" subCaption="Chart Sub Caption" rotateValues="1"
       placeValuesInside="1" decimals="2" showLegend="0" rotatelabels="0"
       numVisiblePlot="6" clickURL="" yAxisMaxValue="-55" yAxisMinValue="-35" numDivLines="10"
       labelDisplay='Rotate' slantLabels='1' numberSuffix='%' >
  <categories>
    <category label="Jan" />
    <category label="Feb" />
    <category label="Mar" />
    <category label="Apr" />
    <category label="May" />
    <category label="Jun" />
    <category label="Jul" />
    <category label="Aug" />
    <category label="Sep" />
    <category label="Oct" />
    <category label="Nov" />
    <category label="Dec" />
    <category label="Jan" />
    <category label="Feb" />
    <category label="Mar" />
  </categories>
  <trendLines>
    <line startValue="-46.6" color="9E1B34" valueOnLeft="1" thickness="4" />
  </trendLines>
  <dataset seriesname="Series 1" color="D6DFDD" showValues="1">
    <set Value="-43.4" />
    <set Value="-43.0" />
    <set Value="-42.8" />
    <set Value="-38.5" />
    <set Value="-37.9" />
    <set Value="-37.8" />
    <set Value="-37.5" />
    <set Value="-37.4" />
    <set Value="-37.3" />
    <set Value="-37.8" />
    <set Value="-37.1" />
    <set Value="-36.8" />
    <set Value="-47.2" />
    <set Value="-46.7" />
    <set Value="-46.6"/>
  </dataset>
</chart>

This XML respects the values and renders from -35 to -55 but draws up insted of down.


<chart showBorder="0" pallet="5" caption="Chart Caption" subCaption="Chart Sub Caption" rotateValues="1"
       placeValuesInside="1" decimals="2" showLegend="0" rotatelabels="0"
       numVisiblePlot="6" clickURL="" yAxisMaxValue="-35" yAxisMinValue="-55" numDivLines="10"
       labelDisplay='Rotate' slantLabels='1' numberSuffix='%' >
  <categories>
    <category label="Jan" />
    <category label="Feb" />
    <category label="Mar" />
    <category label="Apr" />
    <category label="May" />
    <category label="Jun" />
    <category label="Jul" />
    <category label="Aug" />
    <category label="Sep" />
    <category label="Oct" />
    <category label="Nov" />
    <category label="Dec" />
    <category label="Jan" />
    <category label="Feb" />
    <category label="Mar" />
  </categories>
  <trendLines>
    <line startValue="-46.6" color="9E1B34" valueOnLeft="1" thickness="4" />
  </trendLines>
  <dataset seriesname="Series 1" color="D6DFDD" showValues="1">
    <set Value="-43.4" />
    <set Value="-43.0" />
    <set Value="-42.8" />
    <set Value="-38.5" />
    <set Value="-37.9" />
    <set Value="-37.8" />
    <set Value="-37.5" />
    <set Value="-37.4" />
    <set Value="-37.3" />
    <set Value="-37.8" />
    <set Value="-37.1" />
    <set Value="-36.8" />
    <set Value="-47.2" />
    <set Value="-46.7" />
    <set Value="-46.6"/>
  </dataset>
</chart>

 

Post #6357
Posted 5/23/2008 5:22:12 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001, Visits: 474
Hi,

Since you've 1 dataset rendering as column in the chart, the max value has to be 0.


Thanks,
Pallav Nadhani
FusionCharts Team
Post #6401
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 11:14am


Execution: 0.031.