예제 #1
0
 public ZAxis3D(Axes3D axes, Axis3DCollection axisCollection, ZAxisType axisType)
     : base(axes, axisCollection)
 {
     this.axisType = axisType;
 }
예제 #2
0
        public ZAxis()
        {
            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;
            object        obj1 = null;
            List <string> strs = (List <string>)obj1;

            this.Categories_DefaultValue = (List <string>)obj1;
            this.Categories = strs;
            double?nullable1 = null;

            this.Ceiling_DefaultValue = nullable1;
            this.Ceiling = nullable1;
            string str1 = "";

            str = str1;
            this.ClassName_DefaultValue = str1;
            this.ClassName = str;
            ZAxisCrosshair zAxisCrosshair  = new ZAxisCrosshair();
            ZAxisCrosshair zAxisCrosshair1 = zAxisCrosshair;

            this.Crosshair_DefaultValue = zAxisCrosshair;
            this.Crosshair = zAxisCrosshair1;
            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?(false);
            this.EndOnTick_DefaultValue = nullable;
            this.EndOnTick              = nullable;
            ZAxisEvents zAxisEvent  = new ZAxisEvents();
            ZAxisEvents zAxisEvent1 = zAxisEvent;

            this.Events_DefaultValue = zAxisEvent;
            this.Events             = zAxisEvent1;
            nullable1               = null;
            this.Floor_DefaultValue = nullable1;
            this.Floor              = nullable1;
            string str3 = "#e6e6e6";

            str = str3;
            this.GridLineColor_DefaultValue = str3;
            this.GridLineColor = str;
            int num = 0;
            ZAxisGridLineDashStyle zAxisGridLineDashStyle = (ZAxisGridLineDashStyle)num;

            this.GridLineDashStyle_DefaultValue = (ZAxisGridLineDashStyle)num;
            this.GridLineDashStyle = zAxisGridLineDashStyle;
            nullable1 = new double?(0);
            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;
            ZAxisLabels zAxisLabel  = new ZAxisLabels();
            ZAxisLabels zAxisLabel1 = zAxisLabel;

            this.Labels_DefaultValue = zAxisLabel;
            this.Labels = zAxisLabel1;
            string str4 = "#ccd6eb";

            str = str4;
            this.LineColor_DefaultValue = str4;
            this.LineColor = str;
            nullable1      = new double?((double)1);
            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;
            nullable1 = new double?(0.01);
            this.MaxPadding_DefaultValue = nullable1;
            this.MaxPadding       = nullable1;
            nullable1             = null;
            this.Min_DefaultValue = nullable1;
            this.Min  = nullable1;
            nullable1 = new double?(0.01);
            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 str5 = "#f2f2f2";

            str = str5;
            this.MinorGridLineColor_DefaultValue = str5;
            this.MinorGridLineColor = str;
            int num1 = 0;
            ZAxisMinorGridLineDashStyle zAxisMinorGridLineDashStyle = (ZAxisMinorGridLineDashStyle)num1;

            this.MinorGridLineDashStyle_DefaultValue = (ZAxisMinorGridLineDashStyle)num1;
            this.MinorGridLineDashStyle = zAxisMinorGridLineDashStyle;
            nullable1 = new double?((double)1);
            this.MinorGridLineWidth_DefaultValue = nullable1;
            this.MinorGridLineWidth = nullable1;
            string str6 = "#999999";

            str = str6;
            this.MinorTickColor_DefaultValue = str6;
            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 num2 = 1;
            ZAxisMinorTickPosition zAxisMinorTickPosition = (ZAxisMinorTickPosition)num2;

            this.MinorTickPosition_DefaultValue = (ZAxisMinorTickPosition)num2;
            this.MinorTickPosition = zAxisMinorTickPosition;
            nullable1 = new double?(0);
            this.MinorTickWidth_DefaultValue = nullable1;
            this.MinorTickWidth        = nullable1;
            nullable                   = new bool?(true);
            this.NameToX_DefaultValue  = nullable;
            this.NameToX               = nullable;
            nullable1                  = new double?(0);
            this.Offset_DefaultValue   = nullable1;
            this.Offset                = nullable1;
            nullable                   = new bool?(false);
            this.Opposite_DefaultValue = nullable;
            this.Opposite              = nullable;
            ZAxisPlotBands zAxisPlotBand  = new ZAxisPlotBands();
            ZAxisPlotBands zAxisPlotBand1 = zAxisPlotBand;

            this.PlotBands_DefaultValue = zAxisPlotBand;
            this.PlotBands = zAxisPlotBand1;
            ZAxisPlotLines zAxisPlotLine  = new ZAxisPlotLines();
            ZAxisPlotLines zAxisPlotLine1 = zAxisPlotLine;

            this.PlotLines_DefaultValue = zAxisPlotLine;
            this.PlotLines                   = zAxisPlotLine1;
            nullable                         = new bool?(false);
            this.Reversed_DefaultValue       = nullable;
            this.Reversed                    = nullable;
            nullable                         = new bool?(true);
            this.ShowEmpty_DefaultValue      = nullable;
            this.ShowEmpty                   = nullable;
            nullable                         = new bool?(true);
            this.ShowFirstLabel_DefaultValue = nullable;
            this.ShowFirstLabel              = nullable;
            nullable                         = new bool?(true);
            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;
            nullable1                        = new double?((double)1);
            this.StartOfWeek_DefaultValue    = nullable1;
            this.StartOfWeek                 = nullable1;
            nullable                         = new bool?(false);
            this.StartOnTick_DefaultValue    = nullable;
            this.StartOnTick                 = nullable;
            nullable1                        = null;
            this.TickAmount_DefaultValue     = nullable1;
            this.TickAmount                  = nullable1;
            string str7 = "#ccd6eb";

            str = str7;
            this.TickColor_DefaultValue = str7;
            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 num3 = 1;
            ZAxisTickPosition zAxisTickPosition = (ZAxisTickPosition)num3;

            this.TickPosition_DefaultValue = (ZAxisTickPosition)num3;
            this.TickPosition = zAxisTickPosition;
            string str8 = "";

            str = str8;
            this.TickPositioner_DefaultValue = str8;
            this.TickPositioner = str;
            object        obj4 = null;
            List <double> nums = (List <double>)obj4;

            this.TickPositions_DefaultValue = (List <double>)obj4;
            this.TickPositions          = nums;
            nullable1                   = new double?((double)1);
            this.TickWidth_DefaultValue = nullable1;
            this.TickWidth              = nullable1;
            int num4 = 0;
            ZAxisTickmarkPlacement zAxisTickmarkPlacement = (ZAxisTickmarkPlacement)num4;

            this.TickmarkPlacement_DefaultValue = (ZAxisTickmarkPlacement)num4;
            this.TickmarkPlacement = zAxisTickmarkPlacement;
            ZAxisTitle zAxisTitle  = new ZAxisTitle();
            ZAxisTitle zAxisTitle1 = zAxisTitle;

            this.Title_DefaultValue = zAxisTitle;
            this.Title = zAxisTitle1;
            int       num5      = 0;
            ZAxisType zAxisType = (ZAxisType)num5;

            this.Type_DefaultValue = (ZAxisType)num5;
            this.Type = zAxisType;
            nullable  = new bool?(true);
            this.Visible_DefaultValue = nullable;
            this.Visible = nullable;
        }
예제 #3
0
        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);
            }
            if (this.Categories != this.Categories_DefaultValue)
            {
                hashtables.Add("categories", this.Categories);
            }
            double?ceiling             = this.Ceiling;
            double?ceilingDefaultValue = this.Ceiling_DefaultValue;

            if ((ceiling.GetValueOrDefault() == ceilingDefaultValue.GetValueOrDefault() ? ceiling.HasValue != ceilingDefaultValue.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());
            }
            ceilingDefaultValue = this.Floor;
            ceiling             = this.Floor_DefaultValue;
            if ((ceilingDefaultValue.GetValueOrDefault() == ceiling.GetValueOrDefault() ? ceilingDefaultValue.HasValue != ceiling.HasValue : true))
            {
                hashtables.Add("floor", this.Floor);
            }
            if (this.GridLineColor != this.GridLineColor_DefaultValue)
            {
                hashtables.Add("gridLineColor", this.GridLineColor);
            }
            if (this.GridLineDashStyle != this.GridLineDashStyle_DefaultValue)
            {
                ZAxisGridLineDashStyle gridLineDashStyle = this.GridLineDashStyle;
                hashtables.Add("gridLineDashStyle", Highcharts.FirstCharacterToLower(gridLineDashStyle.ToString()));
            }
            ceiling             = this.GridLineWidth;
            ceilingDefaultValue = this.GridLineWidth_DefaultValue;
            if ((ceiling.GetValueOrDefault() == ceilingDefaultValue.GetValueOrDefault() ? ceiling.HasValue != ceilingDefaultValue.HasValue : true))
            {
                hashtables.Add("gridLineWidth", this.GridLineWidth);
            }
            ceilingDefaultValue = this.GridZIndex;
            ceiling             = this.GridZIndex_DefaultValue;
            if ((ceilingDefaultValue.GetValueOrDefault() == ceiling.GetValueOrDefault() ? ceilingDefaultValue.HasValue != ceiling.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);
            }
            ceiling             = this.LineWidth;
            ceilingDefaultValue = this.LineWidth_DefaultValue;
            if ((ceiling.GetValueOrDefault() == ceilingDefaultValue.GetValueOrDefault() ? ceiling.HasValue != ceilingDefaultValue.HasValue : true))
            {
                hashtables.Add("lineWidth", this.LineWidth);
            }
            ceilingDefaultValue = this.LinkedTo;
            ceiling             = this.LinkedTo_DefaultValue;
            if ((ceilingDefaultValue.GetValueOrDefault() == ceiling.GetValueOrDefault() ? ceilingDefaultValue.HasValue != ceiling.HasValue : true))
            {
                hashtables.Add("linkedTo", this.LinkedTo);
            }
            ceiling             = this.Max;
            ceilingDefaultValue = this.Max_DefaultValue;
            if ((ceiling.GetValueOrDefault() == ceilingDefaultValue.GetValueOrDefault() ? ceiling.HasValue != ceilingDefaultValue.HasValue : true))
            {
                hashtables.Add("max", this.Max);
            }
            ceilingDefaultValue = this.MaxPadding;
            ceiling             = this.MaxPadding_DefaultValue;
            if ((ceilingDefaultValue.GetValueOrDefault() == ceiling.GetValueOrDefault() ? ceilingDefaultValue.HasValue != ceiling.HasValue : true))
            {
                hashtables.Add("maxPadding", this.MaxPadding);
            }
            ceiling             = this.Min;
            ceilingDefaultValue = this.Min_DefaultValue;
            if ((ceiling.GetValueOrDefault() == ceilingDefaultValue.GetValueOrDefault() ? ceiling.HasValue != ceilingDefaultValue.HasValue : true))
            {
                hashtables.Add("min", this.Min);
            }
            ceilingDefaultValue = this.MinPadding;
            ceiling             = this.MinPadding_DefaultValue;
            if ((ceilingDefaultValue.GetValueOrDefault() == ceiling.GetValueOrDefault() ? ceilingDefaultValue.HasValue != ceiling.HasValue : true))
            {
                hashtables.Add("minPadding", this.MinPadding);
            }
            ceiling             = this.MinRange;
            ceilingDefaultValue = this.MinRange_DefaultValue;
            if ((ceiling.GetValueOrDefault() == ceilingDefaultValue.GetValueOrDefault() ? ceiling.HasValue != ceilingDefaultValue.HasValue : true))
            {
                hashtables.Add("minRange", this.MinRange);
            }
            ceilingDefaultValue = this.MinTickInterval;
            ceiling             = this.MinTickInterval_DefaultValue;
            if ((ceilingDefaultValue.GetValueOrDefault() == ceiling.GetValueOrDefault() ? ceilingDefaultValue.HasValue != ceiling.HasValue : true))
            {
                hashtables.Add("minTickInterval", this.MinTickInterval);
            }
            if (this.MinorGridLineColor != this.MinorGridLineColor_DefaultValue)
            {
                hashtables.Add("minorGridLineColor", this.MinorGridLineColor);
            }
            if (this.MinorGridLineDashStyle != this.MinorGridLineDashStyle_DefaultValue)
            {
                ZAxisMinorGridLineDashStyle minorGridLineDashStyle = this.MinorGridLineDashStyle;
                hashtables.Add("minorGridLineDashStyle", Highcharts.FirstCharacterToLower(minorGridLineDashStyle.ToString()));
            }
            ceiling             = this.MinorGridLineWidth;
            ceilingDefaultValue = this.MinorGridLineWidth_DefaultValue;
            if ((ceiling.GetValueOrDefault() == ceilingDefaultValue.GetValueOrDefault() ? ceiling.HasValue != ceilingDefaultValue.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);
            }
            ceilingDefaultValue = this.MinorTickLength;
            ceiling             = this.MinorTickLength_DefaultValue;
            if ((ceilingDefaultValue.GetValueOrDefault() == ceiling.GetValueOrDefault() ? ceilingDefaultValue.HasValue != ceiling.HasValue : true))
            {
                hashtables.Add("minorTickLength", this.MinorTickLength);
            }
            if (this.MinorTickPosition != this.MinorTickPosition_DefaultValue)
            {
                ZAxisMinorTickPosition minorTickPosition = this.MinorTickPosition;
                hashtables.Add("minorTickPosition", Highcharts.FirstCharacterToLower(minorTickPosition.ToString()));
            }
            ceiling             = this.MinorTickWidth;
            ceilingDefaultValue = this.MinorTickWidth_DefaultValue;
            if ((ceiling.GetValueOrDefault() == ceilingDefaultValue.GetValueOrDefault() ? ceiling.HasValue != ceilingDefaultValue.HasValue : true))
            {
                hashtables.Add("minorTickWidth", this.MinorTickWidth);
            }
            allowDecimals             = this.NameToX;
            allowDecimalsDefaultValue = this.NameToX_DefaultValue;
            if ((allowDecimals.GetValueOrDefault() == allowDecimalsDefaultValue.GetValueOrDefault() ? allowDecimals.HasValue != allowDecimalsDefaultValue.HasValue : true))
            {
                hashtables.Add("nameToX", this.NameToX);
            }
            ceilingDefaultValue = this.Offset;
            ceiling             = this.Offset_DefaultValue;
            if ((ceilingDefaultValue.GetValueOrDefault() == ceiling.GetValueOrDefault() ? ceilingDefaultValue.HasValue != ceiling.HasValue : true))
            {
                hashtables.Add("offset", this.Offset);
            }
            allowDecimalsDefaultValue = this.Opposite;
            allowDecimals             = this.Opposite_DefaultValue;
            if ((allowDecimalsDefaultValue.GetValueOrDefault() == allowDecimals.GetValueOrDefault() ? allowDecimalsDefaultValue.HasValue != allowDecimals.HasValue : true))
            {
                hashtables.Add("opposite", this.Opposite);
            }
            if (this.PlotBands.IsDirty())
            {
                hashtables.Add("plotBands", this.PlotBands.ToHashtable());
            }
            if (this.PlotLines.IsDirty())
            {
                hashtables.Add("plotLines", this.PlotLines.ToHashtable());
            }
            allowDecimals             = this.Reversed;
            allowDecimalsDefaultValue = this.Reversed_DefaultValue;
            if ((allowDecimals.GetValueOrDefault() == allowDecimalsDefaultValue.GetValueOrDefault() ? allowDecimals.HasValue != allowDecimalsDefaultValue.HasValue : true))
            {
                hashtables.Add("reversed", this.Reversed);
            }
            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);
            }
            ceiling             = this.SoftMax;
            ceilingDefaultValue = this.SoftMax_DefaultValue;
            if ((ceiling.GetValueOrDefault() == ceilingDefaultValue.GetValueOrDefault() ? ceiling.HasValue != ceilingDefaultValue.HasValue : true))
            {
                hashtables.Add("softMax", this.SoftMax);
            }
            ceilingDefaultValue = this.SoftMin;
            ceiling             = this.SoftMin_DefaultValue;
            if ((ceilingDefaultValue.GetValueOrDefault() == ceiling.GetValueOrDefault() ? ceilingDefaultValue.HasValue != ceiling.HasValue : true))
            {
                hashtables.Add("softMin", this.SoftMin);
            }
            ceiling             = this.StartOfWeek;
            ceilingDefaultValue = this.StartOfWeek_DefaultValue;
            if ((ceiling.GetValueOrDefault() == ceilingDefaultValue.GetValueOrDefault() ? ceiling.HasValue != ceilingDefaultValue.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);
            }
            ceilingDefaultValue = this.TickAmount;
            ceiling             = this.TickAmount_DefaultValue;
            if ((ceilingDefaultValue.GetValueOrDefault() == ceiling.GetValueOrDefault() ? ceilingDefaultValue.HasValue != ceiling.HasValue : true))
            {
                hashtables.Add("tickAmount", this.TickAmount);
            }
            if (this.TickColor != this.TickColor_DefaultValue)
            {
                hashtables.Add("tickColor", this.TickColor);
            }
            ceiling             = this.TickInterval;
            ceilingDefaultValue = this.TickInterval_DefaultValue;
            if ((ceiling.GetValueOrDefault() == ceilingDefaultValue.GetValueOrDefault() ? ceiling.HasValue != ceilingDefaultValue.HasValue : true))
            {
                hashtables.Add("tickInterval", this.TickInterval);
            }
            ceilingDefaultValue = this.TickLength;
            ceiling             = this.TickLength_DefaultValue;
            if ((ceilingDefaultValue.GetValueOrDefault() == ceiling.GetValueOrDefault() ? ceilingDefaultValue.HasValue != ceiling.HasValue : true))
            {
                hashtables.Add("tickLength", this.TickLength);
            }
            ceiling             = this.TickPixelInterval;
            ceilingDefaultValue = this.TickPixelInterval_DefaultValue;
            if ((ceiling.GetValueOrDefault() == ceilingDefaultValue.GetValueOrDefault() ? ceiling.HasValue != ceilingDefaultValue.HasValue : true))
            {
                hashtables.Add("tickPixelInterval", this.TickPixelInterval);
            }
            if (this.TickPosition != this.TickPosition_DefaultValue)
            {
                ZAxisTickPosition tickPosition = this.TickPosition;
                hashtables.Add("tickPosition", Highcharts.FirstCharacterToLower(tickPosition.ToString()));
            }
            if (this.TickPositioner != this.TickPositioner_DefaultValue)
            {
                hashtables.Add("tickPositioner", this.TickPositioner);
                Highcharts.AddFunction("ZAxisTickPositioner.tickPositioner", this.TickPositioner);
            }
            if (this.TickPositions != this.TickPositions_DefaultValue)
            {
                hashtables.Add("tickPositions", this.TickPositions);
            }
            ceilingDefaultValue = this.TickWidth;
            ceiling             = this.TickWidth_DefaultValue;
            if ((ceilingDefaultValue.GetValueOrDefault() == ceiling.GetValueOrDefault() ? ceilingDefaultValue.HasValue != ceiling.HasValue : true))
            {
                hashtables.Add("tickWidth", this.TickWidth);
            }
            if (this.TickmarkPlacement != this.TickmarkPlacement_DefaultValue)
            {
                ZAxisTickmarkPlacement 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)
            {
                ZAxisType 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);
        }
예제 #4
0
 public ZAxis3D(Axes3D axes, Axis3DCollection axisCollection, ZAxisType axisType)
     : base(axes, axisCollection)
 {
     this.axisType = axisType;
 }