0

我有下一个代码

<mx:LineChart id="LEChart" width="900" height="600" 
                      showDataTips="true"  showAllDataTips="false"  
                      rollOver="lineChart_rollOver(event)"
                      rollOut="lineChart_rollOut(event)">                                       
            <!-- vertical axis -->
            <mx:verticalAxis>
                <mx:LinearAxis title="U/Uratedd" minimum="0.50" maximum="1.50"/>
            </mx:verticalAxis>

            <mx:horizontalAxis>
                <mx:LogAxis id="LE70" interval="10" minimum="1000"  maximum="1.0E7" title="Life expectancy(h)"/>
            </mx:horizontalAxis>

            <!--<mx:horizontalAxisRenderers>
                <mx:AxisRenderer axis="{LE70}" canDropLabels="true"/>
            </mx:horizontalAxisRenderers>-->                                        

            <mx:series>
                <mx:LineSeries dataProvider="{FlexGlobals.topLevelApplication.arrLE70}" yField="zx" xField="fx" form="curve" displayName="Profit"/>
                <mx:LineSeries dataProvider="{FlexGlobals.topLevelApplication.arrLE85}" yField="zx" xField="fx" form="curve" />
            </mx:series>    

        </mx:LineChart> 
        <mx:Legend dataProvider="{LEChart}" horizontalAlign="center" verticalAlign="middle"/>

我得到这张图 http://subfotos.com/ver/?e9e23ef45417b02a7f7f5bd582574788o.png

当我将鼠标放在它上时,是否可以仅在一个 lineerie 中显示所有数据提示?

提前致谢。

4

0 回答 0