I am trying to set the FontFamily for the point label on my chart. I have copied the default style for the SeriesItemLabel using ExpressionBlend and have named it DefaultSeriesItemLabelStyle. I created two styles based on this style, RairSeriesItemLabelStyle and RairDarkTextSeriesItemLabelStyle:
I have set them on two LineSeriesDefinitions on my chart, but while the text color changes to match the foreground color, the font family does not change. How can I change the font family for the point labels?
<
Style
x:Key
=
"RairSeriesItemLabelStyle"
TargetType
=
"telerik:SeriesItemLabel"
BasedOn
=
"{StaticResource DefaultSeriesItemLabelStyle}"
>
<
Setter
Property
=
"FontFamily"
Value
=
"Tacoma,Arial"
/>
</
Style
>
<
Style
x:Key
=
"RairDarkTextSeriesItemLabelStyle"
TargetType
=
"telerik:SeriesItemLabel"
BasedOn
=
"{StaticResource RairSeriesItemLabelStyle}"
>
<
Setter
Property
=
"Foreground"
Value
=
"#333"
/>
</
Style
>
I have set them on two LineSeriesDefinitions on my chart, but while the text color changes to match the foreground color, the font family does not change. How can I change the font family for the point labels?