fix color type & add background and border color (#8110)

This commit is contained in:
Mostafa Sameti 2020-11-28 23:36:38 +03:30 committed by GitHub
parent 61aea761f4
commit f014873864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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