Programming, Technology, Web Development, Whatever
Disable DataTip targets in Flex charts
After working on my new data visualization project at Grooveshark, I’ve been looking for a way to remove the DataTip “targets”, which I have considered calling “points”, “dots”, and “circles” in my search to turn these little things off.
In case you don’t know what they are, here’s a picture:

After trudging through the Flex SDK source code, turns out its a simple style setting for the ChartBase class. Now I feel silly…
var myChart:ColumnChart = new ColumnChart();
myChart.setStyle("showDataTipTargets",false);
or in MXML
<mx:ColumnChart showDataTipTargets="false"/>
| Print article | This entry was posted by Nathan on May 13, 2010 at 1:46 AM, and is filed under Flex. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |