Merge pull request #1043 from dataease/pr@dev@feat_chart_count

feat: 视图支持设置结果展示
This commit is contained in:
XiaJunjie2020 2021-10-28 18:05:09 +08:00 committed by GitHub
commit ac1425cf91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,