How do I show an empty chart when I have no data?If I try to bind an empty data set I get a message in place of the chart that says "I need at least 2 columns and 1 row"
If I don't bind anything I get a message in place of the chart that says "Data Not available. Please call Ultrachart.data.databind()"
If there is no data I just want an empty chart and it's not obvious on how to do that.
Thanks
Ok, this is a dumb answer, but it should work. When loading the chart, check to see if there is data, and if not hide the chart completely, and replace it with an image of the chart where you've erased all the data lines. A real kludge, but should work.
Chuck Snyder
Please let me know if I can help you with anything else.
Hello Scott Snyder,
Thank you for your comments, we appreciate that you took the time to convey your comments and I assure you that we consider our customers comments very important to steering improvement at Infragistics products.
Also I can suggest you do log a product idea at http://ideas.infragistics.com, the Product Ideas site allows you to suggest new product features, new functionalities in existing products and controls, and even request new controls and products altogether. Members of the Infragistics Community then vote for the features and suggestions they want to see added to the products, resulting in the most popular features bubbling up to the top. When planning new releases, our Product Management team will look at the most popular features and use your feedback to prioritize upcoming work.
Let me know if I may be of further assistance.
That is unfortunate. I really don't like having in big red text that there no data to plot instead of the chart. It makes it look like there is an error in the page when there is not.
Hi,
When there is no data that can be used from the chart, it is not possible to show axis or lines. When the data source is null by design the chart is showing message that can be set from the property EmptyChartText. If the chart shows axis and lines, when the data source is null, this will confuse the end user if indeed there is data to be shown or not.