[S] Optimize x axis label
This commit is contained in:
@@ -50,7 +50,11 @@ export default class OverallLine extends Vue
|
|||||||
// Axis
|
// Axis
|
||||||
xAxis:
|
xAxis:
|
||||||
{
|
{
|
||||||
type: 'time'
|
type: 'time',
|
||||||
|
axisLabel:
|
||||||
|
{
|
||||||
|
formatter: (name: any) => moment(name).format('MMM DD')
|
||||||
|
},
|
||||||
},
|
},
|
||||||
yAxis:
|
yAxis:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user