public PanelControl(GraphPanel gPanel, int tag) { ConMenu = new ContextMenu(); BoundaryConMenu = new ContextMenu(); MarkerConMenu = new ContextMenu(); Legend = new Legend(gPanel); GPan = new Panel { Tag = tag, BackColor = Color.WhiteSmoke, BorderStyle = BorderStyle.Fixed3D }; LegendTitle = gPanel.PanelName; MarkerMenuSet = true; PanSurface = null; GrSurface = null; HCursorSurface = null; VCursorSurface = null; RectHSurface = null; RectVSurface = null; CrossSurface = null; HCursorImage = null; VCursorImage = null; RectHImage = null; RectVImage = null; DrawingImage = null; CrossImage = null; PercentHeight = 100.0; Zooming = false; YScale = 1.0; XScale = 1.0; XOffset = 0; YOffset = 0; XPan = 0; YPan = 0; XPanStart = 0; YPanStart = 0; YAxisType = YAxisType.Auto; XAxisType = XAxisType.Auto; XAxisSpanLabel = "In Seconds"; XAxisSpan = 500.0; XAxisMin = 0.0; XAxisMax = 500.0; YAxisMin = 0.0; YAxisMax = 500.0; NeedToSetScale = true; XAxisTitle = "Time(secs)"; YAxisTitle = "Counts"; TagList = null; }
public YAxis3D(Axes3D axes, Axis3DCollection axisCollection, YAxisType axisType) : base(axes, axisCollection) { this.axisType = axisType; }
public YAxis() { bool?nullable = new bool?(true); this.AllowDecimals_DefaultValue = nullable; this.AllowDecimals = nullable; object obj = null; string str = (string)obj; this.AlternateGridColor_DefaultValue = (string)obj; this.AlternateGridColor = str; double?nullable1 = new double?(0); this.Angle_DefaultValue = nullable1; this.Angle = nullable1; YAxisBreaks yAxisBreak = new YAxisBreaks(); YAxisBreaks yAxisBreak1 = yAxisBreak; this.Breaks_DefaultValue = yAxisBreak; this.Breaks = yAxisBreak1; object obj1 = null; List <string> strs = (List <string>)obj1; this.Categories_DefaultValue = (List <string>)obj1; this.Categories = strs; nullable1 = null; this.Ceiling_DefaultValue = nullable1; this.Ceiling = nullable1; string str1 = ""; str = str1; this.ClassName_DefaultValue = str1; this.ClassName = str; YAxisCrosshair yAxisCrosshair = new YAxisCrosshair(); YAxisCrosshair yAxisCrosshair1 = yAxisCrosshair; this.Crosshair_DefaultValue = yAxisCrosshair; this.Crosshair = yAxisCrosshair1; Hashtable hashtables = new Hashtable(); Hashtable hashtables1 = hashtables; this.DateTimeLabelFormats_DefaultValue = hashtables; this.DateTimeLabelFormats = hashtables1; string str2 = "undefined"; str = str2; this.Description_DefaultValue = str2; this.Description = str; nullable = new bool?(true); this.EndOnTick_DefaultValue = nullable; this.EndOnTick = nullable; YAxisEvents yAxisEvent = new YAxisEvents(); YAxisEvents yAxisEvent1 = yAxisEvent; this.Events_DefaultValue = yAxisEvent; this.Events = yAxisEvent1; nullable1 = null; this.Floor_DefaultValue = nullable1; this.Floor = nullable1; string str3 = "#e6e6e6"; str = str3; this.GridLineColor_DefaultValue = str3; this.GridLineColor = str; int num = 0; YAxisGridLineDashStyle yAxisGridLineDashStyle = (YAxisGridLineDashStyle)num; this.GridLineDashStyle_DefaultValue = (YAxisGridLineDashStyle)num; this.GridLineDashStyle = yAxisGridLineDashStyle; int num1 = 0; YAxisGridLineInterpolation yAxisGridLineInterpolation = (YAxisGridLineInterpolation)num1; this.GridLineInterpolation_DefaultValue = (YAxisGridLineInterpolation)num1; this.GridLineInterpolation = yAxisGridLineInterpolation; nullable1 = new double?((double)1); this.GridLineWidth_DefaultValue = nullable1; this.GridLineWidth = nullable1; nullable1 = new double?((double)1); this.GridZIndex_DefaultValue = nullable1; this.GridZIndex = nullable1; object obj2 = null; str = (string)obj2; this.Id_DefaultValue = (string)obj2; this.Id = str; YAxisLabels yAxisLabel = new YAxisLabels(); YAxisLabels yAxisLabel1 = yAxisLabel; this.Labels_DefaultValue = yAxisLabel; this.Labels = yAxisLabel1; string str4 = "#ccd6eb"; str = str4; this.LineColor_DefaultValue = str4; this.LineColor = str; nullable1 = new double?(0); this.LineWidth_DefaultValue = nullable1; this.LineWidth = nullable1; nullable1 = null; this.LinkedTo_DefaultValue = nullable1; this.LinkedTo = nullable1; nullable1 = null; this.Max_DefaultValue = nullable1; this.Max = nullable1; string str5 = "#003399"; str = str5; this.MaxColor_DefaultValue = str5; this.MaxColor = str; nullable1 = new double?(0.05); this.MaxPadding_DefaultValue = nullable1; this.MaxPadding = nullable1; nullable1 = null; this.Min_DefaultValue = nullable1; this.Min = nullable1; string str6 = "#e6ebf5"; str = str6; this.MinColor_DefaultValue = str6; this.MinColor = str; nullable1 = new double?(0.05); this.MinPadding_DefaultValue = nullable1; this.MinPadding = nullable1; nullable1 = null; this.MinRange_DefaultValue = nullable1; this.MinRange = nullable1; nullable1 = null; this.MinTickInterval_DefaultValue = nullable1; this.MinTickInterval = nullable1; string str7 = "#f2f2f2"; str = str7; this.MinorGridLineColor_DefaultValue = str7; this.MinorGridLineColor = str; int num2 = 0; YAxisMinorGridLineDashStyle yAxisMinorGridLineDashStyle = (YAxisMinorGridLineDashStyle)num2; this.MinorGridLineDashStyle_DefaultValue = (YAxisMinorGridLineDashStyle)num2; this.MinorGridLineDashStyle = yAxisMinorGridLineDashStyle; nullable1 = new double?((double)1); this.MinorGridLineWidth_DefaultValue = nullable1; this.MinorGridLineWidth = nullable1; string str8 = "#999999"; str = str8; this.MinorTickColor_DefaultValue = str8; this.MinorTickColor = str; object obj3 = null; str = (string)obj3; this.MinorTickInterval_DefaultValue = (string)obj3; this.MinorTickInterval = str; nullable1 = new double?((double)2); this.MinorTickLength_DefaultValue = nullable1; this.MinorTickLength = nullable1; int num3 = 1; YAxisMinorTickPosition yAxisMinorTickPosition = (YAxisMinorTickPosition)num3; this.MinorTickPosition_DefaultValue = (YAxisMinorTickPosition)num3; this.MinorTickPosition = yAxisMinorTickPosition; nullable1 = new double?(0); this.MinorTickWidth_DefaultValue = nullable1; this.MinorTickWidth = nullable1; nullable1 = new double?(0); this.Offset_DefaultValue = nullable1; this.Offset = nullable1; nullable = new bool?(false); this.Opposite_DefaultValue = nullable; this.Opposite = nullable; List <YAxisPlotBands> yAxisPlotBands = new List <YAxisPlotBands>(); List <YAxisPlotBands> yAxisPlotBands1 = yAxisPlotBands; this.PlotBands_DefaultValue = yAxisPlotBands; this.PlotBands = yAxisPlotBands1; List <YAxisPlotLines> yAxisPlotLines = new List <YAxisPlotLines>(); List <YAxisPlotLines> yAxisPlotLines1 = yAxisPlotLines; this.PlotLines_DefaultValue = yAxisPlotLines; this.PlotLines = yAxisPlotLines1; nullable = new bool?(false); this.Reversed_DefaultValue = nullable; this.Reversed = nullable; nullable = new bool?(true); this.ReversedStacks_DefaultValue = nullable; this.ReversedStacks = nullable; nullable = new bool?(true); this.ShowEmpty_DefaultValue = nullable; this.ShowEmpty = nullable; nullable = new bool?(true); this.ShowFirstLabel_DefaultValue = nullable; this.ShowFirstLabel = nullable; nullable = null; this.ShowLastLabel_DefaultValue = nullable; this.ShowLastLabel = nullable; nullable1 = null; this.SoftMax_DefaultValue = nullable1; this.SoftMax = nullable1; nullable1 = null; this.SoftMin_DefaultValue = nullable1; this.SoftMin = nullable1; YAxisStackLabels yAxisStackLabel = new YAxisStackLabels(); YAxisStackLabels yAxisStackLabel1 = yAxisStackLabel; this.StackLabels_DefaultValue = yAxisStackLabel; this.StackLabels = yAxisStackLabel1; nullable1 = new double?((double)1); this.StartOfWeek_DefaultValue = nullable1; this.StartOfWeek = nullable1; nullable = new bool?(true); this.StartOnTick_DefaultValue = nullable; this.StartOnTick = nullable; object obj4 = null; List <Stop> stops = (List <Stop>)obj4; this.Stops_DefaultValue = (List <Stop>)obj4; this.Stops = stops; nullable1 = null; this.TickAmount_DefaultValue = nullable1; this.TickAmount = nullable1; string str9 = "#ccd6eb"; str = str9; this.TickColor_DefaultValue = str9; this.TickColor = str; nullable1 = null; this.TickInterval_DefaultValue = nullable1; this.TickInterval = nullable1; nullable1 = new double?((double)10); this.TickLength_DefaultValue = nullable1; this.TickLength = nullable1; nullable1 = null; this.TickPixelInterval_DefaultValue = nullable1; this.TickPixelInterval = nullable1; int num4 = 1; YAxisTickPosition yAxisTickPosition = (YAxisTickPosition)num4; this.TickPosition_DefaultValue = (YAxisTickPosition)num4; this.TickPosition = yAxisTickPosition; string str10 = ""; str = str10; this.TickPositioner_DefaultValue = str10; this.TickPositioner = str; object obj5 = null; List <double> nums = (List <double>)obj5; this.TickPositions_DefaultValue = (List <double>)obj5; this.TickPositions = nums; nullable1 = new double?(0); this.TickWidth_DefaultValue = nullable1; this.TickWidth = nullable1; int num5 = 0; YAxisTickmarkPlacement yAxisTickmarkPlacement = (YAxisTickmarkPlacement)num5; this.TickmarkPlacement_DefaultValue = (YAxisTickmarkPlacement)num5; this.TickmarkPlacement = yAxisTickmarkPlacement; YAxisTitle yAxisTitle = new YAxisTitle(); YAxisTitle yAxisTitle1 = yAxisTitle; this.Title_DefaultValue = yAxisTitle; this.Title = yAxisTitle1; int num6 = 0; YAxisType yAxisType = (YAxisType)num6; this.Type_DefaultValue = (YAxisType)num6; this.Type = yAxisType; nullable = new bool?(true); this.Visible_DefaultValue = nullable; this.Visible = nullable; }
internal override Hashtable ToHashtable() { Hashtable hashtables = new Hashtable(); bool? allowDecimals = this.AllowDecimals; bool? allowDecimalsDefaultValue = this.AllowDecimals_DefaultValue; if ((allowDecimals.GetValueOrDefault() == allowDecimalsDefaultValue.GetValueOrDefault() ? allowDecimals.HasValue != allowDecimalsDefaultValue.HasValue : true)) { hashtables.Add("allowDecimals", this.AllowDecimals); } if (this.AlternateGridColor != this.AlternateGridColor_DefaultValue) { hashtables.Add("alternateGridColor", this.AlternateGridColor); } double?angle = this.Angle; double?angleDefaultValue = this.Angle_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("angle", this.Angle); } if (this.Breaks.IsDirty()) { hashtables.Add("breaks", this.Breaks.ToHashtable()); } if (this.Categories != this.Categories_DefaultValue) { hashtables.Add("categories", this.Categories); } angleDefaultValue = this.Ceiling; angle = this.Ceiling_DefaultValue; if ((angleDefaultValue.GetValueOrDefault() == angle.GetValueOrDefault() ? angleDefaultValue.HasValue != angle.HasValue : true)) { hashtables.Add("ceiling", this.Ceiling); } if (this.ClassName != this.ClassName_DefaultValue) { hashtables.Add("className", this.ClassName); } if (this.Crosshair.IsDirty()) { hashtables.Add("crosshair", this.Crosshair.ToHashtable()); } if (this.DateTimeLabelFormats != this.DateTimeLabelFormats_DefaultValue) { hashtables.Add("dateTimeLabelFormats", this.DateTimeLabelFormats); } if (this.Description != this.Description_DefaultValue) { hashtables.Add("description", this.Description); } allowDecimalsDefaultValue = this.EndOnTick; allowDecimals = this.EndOnTick_DefaultValue; if ((allowDecimalsDefaultValue.GetValueOrDefault() == allowDecimals.GetValueOrDefault() ? allowDecimalsDefaultValue.HasValue != allowDecimals.HasValue : true)) { hashtables.Add("endOnTick", this.EndOnTick); } if (this.Events.IsDirty()) { hashtables.Add("events", this.Events.ToHashtable()); } angle = this.Floor; angleDefaultValue = this.Floor_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("floor", this.Floor); } if (this.GridLineColor != this.GridLineColor_DefaultValue) { hashtables.Add("gridLineColor", this.GridLineColor); } if (this.GridLineDashStyle != this.GridLineDashStyle_DefaultValue) { YAxisGridLineDashStyle gridLineDashStyle = this.GridLineDashStyle; hashtables.Add("gridLineDashStyle", Highcharts.FirstCharacterToLower(gridLineDashStyle.ToString())); } if (this.GridLineInterpolation != this.GridLineInterpolation_DefaultValue) { YAxisGridLineInterpolation gridLineInterpolation = this.GridLineInterpolation; hashtables.Add("gridLineInterpolation", Highcharts.FirstCharacterToLower(gridLineInterpolation.ToString())); } angleDefaultValue = this.GridLineWidth; angle = this.GridLineWidth_DefaultValue; if ((angleDefaultValue.GetValueOrDefault() == angle.GetValueOrDefault() ? angleDefaultValue.HasValue != angle.HasValue : true)) { hashtables.Add("gridLineWidth", this.GridLineWidth); } angle = this.GridZIndex; angleDefaultValue = this.GridZIndex_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("gridZIndex", this.GridZIndex); } if (this.Id != this.Id_DefaultValue) { hashtables.Add("id", this.Id); } if (this.Labels.IsDirty()) { hashtables.Add("labels", this.Labels.ToHashtable()); } if (this.LineColor != this.LineColor_DefaultValue) { hashtables.Add("lineColor", this.LineColor); } angleDefaultValue = this.LineWidth; angle = this.LineWidth_DefaultValue; if ((angleDefaultValue.GetValueOrDefault() == angle.GetValueOrDefault() ? angleDefaultValue.HasValue != angle.HasValue : true)) { hashtables.Add("lineWidth", this.LineWidth); } angle = this.LinkedTo; angleDefaultValue = this.LinkedTo_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("linkedTo", this.LinkedTo); } angleDefaultValue = this.Max; angle = this.Max_DefaultValue; if ((angleDefaultValue.GetValueOrDefault() == angle.GetValueOrDefault() ? angleDefaultValue.HasValue != angle.HasValue : true)) { hashtables.Add("max", this.Max); } if (this.MaxColor != this.MaxColor_DefaultValue) { hashtables.Add("maxColor", this.MaxColor); } angle = this.MaxPadding; angleDefaultValue = this.MaxPadding_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("maxPadding", this.MaxPadding); } angleDefaultValue = this.Min; angle = this.Min_DefaultValue; if ((angleDefaultValue.GetValueOrDefault() == angle.GetValueOrDefault() ? angleDefaultValue.HasValue != angle.HasValue : true)) { hashtables.Add("min", this.Min); } if (this.MinColor != this.MinColor_DefaultValue) { hashtables.Add("minColor", this.MinColor); } angle = this.MinPadding; angleDefaultValue = this.MinPadding_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("minPadding", this.MinPadding); } angleDefaultValue = this.MinRange; angle = this.MinRange_DefaultValue; if ((angleDefaultValue.GetValueOrDefault() == angle.GetValueOrDefault() ? angleDefaultValue.HasValue != angle.HasValue : true)) { hashtables.Add("minRange", this.MinRange); } angle = this.MinTickInterval; angleDefaultValue = this.MinTickInterval_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("minTickInterval", this.MinTickInterval); } if (this.MinorGridLineColor != this.MinorGridLineColor_DefaultValue) { hashtables.Add("minorGridLineColor", this.MinorGridLineColor); } if (this.MinorGridLineDashStyle != this.MinorGridLineDashStyle_DefaultValue) { YAxisMinorGridLineDashStyle minorGridLineDashStyle = this.MinorGridLineDashStyle; hashtables.Add("minorGridLineDashStyle", Highcharts.FirstCharacterToLower(minorGridLineDashStyle.ToString())); } angleDefaultValue = this.MinorGridLineWidth; angle = this.MinorGridLineWidth_DefaultValue; if ((angleDefaultValue.GetValueOrDefault() == angle.GetValueOrDefault() ? angleDefaultValue.HasValue != angle.HasValue : true)) { hashtables.Add("minorGridLineWidth", this.MinorGridLineWidth); } if (this.MinorTickColor != this.MinorTickColor_DefaultValue) { hashtables.Add("minorTickColor", this.MinorTickColor); } if (this.MinorTickInterval != this.MinorTickInterval_DefaultValue) { hashtables.Add("minorTickInterval", this.MinorTickInterval); } angle = this.MinorTickLength; angleDefaultValue = this.MinorTickLength_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("minorTickLength", this.MinorTickLength); } if (this.MinorTickPosition != this.MinorTickPosition_DefaultValue) { YAxisMinorTickPosition minorTickPosition = this.MinorTickPosition; hashtables.Add("minorTickPosition", Highcharts.FirstCharacterToLower(minorTickPosition.ToString())); } angleDefaultValue = this.MinorTickWidth; angle = this.MinorTickWidth_DefaultValue; if ((angleDefaultValue.GetValueOrDefault() == angle.GetValueOrDefault() ? angleDefaultValue.HasValue != angle.HasValue : true)) { hashtables.Add("minorTickWidth", this.MinorTickWidth); } angle = this.Offset; angleDefaultValue = this.Offset_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("offset", this.Offset); } allowDecimals = this.Opposite; allowDecimalsDefaultValue = this.Opposite_DefaultValue; if ((allowDecimals.GetValueOrDefault() == allowDecimalsDefaultValue.GetValueOrDefault() ? allowDecimals.HasValue != allowDecimalsDefaultValue.HasValue : true)) { hashtables.Add("opposite", this.Opposite); } if (this.PlotBands != this.PlotBands_DefaultValue) { hashtables.Add("plotBands", base.HashifyList(this.PlotBands)); } if (this.PlotLines != this.PlotLines_DefaultValue) { hashtables.Add("plotLines", base.HashifyList(this.PlotLines)); } allowDecimalsDefaultValue = this.Reversed; allowDecimals = this.Reversed_DefaultValue; if ((allowDecimalsDefaultValue.GetValueOrDefault() == allowDecimals.GetValueOrDefault() ? allowDecimalsDefaultValue.HasValue != allowDecimals.HasValue : true)) { hashtables.Add("reversed", this.Reversed); } allowDecimals = this.ReversedStacks; allowDecimalsDefaultValue = this.ReversedStacks_DefaultValue; if ((allowDecimals.GetValueOrDefault() == allowDecimalsDefaultValue.GetValueOrDefault() ? allowDecimals.HasValue != allowDecimalsDefaultValue.HasValue : true)) { hashtables.Add("reversedStacks", this.ReversedStacks); } allowDecimalsDefaultValue = this.ShowEmpty; allowDecimals = this.ShowEmpty_DefaultValue; if ((allowDecimalsDefaultValue.GetValueOrDefault() == allowDecimals.GetValueOrDefault() ? allowDecimalsDefaultValue.HasValue != allowDecimals.HasValue : true)) { hashtables.Add("showEmpty", this.ShowEmpty); } allowDecimals = this.ShowFirstLabel; allowDecimalsDefaultValue = this.ShowFirstLabel_DefaultValue; if ((allowDecimals.GetValueOrDefault() == allowDecimalsDefaultValue.GetValueOrDefault() ? allowDecimals.HasValue != allowDecimalsDefaultValue.HasValue : true)) { hashtables.Add("showFirstLabel", this.ShowFirstLabel); } allowDecimalsDefaultValue = this.ShowLastLabel; allowDecimals = this.ShowLastLabel_DefaultValue; if ((allowDecimalsDefaultValue.GetValueOrDefault() == allowDecimals.GetValueOrDefault() ? allowDecimalsDefaultValue.HasValue != allowDecimals.HasValue : true)) { hashtables.Add("showLastLabel", this.ShowLastLabel); } angleDefaultValue = this.SoftMax; angle = this.SoftMax_DefaultValue; if ((angleDefaultValue.GetValueOrDefault() == angle.GetValueOrDefault() ? angleDefaultValue.HasValue != angle.HasValue : true)) { hashtables.Add("softMax", this.SoftMax); } angle = this.SoftMin; angleDefaultValue = this.SoftMin_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("softMin", this.SoftMin); } if (this.StackLabels.IsDirty()) { hashtables.Add("stackLabels", this.StackLabels.ToHashtable()); } angleDefaultValue = this.StartOfWeek; angle = this.StartOfWeek_DefaultValue; if ((angleDefaultValue.GetValueOrDefault() == angle.GetValueOrDefault() ? angleDefaultValue.HasValue != angle.HasValue : true)) { hashtables.Add("startOfWeek", this.StartOfWeek); } allowDecimals = this.StartOnTick; allowDecimalsDefaultValue = this.StartOnTick_DefaultValue; if ((allowDecimals.GetValueOrDefault() == allowDecimalsDefaultValue.GetValueOrDefault() ? allowDecimals.HasValue != allowDecimalsDefaultValue.HasValue : true)) { hashtables.Add("startOnTick", this.StartOnTick); } if (this.Stops != this.Stops_DefaultValue) { hashtables.Add("stops", base.HashifyList(this.Stops)); } angle = this.TickAmount; angleDefaultValue = this.TickAmount_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("tickAmount", this.TickAmount); } if (this.TickColor != this.TickColor_DefaultValue) { hashtables.Add("tickColor", this.TickColor); } angleDefaultValue = this.TickInterval; angle = this.TickInterval_DefaultValue; if ((angleDefaultValue.GetValueOrDefault() == angle.GetValueOrDefault() ? angleDefaultValue.HasValue != angle.HasValue : true)) { hashtables.Add("tickInterval", this.TickInterval); } angle = this.TickLength; angleDefaultValue = this.TickLength_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("tickLength", this.TickLength); } angleDefaultValue = this.TickPixelInterval; angle = this.TickPixelInterval_DefaultValue; if ((angleDefaultValue.GetValueOrDefault() == angle.GetValueOrDefault() ? angleDefaultValue.HasValue != angle.HasValue : true)) { hashtables.Add("tickPixelInterval", this.TickPixelInterval); } if (this.TickPosition != this.TickPosition_DefaultValue) { YAxisTickPosition tickPosition = this.TickPosition; hashtables.Add("tickPosition", Highcharts.FirstCharacterToLower(tickPosition.ToString())); } if (this.TickPositioner != this.TickPositioner_DefaultValue) { hashtables.Add("tickPositioner", this.TickPositioner); Highcharts.AddFunction("YAxisTickPositioner.tickPositioner", this.TickPositioner); } if (this.TickPositions != this.TickPositions_DefaultValue) { hashtables.Add("tickPositions", this.TickPositions); } angle = this.TickWidth; angleDefaultValue = this.TickWidth_DefaultValue; if ((angle.GetValueOrDefault() == angleDefaultValue.GetValueOrDefault() ? angle.HasValue != angleDefaultValue.HasValue : true)) { hashtables.Add("tickWidth", this.TickWidth); } if (this.TickmarkPlacement != this.TickmarkPlacement_DefaultValue) { YAxisTickmarkPlacement tickmarkPlacement = this.TickmarkPlacement; hashtables.Add("tickmarkPlacement", Highcharts.FirstCharacterToLower(tickmarkPlacement.ToString())); } if (this.Title.IsDirty()) { hashtables.Add("title", this.Title.ToHashtable()); } if (this.Type != this.Type_DefaultValue) { YAxisType type = this.Type; hashtables.Add("type", Highcharts.FirstCharacterToLower(type.ToString())); } allowDecimalsDefaultValue = this.Visible; allowDecimals = this.Visible_DefaultValue; if ((allowDecimalsDefaultValue.GetValueOrDefault() == allowDecimals.GetValueOrDefault() ? allowDecimalsDefaultValue.HasValue != allowDecimals.HasValue : true)) { hashtables.Add("visible", this.Visible); } return(hashtables); }