How to reset a chart

Hello,

I need to know how to reset a OlapChart to a initial state (without data).

Thanks!




3 Replies

GA Ganesan Syncfusion Team May 26, 2011 02:01 PM UTC

Hi,

Use the following code snippet in the Olap Report to reset the chart with the empty data.

olapReport.SeriesElements.Clear();
olapReport.CategoricalElements.Clear();

Thanks,
Ganesan



JP Jorge Pampin May 27, 2011 07:42 AM UTC

Hello,

But that doesn't reset visuality the chart. I need to set the chart empty.

Thanks.



GA Ganesan Syncfusion Team June 1, 2011 09:36 AM UTC

Hi Jorge,

Kindly open an incident mentioning the same query that you have posted in our forum so that we can deliver you the patch containing the fix for issue (resetting the OLAP Chart). Incident can be opened through Direct-Trac Developer Support System (<https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents>), were you can take advantage of the expertise of a dedicated support engineer and a guaranteed response time. Hope you will take advantage of this system as well. If you have already reported, please ignore this.

Note: Please ensure in the incident to specify the exact OLAP Charts platform (Silverlight/WPF/ASP.NET) in which you were working on.

Thanks,
Ganesan




Loader.
Up arrow icon