Hi,
I have made the chart vertical by changing X axis alignment to left and Y axis alignment to bottom. After changing like this, im not able to resize the box annotation using all four resize adorners. Only two working, other two resetting Y1 value. below is the code snippet.
<s:SciChartSurface.Annotations>
<s:BoxAnnotation
x:Name="rangeBox"
AnnotationCanvas="AboveChart"
Background="Red"
ClipToBounds="False"
CoordinateMode="RelativeX"
DragDirections="YDirection"
IsEditable="True"
Opacity="0.3"
ResizeDirections="YDirection"
X1="{Binding TopDepth, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
X2="{Binding BottomDepth, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
Y1="0"
Y2="1"
YAxisId="Top" />
</s:SciChartSurface.Annotations>
<s:SciChartSurface.XAxis>
<s:NumericAxis
AutoRange="Once"
AxisAlignment="Left"
AxisTitle="Depth [ft]"
DrawMajorBands="False"
FlipCoordinates="{Binding FlipYAxis}"
TitleStyle="{StaticResource AxisTitleStyle}" />
</s:SciChartSurface.XAxis>
<s:SciChartSurface.YAxis>
<s:NumericAxis
AxisAlignment="Bottom"
BorderBrush="DarkGray"
BorderThickness="0,0,0,1"
DrawMajorBands="False"
DrawMajorGridLines="True"
Id="Top"
TickTextBrush="DarkGray"
TitleStyle="{StaticResource AxisTitleStyle}" />
</s:SciChartSurface.YAxis>
Can you please let me know what i’ve missed?
Thanks
-MK
- Sync Kumar asked 4 years ago
- last edited 4 years ago
- You must login to post comments
Hello Kumar,
Thank you for reporting this.
I managed to reproduce this issue on our side. I have logged it in our tracking system. It will be prioritized by the team and investigated based on its relevance.
However, I have noticed that you are using an outdated SciChart version. We recommend using the latest one. It has a lot of improvements since SciChart v5.x and new fixes are added to SciChart v6.x builds only as SciChart v5.x is no longer supported.
- Oleksandr Shvets answered 4 years ago
- You must login to post comments
Hello Kumar,
This issue has been fixed in the latest nightly build (v6.2.2.13345)
Attached is an example which references the latest build and show the fix.
Best regards,
Dmytro Herasymenko
SciChart WPF Developer
- Dmytro Herasymenko answered 4 years ago
- last edited 4 years ago
- You must login to post comments
Please login first to submit.