feat(plugin-chart-echarts): [feature-parity] support extra control for the area chart V2 (#16493)

* feat(echarts): [feature-parity] support extra control

* add extra control for plugin

* refactor: extract ExtraControl

* fix: lint

* fix some problems
This commit is contained in:
Stephen Liu
2022-06-09 00:59:10 +08:00
committed by GitHub
parent 0238492df7
commit eab0009101
19 changed files with 349 additions and 70 deletions

View File

@@ -108,7 +108,7 @@ export const legendSection: ControlSetRow[] = [
[legendMarginControl],
];
const showValueControl: ControlSetItem = {
export const showValueControl: ControlSetItem = {
name: 'show_value',
config: {
type: 'CheckboxControl',
@@ -119,7 +119,7 @@ const showValueControl: ControlSetItem = {
},
};
const stackControl: ControlSetItem = {
export const stackControl: ControlSetItem = {
name: 'stack',
config: {
type: 'CheckboxControl',
@@ -130,7 +130,7 @@ const stackControl: ControlSetItem = {
},
};
const onlyTotalControl: ControlSetItem = {
export const onlyTotalControl: ControlSetItem = {
name: 'only_total',
config: {
type: 'CheckboxControl',