From b699eab1942314f7ce210ad7489ca23f8d4ccf40 Mon Sep 17 00:00:00 2001 From: Morten Nielsen Date: Fri, 31 Jul 2020 15:23:12 -0700 Subject: [PATCH] Use bitmap for rendering plot view + allow zoom + improve ui --- src/SampleApp.WinDesktop/PointPlotView.xaml | 38 +++-- .../PointPlotView.xaml.cs | 158 +++++++++++++----- 2 files changed, 139 insertions(+), 57 deletions(-) diff --git a/src/SampleApp.WinDesktop/PointPlotView.xaml b/src/SampleApp.WinDesktop/PointPlotView.xaml index 991b1f7..55362ad 100644 --- a/src/SampleApp.WinDesktop/PointPlotView.xaml +++ b/src/SampleApp.WinDesktop/PointPlotView.xaml @@ -4,11 +4,18 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:SampleApp.WinDesktop" + xmlns:sys="clr-namespace:System;assembly=mscorlib" mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800"> + + + 4 4 + .5 + + @@ -17,10 +24,10 @@ - - + + @@ -29,27 +36,28 @@ - - + - - - - - - + + + + + + - + - - + + + - -