Binding ChartView to TimeBar.SelectedDatapoints from code behind?

2 posts, 0 answers
  1. Robert
    Robert avatar
    23 posts
    Member since:
    Jun 2012

    Posted 09 Jul 2012 Link to this post

    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!
  2. Petar Marchev
    Petar Marchev avatar
    968 posts

    Posted 11 Jul 2012 Link to this post

    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 >>

  3. DevCraft R3 2016 release webinar banner
Back to Top