API Reference
Class
ChartXkcdDataset
Dataset builder for chart.xkcd charts.
Inheritance
- Object
- ChartXkcdDataset
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method ChartXkcdDataset.AddData
- Method ChartXkcdDataset.AddPoint
- Method ChartXkcdDataset.SetData
- Method ChartXkcdDataset.SetLabel
- Method ChartXkcdDataset.SetType
Accepted by parameters
- Method ChartXkcd.AddDataset
Constructors
public ChartXkcdDataset() #Methods
public ChartXkcdDataset AddData(Double value) #Returns:
ChartXkcdDatasetAdds a numeric data value.
Parameters
- value System.Double
public ChartXkcdDataset AddPoint(Double x, Double y) #Returns:
ChartXkcdDatasetAdds an XY point.
Parameters
- x System.Double
- y System.Double
public ChartXkcdDataset SetData(params Double[] values) #Returns:
ChartXkcdDatasetReplaces the numeric data values.
Parameters
- values System.Double[]
public ChartXkcdDataset SetLabel(String label) #Returns:
ChartXkcdDatasetSets the dataset label.
Parameters
- label System.String
public ChartXkcdDataset SetType(ChartXkcdDatasetType type) #Returns:
ChartXkcdDatasetSets the dataset render type for combined charts.
Parameters
- type HtmlForgeX.ChartXkcdDatasetType
Inherited Methods
Properties
public String Label { get; set; } #Gets or sets the dataset label.
public List<Double> Data { get; } #Gets the numeric values for categorical charts.
public List<ChartXkcdPoint> Points { get; } #Gets the XY points for XY charts.
public Nullable<ChartXkcdDatasetType> RenderType { get; set; } #Gets the chart.xkcd combined-chart dataset type.