Empty point

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

5 Replies

MA Manohari Syncfusion Team 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



AD Administrator Syncfusion Team 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. J.Nagarajan Syncfusion Team 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



AD Administrator Syncfusion Team 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?









MA Manohari Syncfusion Team 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


Loader.
Up arrow icon