Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Gauge" /> class.
 /// </summary>
 /// <param name="viewContext">The view context.</param>
 /// <param name="initializer">The javascript initializer.</param>
 /// <param name="urlGenerator">The URL Generator.</param>
 public Gauge(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
     : base(viewContext, initializer)
 {
     UrlGenerator = urlGenerator;
     GaugeArea = new GaugeArea();
     Transitions = true;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Gauge" /> class.
 /// </summary>
 /// <param name="viewContext">The view context.</param>
 /// <param name="initializer">The javascript initializer.</param>
 /// <param name="urlGenerator">The URL Generator.</param>
 public Gauge(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
     : base(viewContext, initializer)
 {
     UrlGenerator = urlGenerator;
     GaugeArea    = new GaugeArea();
     Transitions  = true;
 }
Пример #3
0
 public GaugeAreaSerializer(GaugeArea chartArea)
 {
     this.gaugeArea = chartArea;
 }
Пример #4
0
 public GaugeAreaSerializer(GaugeArea chartArea)
 {
     this.gaugeArea = chartArea;
 }