mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
For types/chart.js, added lineHeight/padding to ScaleTitleOptions
This commit is contained in:
parent
7d91d6eb32
commit
0a3dbd08d2
@ -115,7 +115,9 @@ const scaleOptions: Chart.RadialLinearScale = {
|
||||
lineArc: false,
|
||||
display: false,
|
||||
scaleLabel: {
|
||||
display: false
|
||||
display: false,
|
||||
lineHeight: 1,
|
||||
padding: 0,
|
||||
},
|
||||
};
|
||||
const radarChartOptions: Chart.RadialChartOptions = {
|
||||
|
||||
2
types/chart.js/index.d.ts
vendored
2
types/chart.js/index.d.ts
vendored
@ -426,10 +426,12 @@ declare namespace Chart {
|
||||
interface ScaleTitleOptions {
|
||||
display?: boolean;
|
||||
labelString?: string;
|
||||
lineHeight?: number | string;
|
||||
fontColor?: ChartColor;
|
||||
fontFamily?: string;
|
||||
fontSize?: number;
|
||||
fontStyle?: string;
|
||||
padding?: ChartLayoutPaddingObject | number;
|
||||
}
|
||||
|
||||
interface TickOptions extends NestedTickOptions {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user