Hi Team,
Hope you are doing good.
I have plotted a scatter line series(3 horizontal lines) across the graph and wanted to have labels for the horizontal lines on the y axis scale as (93,80,87).
Can you please help me in doing that .
Also the below mentioned graph has a timer based progress that traverses across the x axis .I need auto scroll to happen when the blue line touches the minimum width of screen.
Can you help me with that ?
Xaml Code:
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" >
<ig:NumericXAxis.LabelSettings >
MaximumValue="{Binding MaxYAxisValue}" MinimumValue="{Binding MinYAxisValue}"> <ig:NumericYAxis.LabelSettings > Thickness="2" XAxis="{Binding ElementName=RawXAxisNum}" YAxis="{Binding ElementName=RawYAxis}" > Thickness="2" XAxis="{Binding ElementName=RawXAxisNum}" YAxis="{Binding ElementName=RawYAxis}"> Thickness="2" XAxis="{Binding ElementName=RawXAxisNum}" ToolTip="fdsd" YAxis="{Binding ElementName=RawYAxis}"> Thickness="2" XAxis="{Binding ElementName=RawXAxisNum}" YAxis="{Binding ElementName=RawYAxis}"> Thickness="2" XAxis="{Binding ElementName=RawXAxisNum}" YAxis="{Binding ElementName=RawYAxis}">
Thanks in advance for your outstanding support.
Regards,
Sridhar
Hello Sridhar,
Thank you for your post.
I have been investigating into this issue, and I believe I may need a little bit more information from you on this matter before I can really recommend a definite approach to this. Would it be possible for you to please provide some more information on the following?
1. Regarding the axis labels, I see that your current YAxis range stretches between 322 and 772 in your screenshot. In your description, you had mentioned that you wish to place Y Axis labels at 93, 80, and 87. Does this still hold true for the attached screenshot, or are the actual labels that you wish to show within the 322 - 772 range for that screenshot?
2. I would expect that the "auto-scroll" that you are referring to happens automatically when the blue lines touch the width of the screen, unless you have a Minimum/MaximumValue property set on the NumericXAxis that you are using. Are you setting these properties?
If you are setting the MaximumValue property on the NumericXAxis, the auto-scroll will not happen, as the values would then fall outside of the range of your defined maximum/minimum values for that axis. I imagine that the timer is incrementing the X-Values of these blue lines, and if this is the case, you can increment the maximum value of your X-Axis when the X-value reaches a value greater than the maximum value of your X-Axis.
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewAssociate Developer