Problem with AreaChart multiple custom data tips
I have a very annoying problem - I probably just don't understand how Renderers
work well enough or maybe it's something deeper.
I have a type="stacked" AreaChart component with for which I used
dataTipRenderer="<Renderers.MyRenderer>" and
dataTipMode="multiple"
The problem happens when I have a lot of data on a particular point, Flex
renders a tooltip for EACH value, which isn't so good becuase sometimes they
even go out of the screen.
What I want to do is FILTER the datatips for the series points that have a 0
value.
My Data Provider looks someting like this (for example if I have two stacked
series):
<GRAPH>
<SLICE caption="" id="1"
date="20080911164030"><POINT1>10</POINT1><POINT2>5 </POINT2></SLICE>
<SLICE caption="" id="2"
date="20080911164035"><POINT1>10</POINT1><POINT2>0 </POINT2></SLICE>
:
:
</GRAPH>
On this example, When I hover my mouse on the 2nd tick's tip, I want Flex to
only render POINT1 , not POINT2 (or other POINTs that have a value of 0).
Any ideas?
|