我有一个LineChart
包含多个系列,两者LineSeries
and PlotSeries
,而且我有一个习惯dataTipFunction
为图表设置。但是,我只想显示线系列的数据提示,而不是绘图系列。我尝试过返回null
来自我的格式函数,但只显示一个空框。我还尝试禁用绘图系列上的鼠标事件(通过设置mouseEnabled
and mouseFocusEnabled
to false
),无济于事。这可能吗?
您可以设置interactive
*系列的属性false
<mx:series>
<mx:LineSeries yField="Profit" form="curve" displayName="Profit"/>
<mx:LineSeries yField="Expenses" form="curve" displayName="Expenses"/>
<mx:LineSeries yField="Amount" form="curve" displayName="Amount"/>
<mx:PlotSeries yField="Amount" interactive="false"/>
</mx:series>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)