Missing chart legend item marker

2 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Dec 2011

    Posted 07 Dec 2011 Link to this post

    Hello

    I am using  ChartLegendStyle and ChartLegendItemStyle available from http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-chart-legend.html.
    I have also set ChartLegendStyle -> LegendItemStyle to be ChartLegendItemStyle.

    However once I apply it, the marker on the chart legend item doesn't get rendered anymore. Am I missing something?


    Thanks,
    David
  2. Nikolay
    Admin
    Nikolay avatar
    397 posts

    Posted 09 Dec 2011 Link to this post

    Hi David,

    There are 3 Path items in the sample code, which have an empty Data property, you would need to set them this way :
    <Path.Data>
    <PathGeometry x:Name="PART_ItemMarkerGeometry" />
    </Path.Data>
    <Path.Data>
    <PathGeometry x:Name="PART_ItemMarkerMaskGeometry" />
    </Path.Data>
    <Path.Data>
    <PathGeometry x:Name="PART_ItemMarkerMaskGeometry2" />
    </Path.Data>

    We will update our help topic as well.

    All the best,
    Nikolay
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top