CusumChart.FromJson Method

Reconstructs a CusumChart from a JSON string previously produced by ToJson().

Definition

Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
C#
public static CusumChart FromJson(
	string json
)

Parameters

json  String
A JSON string previously produced by ToJson().

Return Value

CusumChart
A new CusumChart in the state described by the JSON. If the JSON was produced from a Fitted chart, the returned chart is in the Fitted state with all analyzed data restored. If produced from a Deployed chart, the returned chart is in the Deployed state.

Exceptions

ArgumentNullExceptionjson is null.
JsonExceptionjson is malformed or semantically invalid.

See Also