diff options
| author | Jacob Palecki <[email protected]> | 2021-01-18 22:02:29 -0800 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2021-01-18 22:02:29 -0800 |
| commit | 4faf0007c7c551fae8fd25fc7a98767070cb9244 (patch) | |
| tree | 9aec833ce5453ae853148c387410cb9b792c1e2e /grapher/Models/Charts/ChartState/ChartState.cs | |
| parent | Refactor for new graph calculation method (diff) | |
| download | rawaccel-4faf0007c7c551fae8fd25fc7a98767070cb9244.tar.xz rawaccel-4faf0007c7c551fae8fd25fc7a98767070cb9244.zip | |
Directional works
Diffstat (limited to 'grapher/Models/Charts/ChartState/ChartState.cs')
| -rw-r--r-- | grapher/Models/Charts/ChartState/ChartState.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/grapher/Models/Charts/ChartState/ChartState.cs b/grapher/Models/Charts/ChartState/ChartState.cs index 2a0325c..5a86713 100644 --- a/grapher/Models/Charts/ChartState/ChartState.cs +++ b/grapher/Models/Charts/ChartState/ChartState.cs @@ -39,13 +39,19 @@ namespace grapher.Models.Charts.ChartState internal bool TwoDotsPerGraph { get; set; } - public abstract void MakeDots(double x, double y, double timeInMs); + public virtual void MakeDots(double x, double y, double timeInMs) + { + Data.CalculateDots(x, y, timeInMs); + } public abstract void Bind(); public abstract void Activate(); - public abstract void Calculate(ManagedAccel accel, DriverSettings settings); + public virtual void Calculate(ManagedAccel accel, DriverSettings settings) + { + Data.CreateGraphData(accel, settings); + } public void Redraw() { |