Unhandled Exception inside ChartLegendItem

2 posts, 0 answers
  1. Jeff Kershner
    Jeff Kershner avatar
    62 posts
    Member since:
    Aug 2009

    Posted 16 Sep 2010 Link to this post

    I am doing this to manually add a ChartLegendItem:

    ChartLegendItem cli = new ChartLegendItem();
    cli.Label = data.company;
    cli.MarkerShape = MarkerShape.Circle;
    cli.Foreground = chart.PaletteBrushes[i++];

    And I am getting an IE error:

     Unhandled Error in Silverlight Application Object reference not set to an instance of an object. at Telerik.Windows.Controls.Charting.ChartLegendItem.get_HoverScope()

    at Telerik.Windows.Controls.Charting.ChartLegendItem.OnMouseLeave(MouseEventArgs e)

    at System.Windows.Controls.Control.OnMouseLeave(Control ctrl, EventArgs e)

    at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

    Any suggestions?
  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 17 Sep 2010 Link to this post

    Hello Jeff Kershner,

    Indeed we must admit that there was a problem when hovering user-defined legend items in the Q2 2010 version of the control, but our developers have already addressed it and you can download the latest official service pack release to get the fixed version.

    Sincerely yours,
    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