Dundas Chart for ASP.NET
Height Property
See Also  Example Send comments on this topic.
Dundas.Charting.WebControl Namespace > Chart Class : Height Property


Gets or sets the height of the entire chart image.


Chart height

Syntax

Visual Basic (Declaration)  
Public Overrides Property Height As Unit
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim value As Unit
 
instance.Height = value
 
value = instance.Height
C#  
public override Unit 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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.