Unverified Commit 5c63085e authored by qppq54s's avatar qppq54s Committed by GitHub

[refactor][web]update @antdesign/charts version to remove --force flag when…

[refactor][web]update @antdesign/charts version to remove --force flag when execute npm install (#3461)
parent 3528901c
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
], ],
"dependencies": { "dependencies": {
"@andrewray/react-multi-split-pane": "^0.3.5", "@andrewray/react-multi-split-pane": "^0.3.5",
"@ant-design/charts": "^1.4.3", "@ant-design/charts": "^2.1.1",
"@ant-design/icons": "^5.2.6", "@ant-design/icons": "^5.2.6",
"@ant-design/pro-components": "^2.6.43", "@ant-design/pro-components": "^2.6.43",
"@ant-design/pro-layout": "^7.17.16", "@ant-design/pro-layout": "^7.17.16",
......
...@@ -72,13 +72,15 @@ const FlinkChart = (props: FlinkChartProps) => { ...@@ -72,13 +72,15 @@ const FlinkChart = (props: FlinkChartProps) => {
const config = { const config = {
animation: false, animation: false,
data: data, data: data,
smooth: true, shapeField: 'smooth',
xField: 'time', xField: 'time',
yField: 'value', yField: 'value',
xAxis: { axis: {
type: 'time', x: {
mask: getLineTimeMask(data), type: 'time',
tickCount: 40 mask: getLineTimeMask(data),
tickCount: 40
}
}, },
...chartOptions ...chartOptions
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment