We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

date ranges with no data in the Essential charts

Thread ID:





76538 Sep 11,2008 02:46 PM UTC May 23,2012 12:46 PM UTC WinForms 5
Tags: Chart
Faisal Memon
Asked On September 11, 2008 02:46 PM UTC


I have 4 series in a chart with date-time on x-axis and prices on y-axis.

My problem is that I have data for date-time 7:00 am to 5:00 pm, then no data till next day's 7:00 am.

In the chart, if I plot 2 or more days, the chart gives me a long straight line for the date-time 5:00 pm to 7:00 am between each day.

Can I tell the chart to omit these time ranges with no data available?

In Excel, it is taken care of.

Faisal Memon
Replied On September 12, 2008 06:43 PM UTC

any feedback on this issue, please?

Manohari [Syncfusion]
Replied On September 14, 2008 05:58 PM UTC

Hi Faisal,

We regret very much for the delayed response.

It is possible to disallow rendering of line at certain point by specifying the IsEmpty property of the Point to true.


series.Points[7].IsEmpty = true;

I have attached a sample that illustrates the same in this link below.


Kindly let us know if this meets your requirements. Thanks for your patience.


Faisal Memon
Replied On September 15, 2008 02:48 PM UTC

Hi Manohari,

Thanks for your reply and suggestion.
However, it doesn't solve my problem. I would like to omit the range on x-axis (datetime) for which I don't have any data.

So, let's say I have this data range,

1) Thursday 7:00 am - 5:00 pm
2) Friday 7:00 am - 5:00 pm
3) Saturday (no data)
4) Sunday (no data)
5) Monday 7:00 am - 11:00 am

Now, in my chart I want to see the data from Thursday to Monday. with no chart line/space shown for the time-period that I don't have any data.
So, in this case, the x-axis will not show ticks for the interval 5:00 pm to 7:00 am on Thursday/Friday... no ticks for Saturday/Sunday...

So the chart is continuous without ugly gaps (with or without a line)...

Can we manipulate the x-axis range to get this?

This functionality is already available in excel, I think.

Thanks & regards,
Faisal Memon

Manohari [Syncfusion]
Replied On September 16, 2008 12:54 PM UTC

Hi Faisal,

Thanks for the additional information and sorry for misunderstanding your requirement.

We regret to inform you that currently we do not have support for hiding the ChartSeries without any gap between points. However we have created a Feature request in this regard and have forwarded it to our Development Team. We will get back to you regarding the timeline for implementing this feature with in a week.

Kindly let us know if you need any other information. Thanks for your patience.


Thomas Abele
Replied On May 23, 2012 12:46 PM UTC

Hi Manohari,

is this feature in the meanwhile implemented?

Thanks & Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon