Invisble point series

Thread is closed for posting
2 posts, 0 answers
  1. sfr
    sfr avatar
    38 posts
    Member since:
    Jul 2007

    Posted 13 Sep 2012 Link to this post

    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,
  2. Petar Kirov
    Petar Kirov avatar
    425 posts

    Posted 18 Sep 2012 Link to this post


    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.
Back to Top