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

line chart series drill down

7 Answers 134 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Rahul Khinvasara
Top achievements
Rank 1
Rahul Khinvasara asked on 02 Apr 2008, 10:34 AM
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.

7 Answers, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 03 Apr 2008, 12:04 PM
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
0
Matthew
Top achievements
Rank 1
answered on 22 Apr 2009, 01:05 PM
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
0
Ves
Telerik team
answered on 24 Apr 2009, 01:43 PM
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.
0
Matthew
Top achievements
Rank 1
answered on 24 Apr 2009, 02:24 PM
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
0
Ves
Telerik team
answered on 24 Apr 2009, 03:17 PM
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.
0
Matthew
Top achievements
Rank 1
answered on 24 Apr 2009, 03:37 PM
Thanks, that sounds great.
I suppose, though, there will be a performance penalty if there are thousands of pointmarks

Matt
0
Ves
Telerik team
answered on 24 Apr 2009, 03:43 PM
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.
Tags
Chart (Obsolete)
Asked by
Rahul Khinvasara
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Matthew
Top achievements
Rank 1
Ves
Telerik team
Share this question
or