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

What happened with chart's context menu?

1 Answer 122 Views
Chart
This is a migrated thread and some comments may be shown as answers.
RoxanaC
Top achievements
Rank 1
RoxanaC asked on 14 Oct 2011, 09:17 AM
Hello!
There are about six months since I've worked last time for a project that is using Telerik's dlls.
Now I have my hands back on it, and the first thing I tried to do was to update Telerik's libraries...
one thing I've noticed (and I bet there are others) is that my context menu for charts has disappeared - vanished - gone!
I'm now looking in your documentation and tutorials - and you are explaining how to add context menus to bars or other items in charts
but this is not the point! I had a general context menu for the entire chart that is now shown anymore when I'm right clicking the chart...

<telerik:RadChart Name="telerikChart" >
     <telerik:RadChart.DefaultSeriesDefinition>
         <Charting:ScatterSeriesDefinition />
     </telerik:RadChart.DefaultSeriesDefinition>
     <Controls:RadContextMenu.ContextMenu>
         <Controls:RadContextMenu x:Name="chartContextMenu">
             <Controls:RadMenuItem Name="miTooltipFormat"
                                   Header="Precision" />               
             <Controls:RadMenuItem Name="miXStrip"
                                   Header="X axis strip lines"
                                   IsCheckable="True"
                                   Checked="miXStrip_Checked"
                                   Unchecked="miXStrip_Checked"/>
             <Controls:RadMenuItem Name="miYStrip"
                                   Header="Y axis strip lines"
                                   IsCheckable="True"
                                   Checked="miYStrip_Checked"
                                   Unchecked="miYStrip_Checked" />    
             <Controls:RadMenuItem Name="miExport"
                                   Header="Export"
                                   Click="ctxExportMenuItem_Click"/>
         </Controls:RadContextMenu>
     </Controls:RadContextMenu.ContextMenu>
 </telerik:RadChart>

Is there something that I am missing here?

Thank you!
R

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 19 Oct 2011, 08:37 AM
Hello Roxana,

I created a sample project based on your code snippet with binaries version 2011.2.920 and the context menu appears as expected. Could you elaborate a bit more on this? With what version of our controls have you tried it? It will be best if you send us your runnable project where this reproduces so that we can inspect it locally (for the purpose you should open a new formal support thread since it's not possible to attach files in the forums)?

All the best,
Evgenia
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Chart
Asked by
RoxanaC
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or