/// <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; }
public GaugeAreaSerializer(GaugeArea chartArea) { this.gaugeArea = chartArea; }