Esempio n. 1
0
 internal Hashtable ToHashtable(JQChart chart)
 {
     Hashtable h = new Hashtable();
     if (!string.IsNullOrEmpty(this.AddSeries))
     {
         h.AddLiteral("addSeries", this.AddSeries, chart);
     }
     if (!string.IsNullOrEmpty(this.Click))
     {
         h.AddLiteral("click", this.Click, chart);
     }
     if (!string.IsNullOrEmpty(this.Load))
     {
         h.AddLiteral("load", this.Load, chart);
     }
     if (!string.IsNullOrEmpty(this.Redraw))
     {
         h.AddLiteral("redraw", this.Redraw, chart);
     }
     if (!string.IsNullOrEmpty(this.Selection))
     {
         h.AddLiteral("selection", this.Selection, chart);
     }
     return h;
 }