This is a migrated thread and some comments may be shown as answers.

Missing chart legend item marker

1 Answer 79 Views
Chart
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 07 Dec 2011, 08:11 AM
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

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 09 Dec 2011, 10:23 AM
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 >>
Tags
Chart
Asked by
David
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or