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.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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