[+] Add y axis label
This commit is contained in:
@@ -46,6 +46,10 @@ export default class OverallLine extends Vue
|
|||||||
},
|
},
|
||||||
yAxis:
|
yAxis:
|
||||||
{
|
{
|
||||||
|
axisLabel:
|
||||||
|
{
|
||||||
|
formatter: (name: any) => name + '%'
|
||||||
|
},
|
||||||
min: (value: any) => Math.floor(value.min),
|
min: (value: any) => Math.floor(value.min),
|
||||||
max: (value: any) => Math.min(Math.ceil(value.max), 110)
|
max: (value: any) => Math.min(Math.ceil(value.max), 110)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user