using System.Runtime.Serialization; namespace RevolvingCow.Highcharts { /// /// Highchart chart. /// [DataContract] public class HighchartChart { /// /// Gets or sets a value indicating whether to align on the ticks. /// [DataMember(Name = "alignTicks", EmitDefaultValue = false, IsRequired = false)] public bool AlignTicks { get; set; } /// /// Gets or sets a value indicating whether to use animations. /// [DataMember(Name = "animation", EmitDefaultValue = false, IsRequired = false)] public bool Animation { 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 class name. /// [DataMember(Name = "className", EmitDefaultValue = false, IsRequired = false)] public string ClassName { get; set; } /// /// Gets or sets the default series type. /// [DataMember(Name = "defaultSeriesType", EmitDefaultValue = false, IsRequired = false)] public string DefaultSeriesType { get; set; } /// /// Gets or sets the events. /// [DataMember(Name = "events", EmitDefaultValue = false, IsRequired = false)] public HighchartChartEvents Events { get; set; } /// /// Gets or sets the height. /// [DataMember(Name = "height", EmitDefaultValue = false, IsRequired = false)] public int Height { get; set; } /// /// Gets or sets a value indicating whether to ignore hidden series. /// [DataMember(Name = "ignoreHiddenSeries", EmitDefaultValue = false, IsRequired = false)] public bool IgnoreHiddenSeries { get; set; } /// /// Gets or sets a value indicating the graph is inverted. /// [DataMember(Name = "name", EmitDefaultValue = false, IsRequired = false)] public bool Inverted { get; set; } /// /// Gets or sets the margin. /// [DataMember(Name = "margin", EmitDefaultValue = false, IsRequired = false)] public int[] Margin { get; set; } /// /// Gets or sets the bottom margin. /// [DataMember(Name = "marginBottom", EmitDefaultValue = false, IsRequired = false)] public int MarginBottom { get; set; } /// /// Gets or sets the left margin. /// [DataMember(Name = "marginLeft", EmitDefaultValue = false, IsRequired = false)] public int MarginLeft { get; set; } /// /// Gets or sets the right margin. /// [DataMember(Name = "marginRight", EmitDefaultValue = false, IsRequired = false)] public int MarginRight { get; set; } /// /// Gets or sets the top margin. /// [DataMember(Name = "marginTop", EmitDefaultValue = false, IsRequired = false)] public string MarginTop { get; set; } /// /// Gets or sets the pinch type. /// [DataMember(Name = "pinchType", EmitDefaultValue = false, IsRequired = false)] public string PinchType { get; set; } /// /// Gets or sets the plot background color. /// [DataMember(Name = "plotBackgroundColor", EmitDefaultValue = false, IsRequired = false)] public string PlotBackgroundColor { get; set; } /// /// Gets or sets the plot background image. /// [DataMember(Name = "plotBackgroundImage", EmitDefaultValue = false, IsRequired = false)] public string PlotBackgroundImage { get; set; } /// /// Gets or sets the plot border color. /// [DataMember(Name = "plotBorderColor", EmitDefaultValue = false, IsRequired = false)] public string PlotBorderColor { get; set; } /// /// Gets or sets the plot border width. /// [DataMember(Name = "plotBorderWidth", EmitDefaultValue = false, IsRequired = false)] public int PlotBorderWidth { get; set; } /// /// Gets or sets the plot border shadow. /// [DataMember(Name = "plotBorderShadow", EmitDefaultValue = false, IsRequired = false)] public bool PlotBorderShadow { get; set; } /// /// Gets or sets a value indicating the chart is polar. /// [DataMember(Name = "polar", EmitDefaultValue = false, IsRequired = false)] public bool Polar { get; set; } /// /// Gets or sets a value indicating the chart is reflow. /// [DataMember(Name = "reflow", EmitDefaultValue = false, IsRequired = false)] public bool Reflow { get; set; } /// /// Gets or sets the render to value. /// [DataMember(Name = "renderTo", EmitDefaultValue = false, IsRequired = false)] public string RenderTo { get; set; } /// /// Gets or sets the reset zoom button. /// [DataMember(Name = "resetZoomButton", EmitDefaultValue = false, IsRequired = false)] public HighchartButton ResetZoomButton { get; set; } /// /// Gets or sets the selection marker fill. /// [DataMember(Name = "selectionMarkerFill", EmitDefaultValue = false, IsRequired = false)] public string SelectionMarkerFill { get; set; } /// /// Gets or sets a value indicating to use a shadow. /// [DataMember(Name = "shadow", EmitDefaultValue = false, IsRequired = false)] public bool Shadow { get; set; } /// /// Gets or sets a value indicating whether to show the axes. /// [DataMember(Name = "showAxes", EmitDefaultValue = false, IsRequired = false)] public bool ShowAxes { get; set; } /// /// Gets or sets the spacing. /// [DataMember(Name = "spacing", EmitDefaultValue = false, IsRequired = false)] public int[] Spacing { get; set; } /// /// Gets or sets the bottom spacing. /// [DataMember(Name = "spacingBottom", EmitDefaultValue = false, IsRequired = false)] public int SpacingBottom { get; set; } /// /// Gets or sets the left spacing. /// [DataMember(Name = "spacingLeft", EmitDefaultValue = false, IsRequired = false)] public int SpacingLeft { get; set; } /// /// Gets or sets the right spacing. /// [DataMember(Name = "spacingRight", EmitDefaultValue = false, IsRequired = false)] public int SpacingRight { get; set; } /// /// Gets or sets the top spacing. /// [DataMember(Name = "spacingTop", EmitDefaultValue = false, IsRequired = false)] public int SpacingTop { get; set; } /// /// Gets or sets the CSS style. /// [DataMember(Name = "style", EmitDefaultValue = false, IsRequired = false)] public string Style { get; set; } /// /// Gets or sets the chart type. /// [DataMember(Name = "type", EmitDefaultValue = false, IsRequired = false)] public string Type { get; set; } /// /// Gets or sets the width. /// [DataMember(Name = "width", EmitDefaultValue = false, IsRequired = false)] public int Width { get; set; } /// /// Gets or sets the zoom type. /// [DataMember(Name = "zoomType", EmitDefaultValue = false, IsRequired = false)] public string ZoomType { get; set; } } }