Hi,
CompositeAnnotation works perfectly and easy to use, but I need it in MVVM. CompositeAnnotationViewModel looks the same, but it is not visible. This is my code:
AnnotationViewModels.Add(new CompositeAnnotationViewModel()
{
Annotations = new ObservableCollection<IAnnotationViewModel>()
{
new VerticalLineAnnotationViewModel
{
VerticalAlignment = VerticalAlignment.Stretch,
Stroke = Colors.Blue,
StrokeThickness = 2,
IsEditable = true,
StrokeDashArray = new DoubleCollection() { 2, 2 },
CoordinateMode = AnnotationCoordinateMode.Relative,
X1 = 0
},
new VerticalLineAnnotationViewModel
{
VerticalAlignment = VerticalAlignment.Stretch,
Stroke = Colors.Blue,
StrokeThickness = 2,
IsEditable = true,
StrokeDashArray = new DoubleCollection() { 2, 2 },
CoordinateMode = AnnotationCoordinateMode.Relative,
X1 = 1
}
},
IsEditable = true,
X1 = 3,
X2 = 5
});
What is my mistake?
- Alexander Erkabaev asked 6 years ago
- last edited 6 years ago
- You must login to post comments
Hi there,
Thank you for reporting this, I’m going to investigate this, will post you an update a bit later.
Best regards, Taras B.
- Taras Bulka answered 6 years ago
- You must login to post comments
Hi there,
I’m pleased to inform you that the issue has been fixed in the latest build #v5.1.1.11493. You can get it through our NuGet feed:
https://www.myget.org/gallery/abtsoftware
It needs 15 min to build on a build server.
Please try it out and let us know if the fix works for you too.
Hope this helps,
Best regards, Taras B.
- Taras Bulka answered 6 years ago
-
sorry, but the last version is still 5.1.1.11473 in the page by link
-
Taras has given you wrong link. As of July 2018 Nightly builds are now published to abtsoftware-bleeding-edge feed and official builds to abtsoftware feed. Please see https://www.scichart.com/nuget-feed-nightly-build-retention/ for instructions how to access. You’ll need to use specifically this build to get Taras’ fix https://www.myget.org/feed/abtsoftware-bleeding-edge/package/nuget/SciChart/5.1.1.11495
- You must login to post comments
Please login first to submit.