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.
Pete,
I have modified the project so that a preview of the chart is displayed in the zoombar. This is achieved by creating new chart that is bound to the same data elements as the XamDataChart XamZoomBar is bound to. By default the whole date time range is shown. Would you please have a look at the attachment and let me know if this is what you are looking for or I have missed something in your scenario? Thank you.
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
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.
Thank you very much for all of your help, i have it all implemented and work as expected.
Thank you for your feedback Pete. I am glad that everything is working as you need now. I believe that this might be helpful for other users, too.