line chart series drill down

Thread is closed for posting
8 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 02 Apr 2008 Link to this post

    The drill down facility is not working for line chart series. How to achieve drill down functionality if I want the user to be redirected to different pages when they click on different line chart series?

    I have tried using RadChart1_Click event but its not working.
  2. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 03 Apr 2008 Link to this post

    Hello Rahul Khinvasara,

    We have addressed your inquiry in the other forum ticket you have opened on the same topic.


    Regards,
    Manuel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Matthew
    Matthew avatar
    18 posts
    Member since:
    Mar 2009

    Posted 22 Apr 2009 Link to this post

    Can you tell us where that other thread is. I cannot find it.
    I am trying to find out the point on a line series a user clicked
  5. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 24 Apr 2009 Link to this post

    Hello Matthew,

    The"other thread" turned out to be a private support ticket. Onto your question -- you can access the actual ChartSeriesItem which has been clicked is available from the event arguments send to the event handler:
    args.SeriesItem gets the ChartSeriesItem being clicked. When the chart is populated, you can set ChartSeriesItems' Name property in order to distinguish them in the Click event handler.

    Sincerely,
    Ves
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Matthew
    Matthew avatar
    18 posts
    Member since:
    Mar 2009

    Posted 24 Apr 2009 Link to this post

    Thanks.
    Can you confirm this works with a line chart?
    I changed the chart on your postback sample from a bar to a line and the postback stopped working.
    I assumed from that and other stuff on the forum that 'clicking on a line series postback event' is not supported.
    Or am I mistaken and there's ome other setting I need to change too?

    cheers

    Matt
  7. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 24 Apr 2009 Link to this post

    Hi Matt,

    Sorry for the misleading answer -- the click event for a line chart will work only for the pointmarks, which would be the actual clickable areas. If you do not need pointmarks, you can set their color to Transparent, so they will be invisible, but clickable. You can also define their size.

    ...
    <
    telerik:ChartSeries Type="Line" DataXColumn="Year" DataYColumn="Rev" Name="Years"
        <Appearance> 
            <PointMark Visible="True" Dimensions-AutoSize="false" Dimensions-Height="10" Dimensions-Width="10"
                <FillStyle MainColor="Transparent"></FillStyle> 
            </PointMark> 
        </Appearance> 
    </telerik:ChartSeries>
    ...


    Hope this helps.


    All the best,
    Ves
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Matthew
    Matthew avatar
    18 posts
    Member since:
    Mar 2009

    Posted 24 Apr 2009 Link to this post

    Thanks, that sounds great.
    I suppose, though, there will be a performance penalty if there are thousands of pointmarks

    Matt
  9. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 24 Apr 2009 Link to this post

    Hello Matthew,

    Unfortunately, that is correct. You can pre-filter the data before it is sent to chart or combine several data points into one ChartSeriesItem if feasible.

    Regards,
    Ves
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017