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

Binding ChartView to TimeBar.SelectedDatapoints from code behind?

1 Answer 37 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 09 Jul 2012, 11:31 AM
I have a timebar that contains a ChartView. Below that, I want to show another ChartView that shows the selection from the TimeBar in detail. It's like a master/detail scenario, similar to that in the demos. I need to build this from code behind and somehow I'm stuck. There's this SelectedPoints property in the TimeBar, can I use it for binding the details ChartView so that it updates as soon as you change the selection in the TimeBar? Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 11 Jul 2012, 10:40 AM
Hi Robert,

I am unsure what are the results you are after. The SelectedPoints property is a property of the ChartView and not the TimeBar. The TimeBar has no notion of points because it does not know its content. The time bar knows about selected start and end periods. Through these properties you can filter the data and pass it to the chart view (just as in this example).

If you need further assistance I will ask that you provide us with some snapshots of what you currently have and some drawings of what are the final results. You can also try to again explain what you are trying to achieve.

Kind regards,
Petar Marchev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ChartView
Asked by
Robert
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or