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.
I have a slight issue with the latest version of the chart control. When I clear the model of all series a "default" chart series appears... it is a brown bar graph with 6ish datapoints. As long as I have one chart series in the chart it automatically gets hidden. This is an issue as I have charts that I dynamic add and remove series to and sometimes I don't want any in the chart... and when the chart is empty I don't want this junk data to appear.
ADAdministrator Syncfusion Team March 3, 2008 09:23 PM UTC
Hi Jon,
Thank you for your interest in Syncfusion products.
In v.3.301.0.51, ChartControl.Series.Clear() clears the entire series in the chart model. But in the later versions from (v.5.2.0.25), the developers designed that the chart model must have a minimum of one series by default. ChartControl.Series.Clear() clears the series except the default one.
As explained above, in the current architecture of chart control, the chart model must have a minimum of one series by default. So the chart model always displayed one default chart series. This is expected behavior.