Programatically creating chart and legend

2 posts, 0 answers
  1. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 30 Jan 2012 Link to this post


    I am trying to create a chart programatically in Silverlight. I have 3 legends. At runtime i want to give some different name based on some condition to all the 3 legends. for this i am trying to achieve this in


    But TWO of the legend is getting updated. first legend is not at all getting updated. I reversed the order of SeriesMapping. in that case also the first legend is not getting updated.

    Please advise.
  2. Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 02 Feb 2012 Link to this post


    I am not sure what you mean by name of a legend. Is it the header text of the legend?

    I have created a small project to try to recreate your scenario and everything seems to be in order in my tests. I have attached the code so that you can examine it as well.

    If this issue continues to appear do send us a more thorough explanation on your problem. It would be of great help if you also provided us with your code and some snapshots of the desired output. 

    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top