Hi,
if you try to do something like this then a exception occure. Why?
if you try to do something like this then a exception occure. Why?
<
chart:RadChart
x:Name
=
"RadChart1"
>
<
chart:RadChart.DefaultView
>
<
charting:ChartDefaultView
ChartLegendPosition
=
"Top"
>
<
charting:ChartDefaultView.ChartLegend
>
<
charting:ChartLegend
x:Name
=
"PrimaryLegend"
Header
=
"Click on country to hide/show:"
LegendItemMarkerShape
=
"Square"
Foreground
=
"Black"
HeaderFontWeight
=
"Normal"
FontFamily
=
"Segoe UI"
/>
</
charting:ChartDefaultView.ChartLegend
>
<
charting:ChartDefaultView.ChartArea
>
<
charting:ChartArea
Padding
=
"5,10,20,5"
LabelFormatBehavior
=
"None"
LegendName
=
"PrimaryLegend"
>
<
charting:ChartArea.AxisY
>
<
charting:AxisY
ExtendDirection
=
"None"
/>
</
charting:ChartArea.AxisY
>
<
charting:ChartArea.DataSeries
>
<
charting:DataSeries
LegendLabel
=
"EU-27"
>
<
charting:DataSeries.Definition
>
<
charting:LineSeriesDefinition
ItemLabelFormat
=
"0.#"
>
<
charting:LineSeriesDefinition.LabelSettings
>
<
charting:LabelSettings
ShowConnectors
=
"True"
/>
</
charting:LineSeriesDefinition.LabelSettings
>
</
charting:LineSeriesDefinition
>
</
charting:DataSeries.Definition
>
<
charting:DataPoint
YValue
=
"30e30"
XValue
=
"1998"
/>
<
charting:DataPoint
YValue
=
"1"
XValue
=
"1999"
/>
</
charting:DataSeries
>
</
charting:ChartArea.DataSeries
>
</
charting:ChartArea
>
</
charting:ChartDefaultView.ChartArea
>
</
charting:ChartDefaultView
>
</
chart:RadChart.DefaultView
>
</
chart:RadChart
>