Radar charts
Custom labelFunction for radarchart
I want to custom label when passing the mouse. I tested several alternative but I can not ... does anyone could give me an example of a function for labelFunction radarchart. Example: I want to change the 1.1 with another text and type a description of the category.
Hi, Setting the labelFunction property won't change datatips. You have to set the dataTipFunction on RadarChart class. Since RadarChart inherits from ChartBase class (Adobe charting), please look at http://livedocs.adobe.com/flex/3/html/charts_displayingdata_08.html in the section "Customizing DataTip values" to see how to change text of datatips. Hope this helps, Damien
SystemAdmin 110000D4XK 2010-10-11T11:05:59Z Hi, Setting the labelFunction property won't change datatips. You have to set the dataTipFunction on RadarChart class. Since RadarChart inherits from ChartBase class (Adobe charting), please look at http://livedocs.adobe.com/flex/3/html/charts_displayingdata_08.html in the section "Customizing DataTip values" to see how to change text of datatips. Hope this helps, Damien More... Thank you for help. I have resolve the problem and this is my solution : You are right <ilog:RadarChart minWidth="300" id="chart" width="100%" dataTipFunction="linearAxis_labelFunc" height="100%" dataProvider="{dataSource}" showDataTips="true" columnWidthRatio="0.8"> And the function is : private function linearAxis_labelFunc(item:HitData):String { var cd:RadarLineSeriesItem=item.chartItem as RadarLineSeriesItem; var nb:Number=Number(cd.dataNumber); var str:String=new String(); if (nb == 0.1) { str="No"; } else if (nb == 1.1) { str="Yes"; } str= RadarLineSeries(item.element).displayName; s="" + str+ "\n"; return s; }
Related Links
How to use showDataEffect in AS generated Radar?
Radar chart in the dotted line
Data Label
Can I set the MAX value in each category axis of radarchart?
Radar Chart of IBM ILOG Trial Version
Glow Effect on Radar Chart Line
Need help adding dynamic series to Radar Chart
Start at 90 not 0
Obtaining radar chart Linear Axis coordinates
Negative values ?
Disable datatip for some of the series...
Error updating radarchart
Change the orientation of the category label
Labels size
Customizing radar charts angular axis labels
Custom labelFunction for radarchart