/// <summary> /// Chart 설정 또는 변량에 대해 XML로 생성합니다. /// </summary> /// <param name="writer"></param> public override void GenerateXmlAttributes(XmlWriter writer) { base.GenerateXmlAttributes(writer); if (HeaderText.IsNotWhiteSpace()) { writer.WriteAttributeString("HeaderText", HeaderText); } if (PositionInGrid.HasValue) { writer.WriteAttributeString("PositionInGrid", PositionInGrid.Value.ToString()); } if (Width.IsNotWhiteSpace()) { writer.WriteAttributeString("Width", Width); } if (_headerAttr != null) { _headerAttr.GenerateXmlAttributes(writer); } if (_itemAttr != null) { _itemAttr.GenerateXmlAttributes(writer); } }
/// <summary> /// 속성들을 Xml Attribute로 생성합니다. /// </summary> /// <param name="writer">Attribute를 쓸 Writer</param> public override void GenerateXmlAttributes(System.Xml.XmlWriter writer) { base.GenerateXmlAttributes(writer); if (_headerAttr != null) { _headerAttr.GenerateXmlAttributes(writer); } if (_itemAttr != null) { _itemAttr.GenerateXmlAttributes(writer); } }
/// <summary> /// 속성들을 Xml Attribute로 생성합니다. /// </summary> /// <param name="writer">Attribute를 쓸 Writer</param> public override void GenerateXmlAttributes(XmlWriter writer) { base.GenerateXmlAttributes(writer); if (_itemAttr != null) { _itemAttr.GenerateXmlAttributes(writer); } if (VerticalPadding.HasValue) { writer.WriteAttributeString("VerticalPadding", VerticalPadding.Value.ToString()); } }
/// <summary> /// 속성들을 Xml Attribute로 생성합니다. /// </summary> /// <param name="writer">Attribute를 쓸 Writer</param> public override void GenerateXmlAttributes(System.Xml.XmlWriter writer) { base.GenerateXmlAttributes(writer); if (HeaderText.IsNotWhiteSpace()) { writer.WriteAttributeString("HeaderText", HeaderText); } if (PositionInGrid.HasValue) { writer.WriteAttributeString("PositionInGrid", PositionInGrid.Value.ToString()); } if (Width.IsNotWhiteSpace()) { writer.WriteAttributeString("Width", Width); } if (_headerAttr != null) { _headerAttr.GenerateXmlAttributes(writer); } if (BgColor.HasValue) { writer.WriteAttributeString("BgColor", BgColor.Value.ToHexString()); } if (BgAlpha.HasValue) { writer.WriteAttributeString("BgAlpha", BgAlpha.Value.ToString()); } if (Label.IsNotWhiteSpace()) { writer.WriteAttributeString("Label", Label); } if (Align.HasValue) { writer.WriteAttributeString("Align", Align.Value.ToString().ToLower()); } if (VAlign.HasValue) { writer.WriteAttributeString("VAlign", VAlign.Value.ToString().ToLower()); } if (_fontAttr != null) { _fontAttr.GenerateXmlAttributes(writer); } }
/// <summary> /// 속성들을 Xml Attribute로 생성합니다. /// </summary> /// <param name="writer">Attribute를 쓸 Writer</param> public override void GenerateXmlAttributes(XmlWriter writer) { base.GenerateXmlAttributes(writer); if (Label.IsNotWhiteSpace()) { writer.WriteAttributeString("label", Label); } if (_link != null) { _link.GenerateXmlAttributes(writer); } if (_itemAttr != null) { _itemAttr.GenerateXmlAttributes(writer); } }
/// <summary> /// 속성들을 Xml Attribute로 생성합니다. /// </summary> /// <param name="writer">Attribute를 쓸 Writer</param> public override void GenerateXmlAttributes(System.Xml.XmlWriter writer) { base.GenerateXmlAttributes(writer); if (_itemAttr != null) { _itemAttr.GenerateXmlAttributes(writer); } if (Start.HasValue) { writer.WriteAttributeString("Start", Start.Value.ToSortableString(true)); } if (End.HasValue) { writer.WriteAttributeString("End", End.Value.ToSortableString(true)); } if (_link != null) { _link.GenerateXmlAttributes(writer); } }