You can easily change the height and width on the C1RadialGauge by setting the Height and Width properties. By default the height of the control is set to 400px and the width of the control is set to 600px. You can easily change the control's height and width in Source view, from the Properties window, or in code.
In Source View
In Source view add Height="200px" and Width="300px" in the <cc1:C1RadialGauge> tag to the size you wish to set the control's height and width to, for example:
<cc1:C1RadialGauge ID="C1RadialGauge1" runat="server" Height="200px" Width="300px">
The above will resize the control to 200 pixels tall and 300 pixels wide.
From the Properties Window
You can change the Height and Width properties to set the control's height and width in the Properties window:
In Code
Add the following code to the Page_Load event to set the Height and Width properties to 200 pixels tall and 300 pixels wide:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Me.C1RadialGauge1.Height = 200 Me.C1RadialGauge1.Width = 300 |
To write code in C#
C# |
Copy Code
|
---|---|
this.C1RadialGauge1.Height = 200; this.C1RadialGauge1.Width = 300; |