using System.Runtime.Serialization; namespace RevolvingCow.Highcharts { /// /// Highchart series data. /// [DataContract] public class HighchartSeriesData { /// /// Gets or sets the color. /// [DataMember(Name = "color", EmitDefaultValue = false, IsRequired = false)] public string Color { get; set; } /// /// Gets or sets the data labels. /// [DataMember(Name = "dataLabels", EmitDefaultValue = false, IsRequired = false)] public HighchartDataLabel DataLabels { get; set; } /// /// Gets or sets the drill down. /// [DataMember(Name = "drilldown", EmitDefaultValue = false, IsRequired = false)] public string Drilldown { get; set; } /// /// Gets or sets the events. /// [DataMember(Name = "events", EmitDefaultValue = false, IsRequired = false)] public HighchartSeriesDataEvent Events { get; set; } /// /// Gets or sets the identifier. /// [DataMember(Name = "id", EmitDefaultValue = false, IsRequired = false)] public string Id { get; set; } /// /// Gets or sets the legen index. /// [DataMember(Name = "legendIndex", EmitDefaultValue = false, IsRequired = false)] public int LegendIndex { get; set; } /// /// Gets or sets the marker. /// [DataMember(Name = "marker", EmitDefaultValue = false, IsRequired = false)] public HighchartSeriesDataMarker Marker { get; set; } /// /// Gets or sets the name. /// [DataMember(Name = "name", EmitDefaultValue = false, IsRequired = false)] public string Name { get; set; } /// /// Gets or sets a value indicating whether the data is sliced. /// [DataMember(Name = "sliced", EmitDefaultValue = false, IsRequired = false)] public bool Sliced { 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; } } }