I have a LineChart
that contains multiple series, both LineSeries
and PlotSeries
, and I have a custom dataTipFunction
set for the chart. However, I only want data tips displayed for line series, not the plot series. I have tried returning null
from my format function, but that just displays an empty box. I have also tried disable mouse events on the plot series (by setting both mouseEnabled
and mouseFocusEnabled
to false
), to no avail. Is this even possible?
You can set the interactive
property of a *Series to 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>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With