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

Chart , 2 Y-axes, Legend

3 Answers 66 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 08 Aug 2011, 06:04 PM
Hi, hope you can help me here. I have a chart with two series. The chart has two y-axes. I can't for the life of me get the legend for either series to display. I'd like them both displayed. They displayed fine when I had 2 series but only 1 y axis.

Could you give me an example please?

Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 10 Aug 2011, 09:08 AM
Hello Chris,

Please check this example and let us know whether this helps you.

Greetings,
Sia
the Telerik team

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

0
Chris
Top achievements
Rank 1
answered on 10 Aug 2011, 04:09 PM
Thanks, that's great, but too complicated for me and I'm a bit short of time. Do you have a simpler example?   Or can you extend what I have below?

<telerik:ChartDefaultView>
                    <telerik:ChartDefaultView.ChartLegend>
                        <telerik:ChartLegend x:Name="chartLegend"
                                             Header="Legend"
                                             UseAutoGeneratedItems="True"/>
                    </telerik:ChartDefaultView.ChartLegend>
0
Sia
Telerik team
answered on 15 Aug 2011, 04:38 PM
Hi Chris,

Please check the attached sample project which I have prepared for you.

Regards,
Sia
the Telerik team

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

Tags
Chart
Asked by
Chris
Top achievements
Rank 1
Answers by
Sia
Telerik team
Chris
Top achievements
Rank 1
Share this question
or