Is there a way to always show the end labels. It goes missing when zoomed in
When zoomed
Hello,
its may be because you have interval set on the YAxis?
In order to understand the nature of the issue I need more information or possibly a sample application reproduce the issue for further investigation.
Thank you.
Tried to upload a sample application. Ran into issues.
Pretty much the same sample app that's in this thread.
(XamDataChartMarker.zip)
Set the XamDataChart properties as below.
IsHorizontalZoomEnabled="True" IsVerticalZoomEnabled="True"
https://es.infragistics.com/community/forums/f/ultimate-ui-for-wpf/74223/xamdatachart-axis-title-issue/387947#387947
I downloaded sample from the post ,enabled horizontal and vertical zooming and the point 0 is missing is expected because point is going out off the view while zooming.
Zooming depend on the cursor position ,try to click little further on y Axis and zoom it ,you will notice label 50 will also go out of the view .
Thanks for the update. Is there a way to make the end labels always visible with the new value.
Not sure what you mean by 'visible with the new value' , kind of this is what happen ,you keep zooming would update it with the data points coming into the view. If you wants to limit the zoom then you can refer to this post ,rob provided more info:
https://es.infragistics.com/community/forums/f/ultimate-ui-for-wpf/107275/maximize-set-the-limit-on-zoom-customize-behavior-of-x-axis-labels
So here is my sample , i tried to workaround it like i explained above ,and able to resolved annotation overlapping
also. Although i dont see it looking exactly like your video but very close.
To have this feature inbuit you would have create a feature idea for future version at:https://es.infragistics.com/community/ideas/i/ultimate-ui-for-wpf
XamDataChartMarker.zip
Actually these are the start labels you are talking about .
There is no built in and easy way to show these start labels all the time and show the zoomed in / out new values.
Although I am trying to workaround the requirement by using two Axis annotation each for xAxis and YAxis.
when the zoom level changes on the chart you can see what visible max/min on the axis are and then update these two axis annotations on the axis to match .
Trying to setup a sample , but sample still has some correction needed like my axis value is overlapping with the annotation, I am working on it and would provide you the sample as soon as i am done.
Please see attached.
The end labels are always showing/visible when zoomed in or out with the new value. Was wondering if such behavior can be achieved.