The Chart type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Chart |
Create a new instance of a chart and initialize the chart dimensions object which
objects belonging to this chart must use.
|
Methods
| Name | Description | |
|---|---|---|
| DrawChart |
The DrawChart method draws the chart on a graphic.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SaveChartToFile |
The SaveChartToFile method saves the chart to a file. If a value has been provided for the
FileName property then the chart is saved to that filename, otherwise a unique filename
is created. If a unique filename has been created then that filename may be retrieved via the FileName property.
The format of the created image can be any one of the available System.Drawing.Imaging.ImageFormat
image types including JPEG, GIF, BMP, and TIFF. Graphics are saved using 24-bit color depth.
| |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| moChartDimensions |
Properties
| Name | Description | |
|---|---|---|
| ChartDimensions |
The ChartDimensions property exposes the internal layout of the chart including size of areas
reserved for X and Y axis labels, margin height and width, and various background colors.
| |
| FileName |
This is the filename that will is used for the image when it is saved to disk.
It should not include the path. If a filename is not provided prior to the SaveChartToFile
method being used, then a unique filename will be automatically generated.
|