I am capturing the mouse down event so that the user can not resize the thumb slider by clicking on the horizontal scale part of the thumb slider. I need to have the user be able to grab and slide the thumb when it is zoomed into a level where the user can not grab the slider. See attached document* file includes xaml i have in the designer class.
Hello Pete,
After looking into this reuqirement and doing some research, it has been determined to be a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at <http://ideas.infragistics.com>.
There are many benefits to submitting an product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thank you for contacting Infragistics.
I am still struggling with this issue. is there any work around you can think of. It is a requirement that i zoom as deeply into the data as i am, this is causing the zoombar to size below its minimum. Is there a way i could tell that it was done moving and re run my code that programatically changes its size, in effect rezooming to the level i need to.
Hi Pete,
Thank you for your feedback. The minimum value depends on the thumb width. In the attached sample application(DataChartZoomBarSync.zip) the maximum allowed range is calculated like :
double maxAllowedRange = 20 / zoombarTrackElement.ActualWidth;
Let me know, if you need any further assistance on this matter.
So it is not possible to zoom as deeply as i want into the data? Can you tell me the minimum value?
I have received a response from our development team and the XamZoomBar has a minimum zoom level it can present, because it is not allowed to collapse the thumbs past the point where they are grabbable. If you zoom past this point through another means (like mousewheel) and then interact with the zoombar, you will be returned to a zoom level that the zoom bar can represent. If you tried to do otherwise, the zoombar would come unsynced with the chart's state.
In order to prevent this behavior you could set a minimum zoom level on the chart to prevent it from zooming past the minimum range allowed by the XamZoomBar.