This question is locked. New answers and comments are not allowed.
Hi,
i've recently updated my project with the Q2 release of RadControls for Windows Phone 7 (2011.2.712.1037) and i have an issue with the styling of a RadPieChart.
I have this following code:
Everything worked since the update, but now the PieSeries.Styles property became PieSeries.Style and accepts only a value. My problem is i want to set exactly those two colors to my two slices of pie and i don't know how to proceed. I've checked on the example project that's been installed with the Q2 package but it's compiled against an older version of the DLL.
Thanks
Stefano Driussi
i've recently updated my project with the Q2 release of RadControls for Windows Phone 7 (2011.2.712.1037) and i have an issue with the styling of a RadPieChart.
I have this following code:
<
chart:RadPieChart
Margin
=
"66,152,6,210"
d:LayoutOverrides
=
"Height"
>
<
chart:PieSeries
LabelOffset
=
"80"
ShowLabels
=
"True"
ItemsSource
=
"{Binding Series}"
>
<
chart:PieSeries.Styles
>
<
Style
TargetType
=
"Path"
BasedOn
=
"{StaticResource BasePieStyle}"
>
<
Setter
Property
=
"Fill"
Value
=
"#FF37FF00"
/>
</
Style
>
<
Style
TargetType
=
"Path"
BasedOn
=
"{StaticResource BasePieStyle}"
>
<
Setter
Property
=
"Fill"
Value
=
"Red"
/>
</
Style
>
</
chart:PieSeries.Styles
>
</
chart:PieSeries
>
</
chart:RadPieChart
>
Everything worked since the update, but now the PieSeries.Styles property became PieSeries.Style and accepts only a value. My problem is i want to set exactly those two colors to my two slices of pie and i don't know how to proceed. I've checked on the example project that's been installed with the Q2 package but it's compiled against an older version of the DLL.
Thanks
Stefano Driussi