fromXml static method
Implementation
static ChartLabelModel? fromXml(WidgetModel parent, XmlElement xml)
{
ChartLabelModel? model;
try
{
model = ChartLabelModel(parent, Xml.get(node: xml, tag: 'id'));
model.deserialize(xml);
}
catch(e)
{
Log().exception(e, caller: 'chart.Model');
model = null;
}
return model;
}