Hi,

I have a LinheChart that simply does not show the Data Tips. I have 
already developed a dataTipFunction but it does not work. 

By the way the itemClick event does not work too

I cannot understand the dataTip and itemClick are working perfectly 
in a ColumnChart.

Did any of you had the same problem ???

See Code below

<mx:LineChart x="27" y="64" id="annualChart" height="379" 
dataProvider="{cotas}" showDataTips="true"
itemClick="annualChartClick(event)" width="464"
styleName="myLineChart" axisTitleStyleName="titleStyle" 
paddingLeft="0" paddingTop="0" dataTipFunction="showDataTip">

<mx:horizontalAxis>
  <mx:CategoryAxis dataProvider="{cotas}" categoryField="date" 
labelFunction="dateLabel"/>
</mx:horizontalAxis>

<mx:horizontalAxisRenderer>
  <mx:AxisRenderer tickPlacement="none" labelRotation="90"
                 canDropLabels="true" canStagger="true">
    <mx:axisStroke>
      <mx:Stroke color="#cccccc" weight="3" alpha=".75"/>
    </mx:axisStroke>
  </mx:AxisRenderer>
</mx:horizontalAxisRenderer>

<mx:verticalAxis>
  <mx:LinearAxis labelFunction="defineSaldo"/>
</mx:verticalAxis>
  <mx:verticalAxisRenderer>
    <mx:AxisRenderer showLine="true" styleName="verticalAxisStyle">
    <mx:axisStroke>
      <mx:Stroke color="#cccccc" weight="3" alpha=".75"/>
    </mx:axisStroke>
  </mx:AxisRenderer>
</mx:verticalAxisRenderer>
</mx:LineChart>


Reply via email to