Commit c9a97a86 by crushh

Merge branch 'feature/ai营销二期' into master

parents b9d7d701 97c3087b
......@@ -266,7 +266,7 @@ export default {
const chart = new G2.Chart({
container: 'chart-tag',
forceFit: true,
height: 220,
height: 260,
padding: 0
});
chart.source(data.filter(el => el.count > 0));
......@@ -282,7 +282,7 @@ export default {
.label('percent', val => {
return {
formatter: (text, item) => {
return item.point.label + '\n' + item.point.percent;
return item.point.label + ' ' + item.point.percent;
}
};
})
......@@ -313,7 +313,7 @@ export default {
const chart = new G2.Chart({
container: 'chart-record',
forceFit: true,
height: 220,
height: 260,
padding: 0
});
chart.source(data.filter(el => el.count > 0));
......@@ -330,7 +330,7 @@ export default {
.label('percent', () => {
return {
formatter: (text, item) => {
return item.point.label + '\n' + item.point.percent;
return item.point.label + ' ' + item.point.percent;
}
};
})
......
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