The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
When I want to display absolutely no data at all, I have tried Chart.series.clear, thinking that this would remove all series and show an empty chart. instead, this shows the default series that you see at design time.
How do i clear the chart to make it display nothing? thanks.
MAManohari Syncfusion Team August 20, 2008 01:18 PM UTC
Hi Robert,
It is possible to disable the default Series which is created when the Series are cleared by setting the AddRandomSeries property of the ChartControl to false.
Example:
this.ChartControl1.AddRandomSeries = false;
Kindly let us know if this meets your requirement. Thanks for your patience.
Regards, Manohari.R
SESvein Erik HopenSeptember 19, 2008 10:02 AM UTC
I have the same problem, but can't find the AddRandomSeries property. I am running v4.4.0.51
>Hi Robert,
It is possible to disable the default Series which is created when the Series are cleared by setting the AddRandomSeries property of the ChartControl to false.
Example:
this.ChartControl1.AddRandomSeries = false;
Kindly let us know if this meets your requirement. Thanks for your patience.
Regards, Manohari.R
MAManohari Syncfusion Team September 24, 2008 06:45 PM UTC
Hi Svein,
We regret for the delayed response. It is possible to display Empty chart in version 4.4.0.51, by using the following overload constructor while instantiating the chart.
public ChartControl(bool addRandomSeries);
Example:
this.ChartControl1 = new ChartControl(false);
Kindly let us know if this meets your requirement. Thanks for you patience.