Hello Rahul,
In order to position point marks separated from the line series, you will need
ScatterSeriesDefinition. In this case you can re-template the scatter series and use Expression Blend to create pin point marks. Here is an example how to re-template the scatter series:
<
Style
x:Key
=
"CustomScatter"
TargetType
=
"telerikCharting:ScatterPoint"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerikCharting:ScatterPoint"
>
<
Canvas
x:Name
=
"PART_MainContainer"
>
<
telerikCharting:PointMark
x:Name
=
"PART_PointMark"
Canvas.Top
=
"{TemplateBinding StartPointY}"
PointMarkCanvasLeft
=
"{TemplateBinding PointMarkCanvasLeft}"
PointMarkCanvasTop
=
"{TemplateBinding PointMarkCanvasTop}"
ShapeStyle
=
"{TemplateBinding PointMarkShapeStyle}"
Style
=
"{StaticResource CustomStyle}"
Size
=
"{TemplateBinding PointSize}"
/>
</
Canvas
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"CustomStyle"
TargetType
=
"telerikCharting:PointMark"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerikCharting:PointMark"
>
<
Canvas
>
<
Path
x:Name
=
"PART_PointMarkPath"
Canvas.Left
=
"{TemplateBinding PointMarkCanvasLeft}"
Canvas.Top
=
"{TemplateBinding PointMarkCanvasTop}"
Style
=
"{TemplateBinding ShapeStyle}"
Width
=
"{TemplateBinding Size}"
Height
=
"{TemplateBinding Size}"
Stretch
=
"Fill"
Data
=
"M19.759212,32.546707 L22.357349,42.203297 L20.426031,42.722923 L17.827894,33.066338 z M12.734299,0.5 C17.704861,0.5 21.734299,6.0964408 21.734299,13 C21.734299,14.941626 21.415564,16.779858 20.8468,18.419266 L20.769459,18.629004 L21.019266,18.519783 C27.336531,15.819165 32.456192,15.108124 33.599651,17.078552 C35.12426,19.705788 29.002724,26.1052 19.926815,31.372034 C10.850907,36.63887 2.2574883,38.77869 0.73287749,36.151451 C-0.5058682,34.016823 3.3030376,29.39197 9.6430359,24.907684 L9.7812748,24.810713 L9.6397963,24.741503 C6.1936717,22.98901 3.7342985,18.393406 3.7342987,13 C3.7342985,6.0964408 7.7637358,0.5 12.734299,0.5 z"
RenderTransformOrigin
=
"0.588954529106497,0.253846776944442"
>
<
Path.RenderTransform
>
<
CompositeTransform
Rotation
=
"30.127"
/>
</
Path.RenderTransform
>
</
Path
>
</
Canvas
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
I hope this helps.
Kind regards,
Polina
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and
book your seat for a walk through all the exciting stuff we ship with the new release!