When I have a simple chartview that has a spike in it, the spike appears to go well above the value it is intended to represent. I'm guessing this is because the line gets vertically fatter as the slope is increased, and the value is considered on the "centerpoint" of the line. However, this can lead to extremely misleading charts.
I have attached an example where the value is supposed to be "1" but more appears to be about 1.05.
Mike
I have attached an example where the value is supposed to be "1" but more appears to be about 1.05.
Mike
7 Answers, 1 is accepted
0
Hello Michael,
You can play with the StrokeMiterLimit property of the path that draws the line. This can be achieved through the exposed StrokeShapeStyle property as follows:
Unfortunately this option will be available with our next official release which will be live this week.
Greetings,
Sia
the Telerik team
You can play with the StrokeMiterLimit property of the path that draws the line. This can be achieved through the exposed StrokeShapeStyle property as follows:
<
telerik:LineSeries
ValueBinding
=
"PurchasePrice"
CategoryBinding
=
"Name"
>
<
telerik:LineSeries.StrokeShapeStyle
>
<
Style
TargetType
=
"Path"
>
<
Setter
Property
=
"Stroke"
>
<
Setter.Value
>
<
SolidColorBrush
Color
=
"{StaticResource AccentColor}"
/>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"StrokeThickness"
Value
=
"2"
/>
<
Setter
Property
=
"StrokeMiterLimit"
Value
=
"1"
/>
</
Style
>
</
telerik:LineSeries.StrokeShapeStyle
>
</
telerik:LineSeries
>
Unfortunately this option will be available with our next official release which will be live this week.
Greetings,
Sia
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0

Michael
Top achievements
Rank 1
answered on 16 Oct 2012, 03:13 PM
Thanks, Sia.
Will this new property solve the problem? Won't the line still go above the represented y-axis value even when this is set?
Will this new property solve the problem? Won't the line still go above the represented y-axis value even when this is set?
0
Hello Michael,
Please check the attached image. The left chart is the one without having the mentioned style set and the second one is with it. The data is the same (the max value is 100). I think that this is your problem, please let me know it I am wrong.
All the best,
Sia
the Telerik team
Please check the attached image. The left chart is the one without having the mentioned style set and the second one is with it. The data is the same (the max value is 100). I think that this is your problem, please let me know it I am wrong.
All the best,
Sia
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0

Michael
Top achievements
Rank 1
answered on 17 Oct 2012, 03:09 PM
Hi Sia,
Yes, that looks like it completely solves the issue.
Looking forward to the new release.
Thanks!
Mike
Yes, that looks like it completely solves the issue.
Looking forward to the new release.
Thanks!
Mike
0
Hi Michael,
This is to let you know that our .1017 version is already available under your account.
Greetings,
Sia
the Telerik team
This is to let you know that our .1017 version is already available under your account.
Greetings,
Sia
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0

Iain
Top achievements
Rank 1
answered on 25 Nov 2013, 11:18 AM
I have the same issue but am using the ScatterLineSeries. Is there a fix using the ScatterLineSeries?
0
Hi Iain,
I have just tried to reproduce this issue with DLLs from our latest releease but to no avail. Please make sure you are using the latest version of our controls and try again. If the issue still persists, could you send us a runnable sample pointing out the issue. You can do that by either opening a support ticket thread or upload the project to a third party website for uploading and sharing files.
Regards,
Peshito
Telerik
I have just tried to reproduce this issue with DLLs from our latest releease but to no avail. Please make sure you are using the latest version of our controls and try again. If the issue still persists, could you send us a runnable sample pointing out the issue. You can do that by either opening a support ticket thread or upload the project to a third party website for uploading and sharing files.
Regards,
Peshito
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>