SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
Hello
I Need some help within the composite annotation resizing.
I created a composite annotation based on the composite annotations example. I need to calculate the range between to vertical line on the surface, so I took the MeasurmentXAnnotation.xaml as base code of mine.
however i need to be able to resize the composite annotation not only from the 4 edges (ResizingGrips), but also when the user drag the line annotations to left or to right.
Is there any way to achieve this?
Best regard
I’m using boxAnnotation Object with some properties
I use
.withDragDirections(Direction2D.XDirection)
.withResizeDirections(Direction2D.XDirection)
for resize and drag only x direction
It looks like drag and resize only x direction but the box resize y direction a little bit
I do not use any special properties using boxAnnotation
use of course .withIsEditable for editing
.withPosition, .withBackgroundDrawableId
that’ it
and I also wonder when i declare new CustomIResizingGrip object with new Canvas
why withDragDirections, withResizeDirections dont work?