using System.Collections.Generic;
using System.Runtime.Serialization;
namespace RevolvingCow.Highcharts
{
///
/// The Highchart axis class.
///
[DataContract]
public class HighchartAxis
{
///
/// Gets or sets a value indicating whether decimal values are allowed.
///
[DataMember(Name = "allowDecimals", EmitDefaultValue = false, IsRequired = false)]
public bool AllowDecimals { get; set; }
///
/// Gets or sets the alternate grid color.
///
[DataMember(Name = "alternateGridColor", EmitDefaultValue = false, IsRequired = false)]
public string AlternateGridColor { get; set; }
///
/// Gets or sets the categories.
///
[DataMember(Name = "categories", EmitDefaultValue = false, IsRequired = false)]
public IEnumerable Categories { get; set; }
///
/// Gets or sets the date time label formats.
///
[DataMember(Name = "dateTimeLabelFormats", EmitDefaultValue = false, IsRequired = false)]
public string DateTimeLabelFormats { get; set; }
///
/// Gets or sets a value indicating whether to end on a tick.
///
[DataMember(Name = "endOnTick", EmitDefaultValue = false, IsRequired = false)]
public bool EndOnTick { get; set; }
///
/// Gets or sets the events.
///
[DataMember(Name = "events", EmitDefaultValue = false, IsRequired = false)]
public IEnumerable Events { get; set; }
///
/// Gets or sets the grid line color.
///
[DataMember(Name = "gridLineColor", EmitDefaultValue = false, IsRequired = false)]
public string GridLineColor { get; set; }
///
/// Gets or sets the grid line dash style.
///
[DataMember(Name = "gridLineDashStyle", EmitDefaultValue = false, IsRequired = false)]
public string GridLineDashStyle { get; set; }
///
/// Gets or sets the grid line width.
///
[DataMember(Name = "gridLineWidth", EmitDefaultValue = false, IsRequired = false)]
public int GridLineWidth { get; set; }
///
/// Gets or sets the identifier.
///
[DataMember(Name = "id", EmitDefaultValue = false, IsRequired = false)]
public string Id { get; set; }
///
/// Gets or sets the labels.
///
[DataMember(Name = "labels", EmitDefaultValue = false, IsRequired = false)]
public HighchartAxisLabels Labels { get; set; }
///
/// Gets or sets the line color.
///
[DataMember(Name = "lineColor", EmitDefaultValue = false, IsRequired = false)]
public string LineColor { get; set; }
///
/// Gets or sets the line width.
///
[DataMember(Name = "lineWidth", EmitDefaultValue = false, IsRequired = false)]
public int LineWidth { get; set; }
///
/// Gets or sets the linked to value.
///
[DataMember(Name = "linkedTo", EmitDefaultValue = false, IsRequired = false)]
public int LinkedTo { get; set; }
///
/// Gets or sets the maximum.
///
[DataMember(Name = "max", EmitDefaultValue = false, IsRequired = false)]
public int? Max { get; set; }
///
/// Gets or sets the maximum padding.
///
[DataMember(Name = "maxPadding", EmitDefaultValue = false, IsRequired = false)]
public int MaxPadding { get; set; }
///
/// Gets or sets the maximum zoom.
///
[DataMember(Name = "maxZoom", EmitDefaultValue = false, IsRequired = false)]
public int MaxZoom { get; set; }
///
/// Gets or sets the minimum.
///
[DataMember(Name = "min", EmitDefaultValue = false, IsRequired = false)]
public int? Min { get; set; }
///
/// Gets or sets the minimum padding.
///
[DataMember(Name = "minPadding", EmitDefaultValue = false, IsRequired = false)]
public int MinPadding { get; set; }
///
/// Gets or sets the minimum range.
///
[DataMember(Name = "minRange", EmitDefaultValue = false, IsRequired = false)]
public int MinRange { get; set; }
///
/// Gets or sets the minimum tick interval.
///
[DataMember(Name = "minTickInterval", EmitDefaultValue = false, IsRequired = false)]
public int MinTickInterval { get; set; }
///
/// Gets or sets the minor grid line color.
///
[DataMember(Name = "minorGridLineColor", EmitDefaultValue = false, IsRequired = false)]
public string MinorGridLineColor { get; set; }
///
/// Gets or sets the minor grid line dash color.
///
[DataMember(Name = "minorGridLineDashColor", EmitDefaultValue = false, IsRequired = false)]
public string MinorGridLineDashColor { get; set; }
///
/// Gets or sets the minor grid line width.
///
[DataMember(Name = "minorGridLineWidth", EmitDefaultValue = false, IsRequired = false)]
public int MinorGridLineWidth { get; set; }
///
/// Gets or sets the minor tick color.
///
[DataMember(Name = "minorTickColor", EmitDefaultValue = false, IsRequired = false)]
public string MinorTickColor { get; set; }
///
/// Gets or sets the minor tick interval.
///
[DataMember(Name = "minorTickInterval", EmitDefaultValue = false, IsRequired = false)]
public string MinorTickInterval { get; set; }
///
/// Gets or sets the minor tick length.
///
[DataMember(Name = "minorTickLength", EmitDefaultValue = false, IsRequired = false)]
public string MinorTickLength { get; set; }
///
/// Gets or sets the minor tick position.
///
[DataMember(Name = "minorTickPosition", EmitDefaultValue = false, IsRequired = false)]
public string MinorTickPosition { get; set; }
///
/// Gets or sets the minor tick width.
///
[DataMember(Name = "minorTickWidth", EmitDefaultValue = false, IsRequired = false)]
public int MinorTickWidth { get; set; }
///
/// Gets or sets the offset.
///
[DataMember(Name = "offset", EmitDefaultValue = false, IsRequired = false)]
public int Offset { get; set; }
///
/// Gets or sets a value indicating whether the axis is opposite.
///
[DataMember(Name = "opposite", EmitDefaultValue = false, IsRequired = false)]
public bool Opposite { get; set; }
///
/// Gets or sets the plot bands.
///
[DataMember(Name = "plotBands", EmitDefaultValue = false, IsRequired = false)]
public IEnumerable PlotBands { get; set; }
///
/// Gets or sets the plot lines.
///
[DataMember(Name = "plotLines", EmitDefaultValue = false, IsRequired = false)]
public IEnumerable PlotLines { get; set; }
///
/// Gets or sets a value indicating whether the values are reversed.
///
[DataMember(Name = "reversed", EmitDefaultValue = false, IsRequired = false)]
public bool Reversed { get; set; }
///
/// Gets or sets a value indicating whether to show empty values.
///
[DataMember(Name = "showEmpty", EmitDefaultValue = false, IsRequired = false)]
public bool ShowEmpty { get; set; }
///
/// Gets or sets a value indicating whether to show the first label.
///
[DataMember(Name = "showFirstLabel", EmitDefaultValue = false, IsRequired = false)]
public bool ShowFirstLabel { get; set; }
///
/// Gets or sets a value indicating whether to show the last label.
///
[DataMember(Name = "showLastLabel", EmitDefaultValue = false, IsRequired = false)]
public bool ShowLastLabel { get; set; }
///
/// Gets or sets the start of the week.
///
/// The value of 0 is Monday.
[DataMember(Name = "startOfWeek", EmitDefaultValue = false, IsRequired = false)]
public int StartOfWeek { get; set; }
///
/// Gets or sets a value indicating whether to start on a tick.
///
[DataMember(Name = "startOnTick", EmitDefaultValue = false, IsRequired = false)]
public bool StartOnTick { get; set; }
///
/// Gets or sets the tick color.
///
[DataMember(Name = "tickColor", EmitDefaultValue = false, IsRequired = false)]
public string TickColor { get; set; }
///
/// Gets or sets the tick interval.
///
[DataMember(Name = "tickInterval", EmitDefaultValue = false, IsRequired = false)]
public string TickInterval { get; set; }
///
/// Gets or sets the tick length.
///
[DataMember(Name = "tickLength", EmitDefaultValue = false, IsRequired = false)]
public int TickLength { get; set; }
///
/// Gets or sets the tick pixel interval.
///
[DataMember(Name = "tickPixelInterval", EmitDefaultValue = false, IsRequired = false)]
public string TickPixelInterval { get; set; }
///
/// Gets or sets the tick position.
///
[DataMember(Name = "tickPosition", EmitDefaultValue = false, IsRequired = false)]
public string TickPosition { get; set; }
///
/// Gets or sets the tick positioner.
///
[DataMember(Name = "tickPositioner", EmitDefaultValue = false, IsRequired = false)]
public string TickPositioner { get; set; }
///
/// Gets or sets the tick positions.
///
[DataMember(Name = "tickPositions", EmitDefaultValue = false, IsRequired = false)]
public string TickPositions { get; set; }
///
/// Gets or sets the tick width.
///
[DataMember(Name = "tickWidth", EmitDefaultValue = false, IsRequired = false)]
public string TickWidth { get; set; }
///
/// Gets or sets the tickmark placement.
///
[DataMember(Name = "tickmarkPlacement", EmitDefaultValue = false, IsRequired = false)]
public string TickmarkPlacement { get; set; }
///
/// Gets or sets the title.
///
[DataMember(Name = "title", EmitDefaultValue = false, IsRequired = false)]
public string Title { get; set; }
///
/// Gets or sets the axis type.
///
[DataMember(Name = "type", EmitDefaultValue = false, IsRequired = false)]
public string Type { get; set; }
}
}