Hello all, i am newbie to Flex and right now i am working on Flex 3. I drew a line chart based on two datapoints as shown:
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var expenses:ArrayCollection = new ArrayCollection([{Hold:"55",Pass:"0"},{Hold:"0",Pass:"92"}]); ]]> </mx:Script> <mx:LineChart x="239" y="95" id="holdpasschart" dataProvider="{expenses}" showDataTips="true"> <mx:horizontalAxis> <mx:CategoryAxis dataProvider="{expenses}" categoryField="Pass" /> </mx:horizontalAxis> <mx:series> <mx:LineSeries displayName="Hold" yField="Hold" interpolateValues="true" /> </mx:series> </mx:LineChart> </mx:Application> Please correct me if there is anything wrong with this. Actually i want to draw a line chart based on two cartesian coordinates (0,55) and (92,0). I used the above technique to accomplish this and the chart shown the line correctly. My problem is the line chart shows only two datapoints given by me when i move mouse over to those datapoints and how can i get the intermediate value between those two points when i move/click mouse on the line between those data points.

