This is a migrated thread and some comments may be shown as answers.

Invisble point series

1 Answer 35 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
sfr
Top achievements
Rank 1
sfr asked on 13 Sep 2012, 03:35 PM
Hi there,

I am using the Telerik Ajax chart component to display two data series: the first series is a bar series showing some key figure values for specific points in time. The second series shows a target value for each key figure / bar. This is to illustrate whether each key figure value lies above or beneath the defined target value.

Therefore I created the second series as point series, defining the "point" as rectangle of 2px height and 25px width.

For some reasons sometimes the points of this second series seem to be invisible. You can see their label and debugging tells me that they should be visible but you just cannot see them. I used to set the rectangle height to 1px and when I was first facing this problem. So I changed it to 2px. My problem seemed to be solved. Now I found a use case where even the increased rectangle height does not solve the problem.

I am creating the series "manually" in code.

Can you think of any reason the described could happen? What may I be doing wrong?

Thanks a lot in advance,
Simone

1 Answer, 1 is accepted

Sort by
0
Petar Kirov
Telerik team
answered on 18 Sep 2012, 01:17 PM
Hi,

I believe that the problem you are experiencing is caused by the order in which you have added the ChartSeries to Series collection of the RadChart. This is because the RadChart draws the series in the order they are in the collection. So for example if the point series is before the bar series, it will be drawn first and then the bar series are drawn on top of the point series.

Rearranging the series should fix your problem.

If this is not the case, please provide a runnable project so we can reproduce it locally.
 
Kind regards,
Petar Kirov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Chart (Obsolete)
Asked by
sfr
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
Share this question
or