mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
added fill type to line in options object and to radar dataset options (#9284)
This commit is contained in:
parent
2768c7dea7
commit
8d3b64bb3c
6
types/index.esm.d.ts
vendored
6
types/index.esm.d.ts
vendored
@ -1702,6 +1702,10 @@ export interface LineOptions extends CommonElementOptions {
|
||||
* @default false
|
||||
*/
|
||||
stepped: 'before' | 'after' | 'middle' | boolean;
|
||||
/**
|
||||
* Both line and radar charts support a fill option on the dataset object which can be used to create area between two datasets or a dataset and a boundary, i.e. the scale origin, start or end
|
||||
*/
|
||||
fill: FillTarget | ComplexFillTarget;
|
||||
|
||||
segment: {
|
||||
backgroundColor: Scriptable<Color|undefined, ScriptableLineSegmentContext>,
|
||||
@ -3330,7 +3334,7 @@ export interface ChartTypeRegistry {
|
||||
};
|
||||
radar: {
|
||||
chartOptions: RadarControllerChartOptions;
|
||||
datasetOptions: RadarControllerDatasetOptions;
|
||||
datasetOptions: RadarControllerDatasetOptions & FillerControllerDatasetOptions;
|
||||
defaultDataPoint: number | null;
|
||||
parsedDataType: RadialParsedData;
|
||||
scales: keyof RadialScaleTypeRegistry;
|
||||
|
Loading…
Reference in New Issue
Block a user