#ZedGraphTrendChart
##Properties
| Datatype | Property name | Property description | Default Value |
|---|---|---|---|
| ChartDataGeneratorBase | DataGenerator | Gets the data generation mechanism that will be used for this chart. | null |
| Boolean | ForceSize | Gets or sets whether the height and width of the chart will be set at a fixed number defined by the chart or dynamic according to size requirements. | False |
| Unit | Height | Gets or sets the height of the chart. When not set manually, this defaults to use AdHocSettings.ChartSize.Y. | 300px |
| ChartItemCollection | Items | Gets the list of Izenda.AdHoc.ChartItem objects that form the labels and values for the chart. | null |
| String | Name | Gets or sets the name that identifies what type of chart is being created. | Trend |
| ChartPropertyCollection | Properties | Gets the collection of chart properties that are used to control various settings. | {ShowLegend, ShowValueLabels} |
| Boolean | UsePredefinedColors | Gets or sets whether to use colors for a ZedGraph chart that were defined as part of the initialization process of the chart. | True |
| Unit | Width | Gets or sets the width of the chart. When not set manually, this defaults to use AdHocSettings.ChartSize.X. | 700px |
##Methods
###CreateDataGenerator() Gets the mechanism for this trend chart that loads and formats data.
Returns:
A new Izenda.AdHoc.PieChartDataGenerator to be used with the chart for loading labels and values.
###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.
Parameters:
- System.Object obj - The System.Object to compare with the current System.Object.
Returns:
true if the specified System.Object is equal to the current System.Object; otherwise, false.
###GetChartProperty(Izenda.AdHoc.Report,System.String) Gets the value of the property in the specified report using the specified property name.
Parameters:
- Izenda.AdHoc.Report report - The Izenda.AdHoc.Report that is associated with the chart and contains the chart properties.
- System.String name - The System.String representation of the name of the property.
Returns:
The value of the chart property that was requested.
###GetFormat(System.String) Extracts the formatting portion of the format string specified for use on a ZedGraph chart.
Parameters:
- System.String s - The System.String representation of the complete format string to be processed.
Returns:
The relevant portion of the format string that is applied to the ZedGraph chart.
###GetHashCode() Serves as a hash function for a particular type.
Returns:
A hash code for the current System.Object.
###GetType() Gets the System.Type of the current instance.
Returns:
The System.Type instance that represents the exact runtime type of the current instance.
###Render(Izenda.AdHoc.Report,System.String)
Parameters:
- Izenda.AdHoc.Report report
- System.String mwSet
###Render(Izenda.AdHoc.Report,System.Drawing.Graphics) Draws the chart to the provided GDI+ drawing surface.
Parameters:
- Izenda.AdHoc.Report report - The Izenda.AdHoc.Report that will be used to determine several charting options.
- System.Drawing.Graphics g - The graphics container that the rendered chart will be output to.
###Render(Izenda.AdHoc.Report) Draws the chart to a bitmap image for use in a stream.
Parameters:
- Izenda.AdHoc.Report report - The Izenda.AdHoc.Report that will be used to determine several charting options.
Returns:
The System.Web.UI.Control that contains the HTML of the HighChart object.
###Render(Izenda.AdHoc.Report,System.IO.Stream,System.Drawing.Imaging.ImageFormat) Draws the HTML for the chart to the specified stream as an image.
Parameters:
- Izenda.AdHoc.Report report - The Izenda.AdHoc.Report that will be used to determine several charting options.
- System.IO.Stream s - The System.IO.Stream containing
- System.Drawing.Imaging.ImageFormat format - The output height that the chart will be after it is rendered.
Returns:
The System.Web.UI.Control that contains the HTML of the HighChart object.
###SetData(System.Data.DataTable) Represents a method that loads the data for the chart from the specified System.Data.DataTable using the data generator associated with it.
Parameters:
- System.Data.DataTable dataTable - The System.Data.DataTable that holds the labels, values, and possibly a separator field for the chart.
###ToString() Returns a System.String that represents the current System.Object.
Returns:
A System.String that represents the current System.Object.
