HtmlForgeX

API Reference

Class

ChartXkcdDataset

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers sealed

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.

Accepted by parameters

Constructors

Methods

public ChartXkcdDataset AddData(Double value) #
Returns: ChartXkcdDataset

Adds a numeric data value.

Parameters

value System.Double requiredposition: 0
public ChartXkcdDataset AddPoint(Double x, Double y) #
Returns: ChartXkcdDataset

Adds an XY point.

Parameters

x System.Double requiredposition: 0
y System.Double requiredposition: 1
public ChartXkcdDataset SetData(params Double[] values) #
Returns: ChartXkcdDataset

Replaces the numeric data values.

Parameters

values System.Double[] requiredposition: 0
public ChartXkcdDataset SetLabel(String label) #
Returns: ChartXkcdDataset

Sets the dataset label.

Parameters

label System.String requiredposition: 0
public ChartXkcdDataset SetType(ChartXkcdDatasetType type) #
Returns: ChartXkcdDataset

Sets the dataset render type for combined charts.

Parameters

type HtmlForgeX.ChartXkcdDatasetType requiredposition: 0

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.