diff options
| author | a1xd <[email protected]> | 2020-12-05 01:21:03 -0500 |
|---|---|---|
| committer | a1xd <[email protected]> | 2020-12-05 01:21:03 -0500 |
| commit | 2c7c24ee1513616dc6260849bf97340d8484b6b4 (patch) | |
| tree | 2210c90268748f685297313e0541862bf6894aa0 /grapher/Models/Charts/ChartState | |
| parent | add changes from review (diff) | |
| download | rawaccel-2c7c24ee1513616dc6260849bf97340d8484b6b4.tar.xz rawaccel-2c7c24ee1513616dc6260849bf97340d8484b6b4.zip | |
add more changes from review
improve version error messages
revert poll time changes
add range validation after text parse
Diffstat (limited to 'grapher/Models/Charts/ChartState')
4 files changed, 7 insertions, 7 deletions
diff --git a/grapher/Models/Charts/ChartState/ChartState.cs b/grapher/Models/Charts/ChartState/ChartState.cs index c1b8e9b..0bb141e 100644 --- a/grapher/Models/Charts/ChartState/ChartState.cs +++ b/grapher/Models/Charts/ChartState/ChartState.cs @@ -40,7 +40,7 @@ namespace grapher.Models.Charts.ChartState internal bool TwoDotsPerGraph { get; set; } - public abstract void MakeDots(double x, double y, double timeInMsRecip); + public abstract void MakeDots(double x, double y, double timeInMs); public abstract void Bind(); diff --git a/grapher/Models/Charts/ChartState/CombinedState.cs b/grapher/Models/Charts/ChartState/CombinedState.cs index 9fcdc11..9eadb87 100644 --- a/grapher/Models/Charts/ChartState/CombinedState.cs +++ b/grapher/Models/Charts/ChartState/CombinedState.cs @@ -30,9 +30,9 @@ namespace grapher.Models.Charts.ChartState GainChart.ClearSecondDots(); } - public override void MakeDots(double x, double y, double timeInMsRecip) + public override void MakeDots(double x, double y, double timeInMs) { - Data.CalculateDots(x, y, timeInMsRecip); + Data.CalculateDots(x, y, timeInMs); } public override void Bind() diff --git a/grapher/Models/Charts/ChartState/XYOneGraphState.cs b/grapher/Models/Charts/ChartState/XYOneGraphState.cs index 95c4b20..2b3cd9c 100644 --- a/grapher/Models/Charts/ChartState/XYOneGraphState.cs +++ b/grapher/Models/Charts/ChartState/XYOneGraphState.cs @@ -28,9 +28,9 @@ namespace grapher.Models.Charts.ChartState GainChart.SetCombined(); } - public override void MakeDots(double x, double y, double timeInMsRecip) + public override void MakeDots(double x, double y, double timeInMs) { - Data.CalculateDotsCombinedDiffSens(x, y, timeInMsRecip, Settings); + Data.CalculateDotsCombinedDiffSens(x, y, timeInMs, Settings); } public override void Bind() diff --git a/grapher/Models/Charts/ChartState/XYTwoGraphState.cs b/grapher/Models/Charts/ChartState/XYTwoGraphState.cs index 075cc0f..732ea3c 100644 --- a/grapher/Models/Charts/ChartState/XYTwoGraphState.cs +++ b/grapher/Models/Charts/ChartState/XYTwoGraphState.cs @@ -33,9 +33,9 @@ namespace grapher.Models.Charts.ChartState GainChart.ClearSecondDots(); } - public override void MakeDots(double x, double y, double timeInMsRecip) + public override void MakeDots(double x, double y, double timeInMs) { - Data.CalculateDotsXY(x, y, timeInMsRecip); + Data.CalculateDotsXY(x, y, timeInMs); } public override void Bind() |