In the below xaml code the IsTabStop is set to false for the chart and series, but when tab key is pressed the tab navigation is still allowed on the chart and the series.
<ig:XamDataChart Background="White" Name="xamDataChart1" IsTabStop="False"> <ig:XamDataChart.Series> <ig:SplineSeries ValueMemberPath="Value" IsTabStop="False" x:Name="Series2" ItemsSource="{Binding Data2}" XAxis="{Binding ElementName=firstXAxis}" YAxis="{Binding ElementName=theYAxis}" /> <ig:SplineSeries ValueMemberPath="Value" IsTabStop="False" x:Name="Series1" ItemsSource="{Binding Data}" XAxis="{Binding ElementName=firstXAxis}" YAxis="{Binding ElementName=theYAxis}" /> </ig:XamDataChart.Series> </ig:XamDataChart>
Is there a way to handle the taborder index for the chart and series considering the option that the data for the series is fetched from database and binded in the codebehind?
Option to disable the tab navigation from code behind when not required?
e.g. xamDataChart1.IsTabStop = false; Series1.IsTabStop = false;Series2.IsTabStop = false;
Hello Prasad,
Thank you for your post! I have been researching your issue and have created small sample for you, named xamDataChartIsTabStop. In the sample I use the code snipped you have sent in your e-mail. What I can suggest is to set the IsTabStop property of the CategoryX and NumericY Axes to false too. Also you can create a style for the markers of the series and set the IsTabStop property for them too.
I have implemented this approach in the attached sample for you.
Please refer to the attached sample and feel free to let me know if you have any further questions on the matter.
Hello Gergana,
How can I completely disable the TabNavigation on the ChartControl at one instance rather than setting this at each level like CategoryX and NumericY and then setting the markers of the series?
Thanks and Regards,
Prasad
I have logged this behavior with our developers in our tracking system, with an issue ID of 136343. I have also created a support ticket on your behalf with number CAS-112134-W8X3R2 in order to link the development issue to it so that you are automatically updated when a Service Release containing your fix is available for download.
After contacting our development team this issue has been determined as ‘Not a bug’. In order to stop the keyboard navigation for the xamDataChart the KeyboardNavigation.TabNavigation property to ‘None’. I have modified the last attached sample with this functionality for you.
Please refer to the attached sample application and feel free to let me know if you have any further questions on the matter.
I am just checking your progress on the issue. Please do not hesitate to let me know if you have any further questions on the matter.