feat(Documents) Notes/Docs page improvements and warning cleanup

This commit is contained in:
2022-04-07 13:30:00 -04:00
parent b270453030
commit d82e60efdf
223 changed files with 4396 additions and 2861 deletions
+7 -4
View File
@@ -1,16 +1,19 @@
namespace Model.Immortal.Chart;
namespace Model.Chart;
public class PointModel {
public class PointModel
{
public float Interval { get; set; } = 0;
public float Value { get; set; } = 0;
public float TempValue { get; set; } = 0;
public string GetInterval(float highestInterval, float displayScale) {
public string GetInterval(float highestInterval, float displayScale)
{
var display = Interval / highestInterval * displayScale;
return ((int)display).ToString();
}
public string GetValue(float highestValue, float displayScale) {
public string GetValue(float highestValue, float displayScale)
{
var display = Value / highestValue * displayScale;
return ((int)display).ToString();
}