Hi,
I am using a RadCartesianChart for displaying ScatteredLineSeries. Here is my Xaml.
<
telerik:RadCartesianChart.Behaviors
>
<
telerik:ChartPanAndZoomBehavior
DragMode
=
"Pan"
ZoomMode
=
"Both"
PanMode
=
"Both"
/>
<
telerik:ChartTooltipBehavior
/>
</
telerik:RadCartesianChart.Behaviors
>
How can i change the cursor on Zoom and Pan?
5 Answers, 1 is accepted
0
Hi Shilpa,
We are a bit unsure what your question is. Usually the cursor is associated with some element. For example, you may want the cursor to change when the mouse is over some Border element. Do you want to change the cursor when the mouse is over the plot area? Or perhaps when it is over the pan-zoom-bar? Please give us more details about this.
Regards,
Petar Marchev
Telerik
We are a bit unsure what your question is. Usually the cursor is associated with some element. For example, you may want the cursor to change when the mouse is over some Border element. Do you want to change the cursor when the mouse is over the plot area? Or perhaps when it is over the pan-zoom-bar? Please give us more details about this.
Regards,
Petar Marchev
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
Reilly
Top achievements
Rank 1
Veteran
answered on 01 Sep 2016, 06:15 PM
If I add the left mouse "key combination" to the ChartPanAndZoomBehavior.DragToZoomKeyCombination(), I'd really like to see the "hand" icon whilst panning. That is what is being asked here.
0
Hi Reilly,
Thank you for the clarifications. We do not have such a feature out-of-the-box, but it should be relatively easy to plug in such logic. I am attaching a small project that demonstrates a custom class with one attached property - PanCursor. Set this property to the chart and it should work as you expect.
Regards,
Petar Marchev
Telerik by Progress
Thank you for the clarifications. We do not have such a feature out-of-the-box, but it should be relatively easy to plug in such logic. I am attaching a small project that demonstrates a custom class with one attached property - PanCursor. Set this property to the chart and it should work as you expect.
Regards,
Petar Marchev
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Reilly
Top achievements
Rank 1
Veteran
answered on 02 Sep 2016, 09:15 AM
Petar,
That works very well! Thanks a lot!
It might be a new feature to consider: the ability to specify a cursor. Or including this behavior in the distribution.
Regards,
-John Reilly.
0
Hello Reilly,
You do have a point. I have logged this feature request here where you can vote and track its status. I have also update your Telerik points! Thank you!
Regards,
Petar Marchev
Telerik by Progress
You do have a point. I have logged this feature request here where you can vote and track its status. I have also update your Telerik points! Thank you!
Regards,
Petar Marchev
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.