LineChartDatasetFillToDataset(ChartDataNullableTimeChartItem, ChartDatasetNullableTimeChartItem, Boolean) Method

Fill between this dataset and the other dataset, specified by passing a dataset in the same chart.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public LineChartDataset FillToDataset(
	ChartData<TimeChartItem?> chartData,
	ChartDataset<TimeChartItem?> dataset,
	bool relativeIndex = false
)

Parameters

chartData  ChartDataNullableTimeChartItem
The chart data of the chart both datasets live in.
dataset  ChartDatasetNullableTimeChartItem
The other dataset to fill to.
relativeIndex  Boolean  (Optional)
Whether to specify the fill index relative ("+/-n" string) or absolute (as zero-based int)

Return Value

LineChartDataset
The dataset, for method chaining

Exceptions

ArgumentExceptionIf any of the datasets is not in the chart data, or if both datasets are the same.
ArgumentNullExceptionThrown if chartData or dataset is .

See Also