using System.Runtime.Serialization; namespace RevolvingCow.Highcharts { /// /// Highchart label. /// [DataContract] public class HighchartLabel { /// /// Gets or sets the alignment. /// [DataMember(Name = "align", EmitDefaultValue = false, IsRequired = false)] public string Align { get; set; } /// /// Gets or sets the rotation. /// [DataMember(Name = "rotation", EmitDefaultValue = false, IsRequired = false)] public int Rotation { get; set; } /// /// Gets or sets the style. /// [DataMember(Name = "style", EmitDefaultValue = false, IsRequired = false)] public string Style { get; set; } /// /// Gets or sets the text. /// [DataMember(Name = "text", EmitDefaultValue = false, IsRequired = false)] public string Text { get; set; } /// /// Gets or sets the text alignment. /// [DataMember(Name = "textAlign", EmitDefaultValue = false, IsRequired = false)] public string TextAlign { get; set; } /// /// Gets or sets a value indicating whether to use HTML. /// [DataMember(Name = "useHTML", EmitDefaultValue = false, IsRequired = false)] public bool UseHTML { get; set; } /// /// Gets or sets the vertical alignment. /// [DataMember(Name = "verticalAlign", EmitDefaultValue = false, IsRequired = false)] public string VerticalAlign { get; set; } /// /// Gets or sets the X value. /// [DataMember(Name = "x", EmitDefaultValue = false, IsRequired = false)] public int X { get; set; } /// /// Gets or sets the Y value. /// [DataMember(Name = "y", EmitDefaultValue = false, IsRequired = false)] public int Y { get; set; } } }