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,
I have been looking into your question and I assume that you use the XamZoomBart with our XamDataChart and the described behavior appears when zooming the XamDataChart. The best approach in this scenario would be to make the left and right horizontal scales invisible and to store a permanent min value for the range of the XamZoomBar. I am attaching a sample application(DataChartZoomBarSync.zip) that shows my suggestion.
Let me know, if you need any further assistance on this matter.
hiding the horizontal scales is working well, the problem i am encounting is as follows. I made the HorizontalThumbElement border 10,2. This allows me to zoom very deeply into my data and still see the collapsed thumb element. this works fine until i click on the collapsed element and drag it to a new location. when i do this it zooms back out abit. i guess i need to know how to move the slider without the range updating
Any ideas, really stuck on this one
Hi Pete,
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.
So it is not possible to zoom as deeply as i want into the data? Can you tell me the minimum value?
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.
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.