Commit de9e8dee by 李伟康

commit 测试

1 parent 48c3fa53
...@@ -32,16 +32,15 @@ export const xAxisConfig = (params) => { ...@@ -32,16 +32,15 @@ export const xAxisConfig = (params) => {
splitLine: { splitLine: {
show: false show: false
}, },
splitNumber: allYear ? 12 : 10, splitNumber: allYear ? 11 : 10,
axisLabel: { axisLabel: {
showMaxLabel: true, showMaxLabel: true,
formatter: allYear? '{MM}月' :'{MM}/{dd}' formatter: function (value, index) {
// function (value, index) { let str = ''
// let str = '' str = allYear ? `${dayjs(value).format('MM月')}, ${index}, ${value}` : dayjs(value).format('MM/DD')
// str = allYear ? dayjs(value).format('MM月') : dayjs(value).format('MM/DD') return str
// return str
// } }
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!