radChart braks after upgrading to new version (q2 release)

3 posts, 0 answers
  1. Bonas Khanal
    Bonas Khanal avatar
    3 posts
    Member since:
    Jun 2009

    Posted 29 Jul 2009 Link to this post

    the chart was working fine on q1. I saw the release notes and it talks about Axis.DefaultFormat , SeriesDefinition.DefaultFormat and SeriesDefinition.ToolTipFormat.
    Fixed those.. Here are the issues I have after I fixed those (if I had referenced them).
    I have a stack bar chart.
    1. RadChart1.DefaultView.ChartArea.AxisX.TickPoints doesn't make correct number of tickpoints. Before I had a dataseries with 10 items.. it had 10 tickpoints, now it is just random..
    2. Tickpoint.Label doesn't work. I tried LegendLabel it didn't help either.
    3. If i have only one item in the chart..it show really small in the chart...


    Thank you
    Bonas...
  2. Bonas Khanal
    Bonas Khanal avatar
    3 posts
    Member since:
    Jun 2009

    Posted 29 Jul 2009 Link to this post

    I think RadChart1.DefaultView.ChartArea.DataSeries.Clear();
    is not clearing up the tick point details.

    I tried RadChart1.DefaultView.ChartArea.AxisX.TickPoints.Clear();
    This doesn't work either.

    I have a radchart, which I customize for different conditions... on drilling down the grid.
  3. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 03 Aug 2009 Link to this post

    Hello Bonas Khanal,

    There are several changes that we introduced with Q2. First of all, TickPoints are not entirely decoupled from the data series. The tickpoints of the XAxis are maintained by the axis, and are entirely dependent on the axis range (minvalue, maxvalue, step). The axis can attempt to automatically determine the range using heuristics and analyzing the data series (default behavior) or you can manually set the range using AxisX.AutoRange = false and setting the min, max and step manually. When you set the range manually the tick points will only be created once. If you are using AutoRange=true then the chart will try to accommodate different number of labels on the XAxis according to the physical width available. This behavior will dynamically recreate tickpoints while resizing.

    Last but not least, you may want to consider using our new axis feature - categories.  It is a convenient way to let RadChart manage your XAxis labels automatically.

    Hope this helps.

    Kind regards,
    Vladimir Milev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top