Dundas Gauge for ASP.NET Send comments on this topic
GaugeContainer Class
See Also  Members  
Dundas.Gauges.WebControl Namespace : GaugeContainer Class


GaugeContainer is the root object of Dundas Gauge.

Object Model













Syntax

Visual Basic (Declaration) 
<LicenseProviderAttribute(System.ComponentModel.LicFileLicenseProvider)>
<DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Dundas.Gauges.WebControl.GaugeDesigner, DundasWebGauge, Version=2.5.1.100, Culture=neutral, PublicKeyToken=2cc0651e6e907aa2")>
<ToolboxDataAttribute("<{0}:GaugeContainer runat="server" Height="240px" Width="320px"><BackFrame FrameStyle="None"></BackFrame><CircularGauges><{0}:CircularGauge Name="Default_AutoRunWizard"><Ranges><{0}:CircularRange Name="Default"></{0}:CircularRange></Ranges><Pointers><{0}:CircularPointer Name="Default"></{0}:CircularPointer></Pointers><BackFrame FrameStyle="Edged"></BackFrame><Scales><{0}:CircularScale Name="Default"></{0}:CircularScale></Scales></{0}:CircularGauge></CircularGauges><Values><{0}:InputValue Name="Default"></{0}:InputValue></Values></{0}:GaugeContainer>")>
<DescriptionAttribute("Dundas Gauge for ASP.NET provides the ability to implement a variety of rich interactive gauges and dashboards.")>
<ToolboxBitmapAttribute()>
<DisplayNameAttribute("Dundas Gauge")>
Public Class GaugeContainer 
   Inherits DataBoundControl
Visual Basic (Usage)Copy Code
Dim instance As GaugeContainer
C# 
[LicenseProviderAttribute(System.ComponentModel.LicFileLicenseProvider)]
[DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Dundas.Gauges.WebControl.GaugeDesigner, DundasWebGauge, Version=2.5.1.100, Culture=neutral, PublicKeyToken=2cc0651e6e907aa2")]
[ToolboxDataAttribute("<{0}:GaugeContainer runat="server" Height="240px" Width="320px"><BackFrame FrameStyle="None"></BackFrame><CircularGauges><{0}:CircularGauge Name="Default_AutoRunWizard"><Ranges><{0}:CircularRange Name="Default"></{0}:CircularRange></Ranges><Pointers><{0}:CircularPointer Name="Default"></{0}:CircularPointer></Pointers><BackFrame FrameStyle="Edged"></BackFrame><Scales><{0}:CircularScale Name="Default"></{0}:CircularScale></Scales></{0}:CircularGauge></CircularGauges><Values><{0}:InputValue Name="Default"></{0}:InputValue></Values></{0}:GaugeContainer>")]
[DescriptionAttribute("Dundas Gauge for ASP.NET provides the ability to implement a variety of rich interactive gauges and dashboards.")]
[ToolboxBitmapAttribute()]
[DisplayNameAttribute("Dundas Gauge")]
public class GaugeContainer : DataBoundControl 

Remarks

The gauge container may contain the following:

The gauge coordinate system provides the basis for positioning and sizing of all elements contained in the container. The origin is the upper-left corner with the X axis pointing to the right and the Y axis pointing down. Coordinate values are between 0 and 100 percent, and all measurements are represented as a percentage of the parent object's width and height. If a gauge element has a parent object then its coordinate system is relative to its parent, and not the gauge container.

The gauge container exposes the PrePaint and PostPaint events, used for custom drawing.

An important property is the Values collection, which stores InputValue objects. Input values can be used as source values for other gauge elements that have a value (e.g. pointers, indicators, etc.) by using their ValueSource property. The advantage to using input values is that their historical data (a history is created that stores previous values) can be used for near-real time playback, as well as calculated values. They also provide a data binding mechanism.

Serialization can be accomplished using the Serializer prorpety, which gets a GaugeSerializer object.

Inheritance Hierarchy

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         System.Web.UI.WebControls.BaseDataBoundControl
            System.Web.UI.WebControls.DataBoundControl
               Dundas.Gauges.WebControl.GaugeContainer

Requirements

Namespace: Dundas.Gauges.WebControl

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: DundasWebGauge (in DundasWebGauge.dll)

See Also