PDA

View Full Version : How to display empty message in Chart?



renganathan
10 Nov 2011, 1:19 AM
Hi all,

I want to display empty message in the charts when data is not available. How to display that message inside the panel?


Can u help me to achieve this ?


Thanks
Renga

mitchellsimoens
10 Nov 2011, 4:32 AM
You would have to handle this yourself... my favorite thing to do is mask the containing component with a LoadMask and then create and load a Store. When that Store loads unmask and if it has items, add the chart. If it doesn't have items, then update the container component with the empty message or add a Component to it with the empty message.

Tod
14 Jun 2012, 1:56 PM
Why not make it easier for us -- add a feature to specify an empty message, just like we get for grids.