internal static ThemeGraphItem FromJson(JsonObject json)
{
if (json == null) return null;
ThemeGraphItem graphItem = new ThemeGraphItem();
graphItem.Caption = (string)json["caption"];
graphItem.GraphExpression = (string)json["graphExpression"];
if (json["memoryDoubleValues"] != null)
{
List<double> memoryValues = new List<double>();
foreach (JsonObject item in (JsonArray)json["memoryDoubleValues"])
{
memoryValues.Add((double)item);
}
graphItem.MemoryDoubleValues = memoryValues;
}
graphItem.UniformStyle = ServerStyle.FromJson((JsonObject)json["uniformStyle"]);
return graphItem;
}