Hi,
I'm trying to draw a CustomLine on a add, I want it styled so it appears dashed.
I am creating the line in code here....
The style is then....
However it seems there isn't a StrokeDashArray property on CustomLine, what property should I be using, or how should I be achieving this.
I only wish to draw a simple line of identity on the chart, ie. x = y.
Thanks
I'm trying to draw a CustomLine on a add, I want it styled so it appears dashed.
I am creating the line in code here....
CustomLine line =
new
CustomLine();
line.Style = (Style)Application.Current.FindResource(
"DashedCustomLine"
);
line.Stroke = Brushes.Black;
line.StrokeThickness = 1;
line.YIntercept = 0;
line.Slope = 1;
The style is then....
<
Style
x:Key
=
"DashedCustomLine"
TargetType
=
"telerikCharting:CustomLine"
>
<
Setter
Property
=
"StrokeDashArray"
Value
=
"5,2"
/>
</
Style
>
However it seems there isn't a StrokeDashArray property on CustomLine, what property should I be using, or how should I be achieving this.
I only wish to draw a simple line of identity on the chart, ie. x = y.
Thanks