4 Answers, 1 is accepted
0
Hi Natália,
Here is a sample code snippet that demonstrates the desired customizations:
Hope this helps.
Greetings,
Freddie
the Telerik team
Here is a sample code snippet that demonstrates the desired customizations:
LineSeriesDefinition definition =
new
LineSeriesDefinition();
definition.Appearance.PointMark.Shape = MarkerShape.Triangle;
definition.Appearance.PointMark.Fill =
new
SolidColorBrush(Colors.Yellow);
definition.Appearance.PointMark.Stroke =
new
SolidColorBrush(Colors.Red);
Hope this helps.
Greetings,
Freddie
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Natália
Top achievements
Rank 1
answered on 12 Aug 2010, 12:46 PM
Thanks for the reply.
I can do in XAML code too?
thanks...
I can do in XAML code too?
thanks...
0
Natália
Top achievements
Rank 1
answered on 12 Aug 2010, 08:18 PM
I created the chart using SeriesMappings and did everything in XAML, I wanted to customize the Points, but have not found a way to use MarkerShape in XAML.
thanks...
= ]
thanks...
= ]
0
Hi Natália,
Here is the XAML equivalent (note that you need to upgrade to the latest version 2010.2.812 released yesterday as the previous version has a known issue with setting appearance settings declaratively):
Hope this helps.
Best wishes,
Freddie
the Telerik team
Here is the XAML equivalent (note that you need to upgrade to the latest version 2010.2.812 released yesterday as the previous version has a known issue with setting appearance settings declaratively):
<
telerik:RadChart
x:Name
=
"RadChart1"
>
<
telerik:RadChart.SeriesMappings
>
<
telerik:SeriesMapping
>
<
telerik:SeriesMapping.SeriesDefinition
>
<
telerik:LineSeriesDefinition
>
<
telerik:LineSeriesDefinition.Appearance
>
<
telerik:SeriesAppearanceSettings
>
<
telerik:SeriesAppearanceSettings.PointMark
>
<
telerik:PointMarkAppearanceSettings
Fill
=
"Yellow"
Stroke
=
"Red"
Shape
=
"Triangle"
/>
</
telerik:SeriesAppearanceSettings.PointMark
>
</
telerik:SeriesAppearanceSettings
>
</
telerik:LineSeriesDefinition.Appearance
>
</
telerik:LineSeriesDefinition
>
</
telerik:SeriesMapping.SeriesDefinition
>
<
telerik:ItemMapping
FieldName
=
"YValue"
DataPointMember
=
"YValue"
/>
</
telerik:SeriesMapping
>
</
telerik:RadChart.SeriesMappings
>
</
telerik:RadChart
>
Hope this helps.
Best wishes,
Freddie
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items