Hi, I'm using version 12.1,and I encountered some problems about zoombar.
Please see details in the attached picture.
Thanks very much~~
Hello Charlie,
Thank you for your post. I have been looking into your requirements and I managed to adjust the XamZoombar control to the visual element of plot area of the XamDataChat by adding the zoombar to this element. It seems that there is no issue with the clicking on the data points of the XamDataChart.
I am attaching a sample application(DataChartZoomingElement.zip) that shows my approach.
Let me know, if you need any further assistance on this matter.
Hi Yanko,
Thanks! The xamZoomBar can draw left side and right side, can the top side and bottom side also support drawing?
Thank you for your post. I have been looking into your question and you could move the thumb of the XamZoombar up and down by setting the ‘Orientation’ property of the XamZoombar to “Vertical”.
Thanks for your quick response, maybe I didn't make myself clear, I want both vertical and horizon side can move.
I am just checking if you require any further assistance on the matter.
I'm not very clear about the question "xamzoombar cover the chart" in the solution you provided .
In your solution, you created the xamzoombar in the code-behind, but in my project, the xamzoombar is defined in the xaml page. So I try to modify the solution you provdeded to meet my requirement, but it didn't work, the dataChart is missing, only a zoomBar.
I have attached the modified solution. Please help.
Hi Charlie,
Thank you for your reply. Regarding your first post you are explaining that you would like to use the XamZoombar only for the plot area of the XamDataChart(without covering the labels area). This is why I suggested you insert the XamZoombar using code-behind in order to remove the canvas that holds the plot area, add the XamZoombar and after that add the canvas again. This functionality cannot be achieved using XAML only.
If you would like the XamZoombar to cover the entire XamDataChart, you need to remove the ‘Loaded’ event handler of the XamDataChart.