Change definition programmatically?

2 posts, 0 answers
  1. Enill
    Enill avatar
    41 posts
    Member since:
    Apr 2010

    Posted 16 Apr 2010 Link to this post

    Hi,
    is it possible to change the definition of a chart programmatically?

    I tried to change the definition from button a with:
    ---
    histo.DefaultView.ChartArea.DataSeries[0].Definition = new Pie3DSeriesDefinition();
    LayoutRoot.Visibility = Visibility.Visible; // Trying to force a refresh
    ---

    But it doesnt seem to work.

    Thanks in advance.

  2. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 21 Apr 2010 Link to this post

    Hi Enill,

    Thank you for reporting the issue, we will investigate it locally.
    In the mean time, as a work-around, I would suggest the following workaround: remove the series from the DataSeries collection, change the definition, then add it back to the collection.

    You have been awarded Telerik points for providing that information.

    Best,
    Joshua
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top