1 Reply Latest reply on Mar 13, 2011 7:23 AM by asifdegr8

    Controlling chart scale

    asifdegr8 Level 1

      I have created line chart. Where time is at x-axis and pressure is at y-axis. My actual pressure values are within range of 900 to 1000. I want to modify scale of y-axis so that instead of showing a scale from 0 to 1000, the scale range for y-axis should be 900 to 1000. How can i do this?

       

      <mx:LineChart id="lcDisplay" dataProvider="{acResults}">

           <mx:horizontalAxis>

                    <mx:CategoryAxis categoryField="time" title="Time" />

           </mx:horizontalAxis>

           <mx:series>

                <mx:LineSeries id="lsPressure" displayName="Pressure" yField="airPressure"  />

           </mx:series>

      </mx:LineChart>