/// <summary> /// <see cref="ChartElementBase"/> 형식의 Element 객체들을 XML Element Node로 생성합니다. /// </summary> /// <param name="writer">Element를 쓸 Writer</param> protected override void GenerateXmlElements(System.Xml.XmlWriter writer) { base.GenerateXmlElements(writer); if (Value.HasValue) { ChartUtil.WriteElementText(writer, "value", Value.ToString()); } }
/// <summary> /// <see cref="ChartElementBase"/> 형식의 Element 객체들을 XML Element Node로 생성합니다. /// </summary> /// <param name="writer">Element를 쓸 Writer</param> protected override void GenerateXmlElements(XmlWriter writer) { base.GenerateXmlElements(writer); if (Value.HasValue) { ChartUtil.WriteElementText(writer, "value", Value.ToString()); } if (Target.HasValue) { ChartUtil.WriteElementText(writer, "target", Target.ToString()); } }