feat: 视图支持设置结果展示

This commit is contained in:
junjie 2021-10-28 18:02:56 +08:00
parent b72b3bcca3
commit 5d57b7ad1e
2 changed files with 8 additions and 2 deletions

View File

@ -102,7 +102,9 @@
`ext_stack`,
`ext_bubble`,
`y_axis_ext`,
`render`
`render`,
`result_count`,
`result_mode`
) SELECT
#{newChartId},
GET_CHART_VIEW_COPY_NAME ( #{oldChartId} ),
@ -123,7 +125,9 @@
`ext_stack`,
`ext_bubble`,
`y_axis_ext`,
`render`
`render`,
`result_count`,
`result_mode`
FROM
chart_view
WHERE

View File

@ -730,6 +730,8 @@ export default {
view.tableId = this.table.id
view.type = 'bar'
view.render = 'antv'
view.resultMode = 'custom'
view.resultCount = 1000
view.customAttr = JSON.stringify({
color: DEFAULT_COLOR_CASE,
tableColor: DEFAULT_COLOR_CASE,