I aam controlling the zoom using a dropdown. i would like to know how to disable changing the size of the zoombar thumb slider bar but still allow the user to move the bar left to right using the scroll buttons.
thanks
Also i need to tie the left and right arrows to the scroll buttons, meaning if i press the left arrow key it works the same as clicking the left scroll button on the xamzoombar
One more question, is it possible to click on a chart and know where the click occured? I want to zoom based on a list of durations i have. I want to click and zoom to the next shortest duration in my list, however i would like to do this and center to where the click occured.
Example,
I am zoomed into an hour time frame between 1 and 2 oclock. i click on the xamdatachart, my next shorter duration is 30 minutes. If i would click directly on 1:30 i would want my 30 minute duration to show from 1:15 to 1:45.
This is nearly perfect. I have one further question though. How could i shrink the preview xamdatachart and just show the time axis. everythign is functioning perfectly except all i want to show are the date timestamps in the xamzoom.
Thanks again
basically i just want to shrink the xamdatachart to about half its size and not show the y axis or its values
Pete,
The YAxis of the LineSeries in the preview data chart could not be set and the numeric axis will not be displayed. Please note that this will only remove the y values but will not change the height of the area where series are displayed. You could set the Location of the LabelSettings to OutsideTop and then set the Height of the chart to smaller value. In the attached sample it is 25. This will show the labels and a thin line of the WindowRect area.
Please feel free to let me know if you have any other questions regarding this.
how can i get the location of a click on the zoombar and move my zoom to that position, keeping it in sync with the datacharts. I need to be able to click on a spot on the preview data chart in my zoombar and have the slider move there and also have the datachart above show the correct information
Hello Pete,
I have been looking into your scenario and it currently this functionality is not available with XamZoombar. SmallChange and LargeChange properties could be set in order to control the steps the thumb is moved. Please note that the thumb has defined width and it is not possible to place it at a random position where the user had clicked. When user clicks on the bar the thumb is moved using the LargeChange step. If the thumb should be places precisely, the user could drag and drop the thumb at particular position.