Select to view content in your preferred language

Chart in popup

770
2
Jump to solution
02-12-2013 04:19 AM
PetraKrsnik
Emerging Contributor
I'm using uncompiled version of Flex 3.0, so I hope I???m posting in right forum. I have charts in my popup windows. Data populating charts has a range of values:
- Positive values,
- Zeroes ??? indicating that measured parameter was not present, and
- No data (empty), indicating there was no measurement at that date.
No problem so far.

My problem is here:
I have enabled showDataTips in PopUpMediaBrowserSkin.mxml. showDataTips now shows no data values as zeroes. Is it possible to exclude those »no data« values from not showing in data tip?

Thank you,
Petra
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Andréde_Mattos_Ferraz
Deactivated User
Example:
//Visual element <mx:BarChart id="myChart"          dataProvider="{expenses}"          showDataTips="true"          dataTipFunction="dtFunc">  //Function public function dtFunc(hd:HitData):String {         if (hd.item.Value == 0)             return "No value"      } 


I'm using uncompiled version of Flex 3.0, so I hope I???m posting in right forum. I have charts in my popup windows. Data populating charts has a range of values:
- Positive values,
- Zeroes ??? indicating that measured parameter was not present, and
- No data (empty), indicating there was no measurement at that date.
No problem so far.

My problem is here:
I have enabled showDataTips in PopUpMediaBrowserSkin.mxml. showDataTips now shows no data values as zeroes. Is it possible to exclude those »no data« values from not showing in data tip?

Thank you,
Petra

View solution in original post

0 Kudos
2 Replies
Andréde_Mattos_Ferraz
Deactivated User
Example:
//Visual element <mx:BarChart id="myChart"          dataProvider="{expenses}"          showDataTips="true"          dataTipFunction="dtFunc">  //Function public function dtFunc(hd:HitData):String {         if (hd.item.Value == 0)             return "No value"      } 


I'm using uncompiled version of Flex 3.0, so I hope I???m posting in right forum. I have charts in my popup windows. Data populating charts has a range of values:
- Positive values,
- Zeroes ??? indicating that measured parameter was not present, and
- No data (empty), indicating there was no measurement at that date.
No problem so far.

My problem is here:
I have enabled showDataTips in PopUpMediaBrowserSkin.mxml. showDataTips now shows no data values as zeroes. Is it possible to exclude those »no data« values from not showing in data tip?

Thank you,
Petra
0 Kudos
PetraKrsnik
Emerging Contributor
Thank you, I'll give it a try.

Best regards,
Petra
0 Kudos