27 lines
400 B
C#
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
|
|
};
|
|
}
|
|
}
|