Commit aee979d 1 parent 49b902a commit aee979d Copy full SHA for aee979d
File tree 3 files changed +24
-27
lines changed
3 files changed +24
-27
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3184,7 +3184,7 @@ export interface ChartTypeRegistry {
3184
3184
scales : keyof CartesianScaleTypeRegistry ;
3185
3185
} ;
3186
3186
bubble : {
3187
- chartOptions : EmptyObject ;
3187
+ chartOptions : unknown ;
3188
3188
datasetOptions : BubbleControllerDatasetOptions ;
3189
3189
defaultDataPoint : BubbleDataPoint ;
3190
3190
parsedDataType : BubbleParsedData ;
@@ -3268,7 +3268,7 @@ export interface ChartData<
3268
3268
TData = DefaultDataPoint < TType > ,
3269
3269
TLabel = unknown
3270
3270
> {
3271
- labels : TLabel [ ] ;
3271
+ labels ? : TLabel [ ] ;
3272
3272
datasets : ChartDataset < TType , TData > [ ] ;
3273
3273
}
3274
3274
Original file line number Diff line number Diff line change
1
+ import { Chart , ChartOptions } from '../../index.esm' ;
2
+
3
+ const chart = new Chart ( 'test' , {
4
+ type : 'bubble' ,
5
+ data : {
6
+ datasets : [ ]
7
+ } ,
8
+ options : {
9
+ scales : {
10
+ x : {
11
+ min : 0 ,
12
+ max : 30 ,
13
+ ticks : { }
14
+ } ,
15
+ y : {
16
+ min : 0 ,
17
+ max : 30 ,
18
+ ticks : { } ,
19
+ } ,
20
+ }
21
+ }
22
+ } ) ;
You can’t perform that action at this time.
0 commit comments