CPF/CPF.ReoGrid/Chart/PlotPointColumn.cs
2024-06-24 10:15:59 +08:00

27 lines
400 B
C#

using System;
namespace CPF.ReoGrid.Chart
{
internal struct PlotPointColumn
{
public static implicit operator PlotPointColumn(float value)
{
return new PlotPointColumn
{
hasValue = true,
value = value
};
}
public bool hasValue;
public float value;
public static readonly PlotPointColumn Nil = new PlotPointColumn
{
hasValue = false,
value = 0f
};
}
}