mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
fix color type & add background and border color (#8110)
This commit is contained in:
parent
61aea761f4
commit
f014873864
12
types/core/interfaces.d.ts
vendored
12
types/core/interfaces.d.ts
vendored
@ -99,7 +99,17 @@ export interface CoreChartOptions extends ParsingOptions {
|
||||
* base color
|
||||
* @see Defaults.color
|
||||
*/
|
||||
color: string;
|
||||
color: Color;
|
||||
/**
|
||||
* base background color
|
||||
* @see Defaults.backgroundColor
|
||||
*/
|
||||
backgroundColor: Color;
|
||||
/**
|
||||
* base border color
|
||||
* @see Defaults.borderColor
|
||||
*/
|
||||
borderColor: Color;
|
||||
/**
|
||||
* base font
|
||||
* @see Defaults.font
|
||||
|
Loading…
Reference in New Issue
Block a user