This is a migrated thread and some comments may be shown as answers.

Box Plot for ChartView

4 Answers 61 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
AshR
Top achievements
Rank 1
AshR asked on 02 Jul 2015, 01:49 PM

Hello,

I have read the post on modifying RadChart Candlestick to display the median and therefore be a Box Plot / Box Whisker. http://docs.telerik.com/devtools/wpf/controls/radchart/how-to/howto-create-scatter-errorbars-and-boxplot-series

I would like to achieve this same effect using RadChartView, as I would like the implicit styles that ChartView provide over Chart. 

Please could you provide guidance on how I should go about adding a median line to the candlesticks in RadChartView 

Many thanks in advance.

4 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 06 Jul 2015, 02:07 PM
Hello Ashley,

As you may noticed RadChartView also doesn't support this kind of visualization (box plot) out of the box. However, you can achieve this effect using a CandlestickSeries with a PointTemplat that contains a custom shape that draws a custom geometry. For your convenience I attached a sample project demonstrating this approach. Please give it a try and let me know if it works for you.

In addition you can take a look at the Box Plot Series feature request in our feedback portal where you can track the status of the feedback item.

Regards,
Martin
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
AshR
Top achievements
Rank 1
answered on 06 Jul 2015, 02:21 PM

Thank you Martin, that's exactly what I needed.

Also for the purposes of search engines finding this post (and not because I'm embarrassed by the typo) I mean to write 'box whisker' above and not 'box whisper' :)

0
Randy
Top achievements
Rank 1
answered on 09 Jan 2019, 04:18 PM
I know it's been a while since this was posted, but I wanted to tell you how incredibly helpful your solution was for me. My client needs to represent the "five-number summary" of statistical information for a dataset and my previous solution was to use an OHLC series to represent the quartiles and max/min numbers along with a Point series to represent the average, but that made for a very confusing time when it came to using labels. Your solution provides the standard box and whisker (or whisper if your Ashley) without the headache of two series per item. Pro-tip for others: you HAVE to use a stroke in the data template definition. If you don't, you won't see anything even though your template is working. You can also set stroke dash array and stroke thickness to really customize the look of your box and whisker plots.  Thanks for the great solution, Martin!
0
Martin Ivanov
Telerik team
answered on 11 Jan 2019, 11:39 AM
Hello Randy,

Thank you for your kind words. I am really happy to hear that the solution I've provided was useful.

As for the whisper, I don't know why I didn't fixed this back then. I guess I was too distracted by the shiny chart. Anyway, I've fixed it today.

Also, thanks for the pro-tip. I am sure that this will be very useful for anyone that hit this forum.

Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
ChartView
Asked by
AshR
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
AshR
Top achievements
Rank 1
Randy
Top achievements
Rank 1
Share this question
or