Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinearGauge" /> class.
 /// </summary>
 /// <param name="viewContext">The view context.</param>
 /// <param name="initializer">The javascript initializer.</param>
 /// <param name="urlGenerator">The URL Generator.</param>
 public RadialGauge(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
     : base(viewContext, initializer, urlGenerator)
 {
     Scale = new GaugeRadialScale(this);
     Pointer = new GaugeRadialPointer();
     Pointers = new List<GaugeRadialPointer>();
 }
 public GaugeRadialPointerSerializer(GaugeRadialPointer pointer)
 {
     this.pointer = pointer;
 }
Пример #3
0
 public GaugeRadialPointerSerializer(GaugeRadialPointer pointer)
 {
     this.pointer = pointer;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinearGauge" /> class.
 /// </summary>
 /// <param name="viewContext">The view context.</param>
 /// <param name="initializer">The javascript initializer.</param>
 /// <param name="urlGenerator">The URL Generator.</param>
 public RadialGauge(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
     : base(viewContext, initializer, urlGenerator)
 {
     Scale   = new GaugeRadialScale(this);
     Pointer = new GaugeRadialPointer();
 }