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

Empty point

Thread ID:

Created:

Updated:

Platform:

Replies:

74389 Jun 10,2008 03:35 PM UTC Aug 12,2008 10:49 AM UTC WinForms 5
loading
Tags: Chart
Sebastien GARNIER
Asked On June 10, 2008 03:35 PM UTC

Hi,

I want the same result like chart in chart.jpg without markers.

How can i do ?

I use already the IsEmpty property on point by the restult is like chart2 in chart.jpg.

Thanks





Chart_4cc49413.zip

Manohari [Syncfusion]
Replied On June 14, 2008 10:39 AM UTC

Hi Sebastien,

Sorry for the delayed response and thanks for the screen Shot. Could you please provide us with some more additional information on your requirement. In the attached screen shot, do you mean by "Results without marker" as "Continous line ignoring the empty points? Or do you mean lines without any custom points"?

Kindly let us know if you have any queries. We will be glad to assist you. Thanks for your patience.

Regards,
Manohari.R


Administrator [Syncfusion]
Replied On June 18, 2008 03:14 PM UTC

Hi,

I will try to explain what I want as result:

I want my curve looks like dotted line

For example : a series with 5 points

point 1 : hour = 00H00, value =10,empty=false
point 2 : hour = 01H00, value =10,empty=false
point 3 : hour = 02H00, value =?,empty=true
point 4 : hour = 03H00, value =10,empty=false
point 5 : hour = 04H00, value =10,empty=false

the first line in chart begin at 00H00 and finish at 01H00 (value 10)
the first line in chart begin at 03H00 and finish at 04H00
Between 01H00 and 03H00 i have no line

Like this _______ _______
00H00 01H00 03H00 04H00

I hope that is clearer

Thanks


J.Nagarajan [Syncfusion]
Replied On July 18, 2008 02:43 PM UTC

Hi Garnier ,

Sorry for the delay in getting back to you.

IsEmpty property is not working for the LineChart. You can draw another line series to achieve this behavior. Please refer to the attached sample that demonstrates this completely.

http://www.syncfusion.com/Product/uploads/LineChart_a49ab97d.zip

Please let me know if this helps.

Regards,
Nagaraj


Administrator [Syncfusion]
Replied On July 30, 2008 10:09 AM UTC


Hi,
Drawing another line series will not be a good solution : each drawn series will create a legend item, I don't want this.

My real problem is the following:
I read data continuously on devices (for example a temperature) through a network
I put the temperature in a database and display later the data in the series.
The problem I have is that the read can fail, in this case the user should see on the chart that the read failed and when.

How can I make that? Do you have any tricks?








Manohari [Syncfusion]
Replied On August 12, 2008 10:49 AM UTC

Hi Sebastien,

We regret very much for the delayed response. It is possible hide the line at the empty points by setting the IsEmpty property to true for the particualr ChartPoint.

Sample Code:

if (this.chartControl1.Series[0].Points[i].YValues[0] == 0)
{
this.chartControl1.Series[0].Points[i].IsEmpty = true;

}

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

http://websamples.syncfusion.com/samples/Chart.Windows/F74389/main.htm

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

Regards,
Manohari.R


CONFIRMATION

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.

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

;