using System.Runtime.Serialization;
namespace RevolvingCow.Highcharts
{
///
/// Highchart data label.
///
[DataContract]
public class HighchartDataLabel
{
///
/// Gets or sets the alignment.
///
[DataMember(Name = "align", EmitDefaultValue = false, IsRequired = false)]
public string Align { get; set; }
///
/// Gets or sets the background color.
///
[DataMember(Name = "backgroundColor", EmitDefaultValue = false, IsRequired = false)]
public string BackgroundColor { get; set; }
///
/// Gets or sets the border color.
///
[DataMember(Name = "borderColor", EmitDefaultValue = false, IsRequired = false)]
public string BorderColor { get; set; }
///
/// Gets or sets the border radius.
///
[DataMember(Name = "borderRadius", EmitDefaultValue = false, IsRequired = false)]
public int BorderRadius { get; set; }
///
/// Gets or sets the border width.
///
[DataMember(Name = "borderWidth", EmitDefaultValue = false, IsRequired = false)]
public int BorderWidth { get; set; }
///
/// Gets or sets the color.
///
[DataMember(Name = "color", EmitDefaultValue = false, IsRequired = false)]
public string Color { get; set; }
///
/// Gets or sets a value indicating whether to crop.
///
[DataMember(Name = "crop", EmitDefaultValue = false, IsRequired = false)]
public bool Crop { get; set; }
///
/// Gets or sets a value indicating whether the label is enabled.
///
[DataMember(Name = "enabled", EmitDefaultValue = false, IsRequired = false)]
public bool Enabled { get; set; }
///
/// Gets or sets the format.
///
[DataMember(Name = "format", EmitDefaultValue = false, IsRequired = false)]
public string Format { get; set; }
///
/// Gets or sets the formatter.
///
[DataMember(Name = "formatter", EmitDefaultValue = false, IsRequired = false)]
public string Formatter { get; set; }
///
/// Gets or sets a value indicating whether the label is inside.
///
[DataMember(Name = "inside", EmitDefaultValue = false, IsRequired = false)]
public bool Inside { get; set; }
///
/// Gets or sets the overflow.
///
[DataMember(Name = "overflow", EmitDefaultValue = false, IsRequired = false)]
public string Overflow { get; set; }
///
/// Gets or sets the padding.
///
[DataMember(Name = "padding", EmitDefaultValue = false, IsRequired = false)]
public int Padding { get; set; }
///
/// Gets or sets the rotation.
///
[DataMember(Name = "rotation", EmitDefaultValue = false, IsRequired = false)]
public int Rotation { get; set; }
///
/// Gets or sets a value indicating whether to use a shadow.
///
[DataMember(Name = "shadow", EmitDefaultValue = false, IsRequired = false)]
public bool Shadow { get; set; }
///
/// Gets or sets the style.
///
[DataMember(Name = "style", EmitDefaultValue = false, IsRequired = false)]
public string Style { 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; }
///
/// Gets or sets the z-index.
///
[DataMember(Name = "zIndex", EmitDefaultValue = false, IsRequired = false)]
public int ZIndex { get; set; }
}
}