ChartNaN
Namespace: Wisej.Web.Ext.ChartJS4.Models
Assembly: Wisej.Web.Ext.ChartJS4 (4.1.0.0)
Sentinel struct that serializes to JavaScript NaN. Use NaN instead of instantiating this directly.
- C#
- VB.NET
public struct ChartNaN
Public Structure ChartNaN
Instances are written to JSON as the sentinel string "__NaN__", which the client-side startup script replaces with JavaScript NaN in the dataset data.
Example:
object[] data = { 1, 2, ChartValue.NaN, 4 };
bool isSkipped = data[2] is ChartNaN; // true