Chart is an object utilized by the Line Chart object to display charts and customize them with the flexibility to allow modification to the data of the chart to a certain extent.
Declaration Syntax
public class Chart : ReadOnlyChart, IChart
Table 67: Members
Property | Datasets |
Retrieves all datasets of a chart. (Inherited from ReadOnlyChart.) |
Property | NormalizeYAxis |
Allows a normalized display of y-axis values, usually for cases where the axis has mixed quantities. An InvalidOperationException will be thrown if attempting to set to False, when the Y axis datasets have incompatible Quantity types and the UseAutomaticLimits property is also set to False. (Inherited from ReadOnlyChart.) |
Property | XAxisDisplayOptions |
Returns a reference to the x-axis display options of a chart. (Inherited from ReadOnlyChart.) |
Property | YAxisDisplayOptions |
Returns a reference to the y-axis display options of a chart. (Inherited from ReadOnlyChart.) |
Method | AddDataset(Dataset2D, string) |
Adds a dataset to a chart, provided the data is valid. Adding a name for the dataset is optional, the default name for the nth dataset added is “Series n”. An InvalidOperationException is thrown if the dataset is either invalid, already added to the chart, or contains non-positive values when the chart has IsLogarithmic enabled. |
Method | RemoveDataset(Dataset2D) |
Removes a dataset from the chart. |