Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
ContextMenu on Axis


I'm trying to set a simple context menu for an Axis within a XamDataChart:

<ig:XamDataChart Grid.Column="0" Grid.Row="1" x:Name="ColumnChart" Legend="{StaticResource Legend}" Padding="10" HorizontalZoomable="True"                  

                         HorizontalZoombarVisibility="Collapsed" VerticalZoomable="True" VerticalZoombarVisibility="Collapsed" >

           <ig:NumericYAxis x:Name="ColumnYAxis" MinimumValue="0" Interval="1" Label="{}{}">
                          <MenuItem Header="Hola"></MenuItem>
           <ig:CategoryXAxis x:Name="ColumnXAxis" ItemsSource="{Binding Path=Cat, Source={StaticResource EnergyProductionCollection}}">

But when I right-click on the axis is not triggering. I tried attaching to the ContextMenuOpening event but it's not being triggered either. Could it be overriden by another event from another part of a control?

Thank you very much.


Parents Reply Children
No Data