Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from TeeChart to ScottPlot #134

Draft
wants to merge 57 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
a895e32
start switch from TeeChart to ScottPlot
jamaa Dec 21, 2023
7eeb26a
implement assignSeriesToAxis()
jamaa Dec 21, 2023
191b7d0
implement AddSeriesToOverview
jamaa Dec 21, 2023
9c0ce25
fix xaxis updates not being displayed
jamaa Dec 21, 2023
cb23b31
disable zoom and pan in overview chart
jamaa Dec 21, 2023
1575d13
implement ViewExtentRectangle for overview chart
jamaa Dec 21, 2023
448ae4c
set fixed Y axes bounds and reset all axes in FormatChart
jamaa Dec 21, 2023
54ead68
add some padding to Y axes min and max values
jamaa Dec 21, 2023
41b281b
use ScottPlot's inbuilt zoom and drag functionality and handle AxesCh…
jamaa Dec 21, 2023
12e19f1
restore previous custom zoom and pan implementation but with ScottPlot
jamaa Dec 21, 2023
4d8c5fc
make the ViewExtentRectangle an HSpan
jamaa Dec 21, 2023
04bc8c1
implement mouse events in overview plot
jamaa Dec 21, 2023
cdd3c6c
implement mouse wheel scroll in main chart
jamaa Dec 21, 2023
2de91f2
add a TOC panel to the main window, store chart series in order to be…
jamaa Dec 23, 2023
24194ae
fix right margin on charts, rename method
jamaa Dec 23, 2023
ee578d4
move buttons for activating/deactivating all series to TOC and implem…
jamaa Dec 23, 2023
212e920
implement series reordering from the TOC
jamaa Dec 23, 2023
133d7be
remove series reordering functionality from properties window
jamaa Dec 23, 2023
511e637
move button and functionality for deleting a series from property win…
jamaa Dec 23, 2023
3681199
handle series properties changed in the main chart and the TOC
jamaa Dec 23, 2023
a0fccdc
fix axis limits not being updated when assigning an additional series…
jamaa Dec 23, 2023
0f1599d
reset/remove unused axes when series units change
jamaa Dec 23, 2023
b285222
implement auto-adjustment of y axes
jamaa Dec 23, 2023
491fcd2
remove unused code related to TeeChart events
jamaa Dec 23, 2023
13beca3
implement displaying NaN values in main chart
jamaa Dec 23, 2023
6c669c2
clear TOC when series are cleared from model
jamaa Dec 23, 2023
3e4ab6d
remove unnecessary Me
jamaa Dec 23, 2023
71e02b9
implement removing NaN values from series
jamaa Dec 23, 2023
3aa88de
remove print button
jamaa Dec 23, 2023
b57c56c
implement copy chart image to clipboard, change main chart background…
jamaa Dec 23, 2023
422aef7
implement setting the color palette, add new color palettes Category1…
jamaa Dec 23, 2023
3ac2501
plottables in overview chart are now also stored, overview chart uses…
jamaa Dec 23, 2023
73ca36e
better axis scaling, hide currently unused axes
jamaa Dec 23, 2023
9bf3481
implement navigation to start/end
jamaa Dec 23, 2023
6f189b6
fix some chart refresh issues
jamaa Dec 23, 2023
60242fb
remove overview chart doubleclick event handling
jamaa Dec 23, 2023
504331f
fix some axis visibility issues
jamaa Dec 23, 2023
936585c
remove unused axes when series are removed
jamaa Dec 23, 2023
1b892a2
reset y axis limits when a series is removed
jamaa Dec 23, 2023
99c5827
update x axis extents when a series is removed
jamaa Dec 23, 2023
42a80c9
implement showMarkers
jamaa Dec 24, 2023
74b3140
rename variables
jamaa Dec 24, 2023
18a699b
make variables private
jamaa Dec 24, 2023
626d115
replace save chart (TEN) button with save image (PNG) button
jamaa Dec 24, 2023
0c3e922
remove axis dialog, add an edit chart dialog and start implementing t…
jamaa Dec 23, 2023
ca0c024
expose Axis object in order to be able to manipulate it in `SeriesAct…
jamaa Jan 3, 2024
c28aae4
implement analysis result chart
jamaa Jan 3, 2024
3bdd2e5
implement analysis result chart for Autocorrelation
jamaa Jan 3, 2024
126c269
implement analysis result chart for AnnualRecurrenceProbability
jamaa Jan 3, 2024
dd7307e
implement analysis result chart for Comparison
jamaa Jan 7, 2024
f9680d6
implement analysis result chart for DoubleSumCurve
jamaa Jan 7, 2024
d650357
implement analysis result chart for GoodnessOfFit (still some todos)
jamaa Jan 7, 2024
08bf063
implement analysis result chart for Histogram
jamaa Jan 14, 2024
4442505
implement analysis result chart for MonthlyStatistics
jamaa Jan 14, 2024
b6e00e2
better handling of months with no data in MonthlyStatistics result chart
jamaa Jan 14, 2024
b86853d
change type of Analysis.ResultChart to ScottPlot.Plot
jamaa Jan 14, 2024
d15a203
add ScottPlot reference to examples and tests, fix linestyle type
jamaa Jan 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/Examples.vb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Public Class Examples

'set some custom display options
ts.DisplayOptions.Color = Color.Red
ts.DisplayOptions.LineStyle = Drawing2D.DashStyle.Dash
ts.DisplayOptions.LineStyle = ScottPlot.LineStyle.Dash
ts.DisplayOptions.LineWidth = 1
ts.DisplayOptions.ShowPoints = True

Expand Down
5 changes: 5 additions & 0 deletions examples/Wave.Examples.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@
<Name>Wave</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ScottPlot.WinForms">
<Version>4.1.69</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
4 changes: 2 additions & 2 deletions source/Analysis/Analysis.vb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Friend MustInherit Class Analysis
''' is shown in a separate window if `hasResultChart` is True
''' </summary>
''' <remarks>Optional</remarks>
Protected ResultChart As Steema.TeeChart.Chart
Protected ResultChart As ScottPlot.Plot

''' <summary>
''' List of result series
Expand Down Expand Up @@ -144,7 +144,7 @@ Friend MustInherit Class Analysis
''' Analysis result chart
''' </summary>
''' <remarks>Optional</remarks>
Public ReadOnly Property getResultChart() As Steema.TeeChart.Chart
Public ReadOnly Property getResultChart() As ScottPlot.Plot
Get
Return Me.ResultChart
End Get
Expand Down
Loading