using System.Runtime.Serialization; namespace RevolvingCow.Highcharts { /// /// Highchart tooltip. /// [DataContract] public class HighchartTooltip { /// /// Gets or sets a value indicating whether to use animation. /// [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 width. /// [DataMember(Name = "borderWidth", EmitDefaultValue = false, IsRequired = false)] public int BorderWidth { get; set; } /// /// Gets or sets the crosshairs. /// [DataMember(Name = "crosshairs", EmitDefaultValue = false, IsRequired = false)] public string Crosshairs { 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 the tooltip is enabled. /// [DataMember(Name = "enabled", EmitDefaultValue = false, IsRequired = false)] public bool Enabled { get; set; } /// /// Gets or sets a value indicating whether to follow the pointer as it moves. /// [DataMember(Name = "followPointer", EmitDefaultValue = false, IsRequired = false)] public bool FollowPointer { get; set; } /// /// Gets or sets a value indicating whether to follow the finger as it moves. /// [DataMember(Name = "followTouchMove", EmitDefaultValue = false, IsRequired = false)] public bool FollowTouchMove { get; set; } /// /// Gets or sets the footer format. /// [DataMember(Name = "footerFormat", EmitDefaultValue = false, IsRequired = false)] public string FooterFormat { get; set; } /// /// Gets or sets the formatter function. /// [DataMember(Name = "formatter", EmitDefaultValue = false, IsRequired = false)] public string Formatter { get; set; } /// /// Gets or sets the header format. /// [DataMember(Name = "headerFormat", EmitDefaultValue = false, IsRequired = false)] public string HeaderFormat { get; set; } /// /// Gets or sets the hide delay. /// [DataMember(Name = "hideDelay", EmitDefaultValue = false, IsRequired = false)] public int HideDelay { get; set; } /// /// Gets or sets the point format. /// [DataMember(Name = "pointFormat", EmitDefaultValue = false, IsRequired = false)] public string PointFormat { get; set; } /// /// Gets or sets the positioner function. /// [DataMember(Name = "positioner", EmitDefaultValue = false, IsRequired = false)] public string Positioner { 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 a value indicating whether the tooltip is shared. /// [DataMember(Name = "shared", EmitDefaultValue = false, IsRequired = false)] public bool Shared { get; set; } /// /// Gets or sets the snap value. /// [DataMember(Name = "snap", EmitDefaultValue = false, IsRequired = false)] public int Snap { 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 number of decimals to display. /// [DataMember(Name = "valueDecimals", EmitDefaultValue = false, IsRequired = false)] public int ValueDecimals { get; set; } /// /// Gets or sets the value prefix. /// [DataMember(Name = "valuePrefix", EmitDefaultValue = false, IsRequired = false)] public string ValuePrefix { get; set; } /// /// Gets or sets the value suffix. /// [DataMember(Name = "valueSuffix", EmitDefaultValue = false, IsRequired = false)] public string ValueSuffix { get; set; } /// /// Gets or sets the x-axis date format. /// [DataMember(Name = "xDateFormat", EmitDefaultValue = false, IsRequired = false)] public string XDateFormat { get; set; } } }