Show empty cells as Gaps in Chart

Is there a way to show empty cells in a series as gaps in a line chart? 


1 Reply

RS Ramya Sivakumar Syncfusion Team March 17, 2022 03:51 PM UTC

Hi Jason, 

Greetings from Syncfusion. 

In XlsIO, the empty cell values in the chart series are displayed as gaps. You can also use the following code snippet to set the empty values as gaps in the chart series. 

Code Snippet: 
chart.DisplayBlanksAs = ExcelChartPlotEmpty.NotPlotted; 

Please check the sample and let us know if this is helpful. 

Regards, 
Ramya. 


Loader.
Up arrow icon