internal override Hashtable ToHashtable() { Hashtable hashtables = new Hashtable(); bool? allowPointSelect = this.AllowPointSelect; bool? allowPointSelectDefaultValue = this.AllowPointSelect_DefaultValue; if ((allowPointSelect.GetValueOrDefault() == allowPointSelectDefaultValue.GetValueOrDefault() ? allowPointSelect.HasValue != allowPointSelectDefaultValue.HasValue : true)) { hashtables.Add("allowPointSelect", this.AllowPointSelect); } if (this.Animation.IsDirty()) { hashtables.Add("animation", this.Animation.ToJSON()); } double?animationLimit = this.AnimationLimit; double?animationLimitDefaultValue = this.AnimationLimit_DefaultValue; if ((animationLimit.GetValueOrDefault() == animationLimitDefaultValue.GetValueOrDefault() ? animationLimit.HasValue != animationLimitDefaultValue.HasValue : true)) { hashtables.Add("animationLimit", this.AnimationLimit); } if (this.ClassName != this.ClassName_DefaultValue) { hashtables.Add("className", this.ClassName); } if (this.Color != this.Color_DefaultValue) { hashtables.Add("color", this.Color); } animationLimitDefaultValue = this.ColorIndex; animationLimit = this.ColorIndex_DefaultValue; if ((animationLimitDefaultValue.GetValueOrDefault() == animationLimit.GetValueOrDefault() ? animationLimitDefaultValue.HasValue != animationLimit.HasValue : true)) { hashtables.Add("colorIndex", this.ColorIndex); } allowPointSelectDefaultValue = this.ConnectEnds; allowPointSelect = this.ConnectEnds_DefaultValue; if ((allowPointSelectDefaultValue.GetValueOrDefault() == allowPointSelect.GetValueOrDefault() ? allowPointSelectDefaultValue.HasValue != allowPointSelect.HasValue : true)) { hashtables.Add("connectEnds", this.ConnectEnds); } allowPointSelect = this.ConnectNulls; allowPointSelectDefaultValue = this.ConnectNulls_DefaultValue; if ((allowPointSelect.GetValueOrDefault() == allowPointSelectDefaultValue.GetValueOrDefault() ? allowPointSelect.HasValue != allowPointSelectDefaultValue.HasValue : true)) { hashtables.Add("connectNulls", this.ConnectNulls); } animationLimit = this.CropThreshold; animationLimitDefaultValue = this.CropThreshold_DefaultValue; if ((animationLimit.GetValueOrDefault() == animationLimitDefaultValue.GetValueOrDefault() ? animationLimit.HasValue != animationLimitDefaultValue.HasValue : true)) { hashtables.Add("cropThreshold", this.CropThreshold); } if (this.Cursor != this.Cursor_DefaultValue) { PlotOptionsLineCursor cursor = this.Cursor; hashtables.Add("cursor", Highcharts.FirstCharacterToLower(cursor.ToString())); } if (this.DashStyle != this.DashStyle_DefaultValue) { PlotOptionsLineDashStyle dashStyle = this.DashStyle; hashtables.Add("dashStyle", Highcharts.FirstCharacterToLower(dashStyle.ToString())); } if (this.DataLabels.IsDirty()) { hashtables.Add("dataLabels", this.DataLabels.ToHashtable()); } if (this.Description != this.Description_DefaultValue) { hashtables.Add("description", this.Description); } allowPointSelectDefaultValue = this.EnableMouseTracking; allowPointSelect = this.EnableMouseTracking_DefaultValue; if ((allowPointSelectDefaultValue.GetValueOrDefault() == allowPointSelect.GetValueOrDefault() ? allowPointSelectDefaultValue.HasValue != allowPointSelect.HasValue : true)) { hashtables.Add("enableMouseTracking", this.EnableMouseTracking); } if (this.Events.IsDirty()) { hashtables.Add("events", this.Events.ToHashtable()); } allowPointSelect = this.GetExtremesFromAll; allowPointSelectDefaultValue = this.GetExtremesFromAll_DefaultValue; if ((allowPointSelect.GetValueOrDefault() == allowPointSelectDefaultValue.GetValueOrDefault() ? allowPointSelect.HasValue != allowPointSelectDefaultValue.HasValue : true)) { hashtables.Add("getExtremesFromAll", this.GetExtremesFromAll); } if (this.Keys != this.Keys_DefaultValue) { hashtables.Add("keys", this.Keys); } animationLimitDefaultValue = this.LineWidth; animationLimit = this.LineWidth_DefaultValue; if ((animationLimitDefaultValue.GetValueOrDefault() == animationLimit.GetValueOrDefault() ? animationLimitDefaultValue.HasValue != animationLimit.HasValue : true)) { hashtables.Add("lineWidth", this.LineWidth); } if (this.Linecap != this.Linecap_DefaultValue) { PlotOptionsLineLinecap linecap = this.Linecap; hashtables.Add("linecap", Highcharts.FirstCharacterToLower(linecap.ToString())); } if (this.LinkedTo != this.LinkedTo_DefaultValue) { hashtables.Add("linkedTo", this.LinkedTo); } if (this.Marker.IsDirty()) { hashtables.Add("marker", this.Marker.ToHashtable()); } if (this.NegativeColor != this.NegativeColor_DefaultValue) { hashtables.Add("negativeColor", this.NegativeColor); } if (this.Point.IsDirty()) { hashtables.Add("point", this.Point.ToHashtable()); } animationLimit = this.PointInterval; animationLimitDefaultValue = this.PointInterval_DefaultValue; if ((animationLimit.GetValueOrDefault() == animationLimitDefaultValue.GetValueOrDefault() ? animationLimit.HasValue != animationLimitDefaultValue.HasValue : true)) { hashtables.Add("pointInterval", this.PointInterval); } if (this.PointIntervalUnit != this.PointIntervalUnit_DefaultValue) { PlotOptionsLinePointIntervalUnit pointIntervalUnit = this.PointIntervalUnit; hashtables.Add("pointIntervalUnit", Highcharts.FirstCharacterToLower(pointIntervalUnit.ToString())); } if (this.PointPlacement.IsDirty()) { hashtables.Add("pointPlacement", this.PointPlacement.ToJSON()); } animationLimitDefaultValue = this.PointStart; animationLimit = this.PointStart_DefaultValue; if ((animationLimitDefaultValue.GetValueOrDefault() == animationLimit.GetValueOrDefault() ? animationLimitDefaultValue.HasValue != animationLimit.HasValue : true)) { hashtables.Add("pointStart", this.PointStart); } allowPointSelectDefaultValue = this.Selected; allowPointSelect = this.Selected_DefaultValue; if ((allowPointSelectDefaultValue.GetValueOrDefault() == allowPointSelect.GetValueOrDefault() ? allowPointSelectDefaultValue.HasValue != allowPointSelect.HasValue : true)) { hashtables.Add("selected", this.Selected); } if (this.Shadow != this.Shadow_DefaultValue) { hashtables.Add("shadow", this.Shadow); } allowPointSelect = this.ShowCheckbox; allowPointSelectDefaultValue = this.ShowCheckbox_DefaultValue; if ((allowPointSelect.GetValueOrDefault() == allowPointSelectDefaultValue.GetValueOrDefault() ? allowPointSelect.HasValue != allowPointSelectDefaultValue.HasValue : true)) { hashtables.Add("showCheckbox", this.ShowCheckbox); } allowPointSelectDefaultValue = this.ShowInLegend; allowPointSelect = this.ShowInLegend_DefaultValue; if ((allowPointSelectDefaultValue.GetValueOrDefault() == allowPointSelect.GetValueOrDefault() ? allowPointSelectDefaultValue.HasValue != allowPointSelect.HasValue : true)) { hashtables.Add("showInLegend", this.ShowInLegend); } allowPointSelect = this.SoftThreshold; allowPointSelectDefaultValue = this.SoftThreshold_DefaultValue; if ((allowPointSelect.GetValueOrDefault() == allowPointSelectDefaultValue.GetValueOrDefault() ? allowPointSelect.HasValue != allowPointSelectDefaultValue.HasValue : true)) { hashtables.Add("softThreshold", this.SoftThreshold); } if (this.Stacking != this.Stacking_DefaultValue) { PlotOptionsLineStacking stacking = this.Stacking; hashtables.Add("stacking", Highcharts.FirstCharacterToLower(stacking.ToString())); } if (this.States.IsDirty()) { hashtables.Add("states", this.States.ToHashtable()); } if (this.Step != this.Step_DefaultValue) { PlotOptionsLineStep step = this.Step; hashtables.Add("step", Highcharts.FirstCharacterToLower(step.ToString())); } allowPointSelectDefaultValue = this.StickyTracking; allowPointSelect = this.StickyTracking_DefaultValue; if ((allowPointSelectDefaultValue.GetValueOrDefault() == allowPointSelect.GetValueOrDefault() ? allowPointSelectDefaultValue.HasValue != allowPointSelect.HasValue : true)) { hashtables.Add("stickyTracking", this.StickyTracking); } animationLimit = this.Threshold; animationLimitDefaultValue = this.Threshold_DefaultValue; if ((animationLimit.GetValueOrDefault() == animationLimitDefaultValue.GetValueOrDefault() ? animationLimit.HasValue != animationLimitDefaultValue.HasValue : true)) { hashtables.Add("threshold", this.Threshold); } if (this.Tooltip.IsDirty()) { hashtables.Add("tooltip", this.Tooltip.ToHashtable()); } animationLimitDefaultValue = this.TurboThreshold; animationLimit = this.TurboThreshold_DefaultValue; if ((animationLimitDefaultValue.GetValueOrDefault() == animationLimit.GetValueOrDefault() ? animationLimitDefaultValue.HasValue != animationLimit.HasValue : true)) { hashtables.Add("turboThreshold", this.TurboThreshold); } allowPointSelect = this.Visible; allowPointSelectDefaultValue = this.Visible_DefaultValue; if ((allowPointSelect.GetValueOrDefault() == allowPointSelectDefaultValue.GetValueOrDefault() ? allowPointSelect.HasValue != allowPointSelectDefaultValue.HasValue : true)) { hashtables.Add("visible", this.Visible); } if (this.ZoneAxis != this.ZoneAxis_DefaultValue) { hashtables.Add("zoneAxis", this.ZoneAxis); } if (this.Zones.IsDirty()) { hashtables.Add("zones", this.Zones.ToHashtable()); } return(hashtables); }