public ChartResetZoomButton() { Hashtable hashtables = new Hashtable(); Hashtable hashtables1 = hashtables; this.Position_DefaultValue = hashtables; this.Position = hashtables1; int num = 0; ChartResetZoomButtonRelativeTo chartResetZoomButtonRelativeTo = (ChartResetZoomButtonRelativeTo)num; this.RelativeTo_DefaultValue = (ChartResetZoomButtonRelativeTo)num; this.RelativeTo = chartResetZoomButtonRelativeTo; object obj = null; object obj1 = obj; this.Theme_DefaultValue = obj; this.Theme = obj1; }
internal override Hashtable ToHashtable() { Hashtable hashtables = new Hashtable(); if (this.Position.Count > 0) { hashtables.Add("position", this.Position); } if (this.RelativeTo != this.RelativeTo_DefaultValue) { ChartResetZoomButtonRelativeTo relativeTo = this.RelativeTo; hashtables.Add("relativeTo", Highcharts.FirstCharacterToLower(relativeTo.ToString())); } if (this.Theme != this.Theme_DefaultValue) { hashtables.Add("theme", this.Theme); } return(hashtables); }