Dundas Chart for Windows Forms
Height Property
See Also  Example Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Chart Class : Height Property


Gets or sets the height of the entire chart image.


Gets or sets the height of the control.

Syntax

Visual Basic (Declaration)  
Public Property Height As Integer
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim value As Integer
 
instance.Height = value
 
value = instance.Height
C#  
public int Height {get; set;}

Return Value

A value that represents the height of the entire chart image, in pixels.

Example

This example demonstrates how to add scaling attributes.
C# Copy Code
// Enable browser sizing of a chart image.
Chart1.Attributes["Height"] = "70%";
Chart1.Attributes
["Width"] = "70%";

Remarks

The height of the entire chart image, in pixels.

The height of the chart image can also be sized within the browser as a percentage of the client area of the browser.

Use of scaling may distort the resulting chart image, and is not the recommended means of scaling a chart image.

Requirements

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

See Also

© 2009 All Rights Reserved.