@@ -31,6 +31,7 @@ import { SeriesListComp } from "../chartComp/seriesComp";
31
31
import { EChartsOption } from "echarts" ;
32
32
import { i18nObjs , trans } from "i18n/comps" ;
33
33
import { FunnelChartConfig } from "../chartComp/chartConfigs/funnelChartConfig" ;
34
+ import { EchartsTitleConfig } from "comps/chartComp/chartConfigs/echartsTitleConfig" ;
34
35
35
36
export const ChartTypeOptions = [
36
37
{
@@ -253,9 +254,18 @@ const chartJsonModeChildren = {
253
254
echartsLegendConfig : EchartsLegendConfig ,
254
255
echartsLabelConfig : EchartsLabelConfig ,
255
256
echartsConfig : EchartsOptionComp ,
257
+ echartsTitleConfig :EchartsTitleConfig ,
256
258
style : styleControl ( EchartsStyle ) ,
257
259
tooltip : withDefault ( BoolControl , true ) ,
260
+ label : withDefault ( BoolControl , true ) ,
258
261
legendVisibility : withDefault ( BoolControl , true ) ,
262
+ left :withDefault ( NumberControl , trans ( 'funnelChart.defaultLeft' ) ) ,
263
+ top :withDefault ( NumberControl , trans ( 'funnelChart.defaultTop' ) ) ,
264
+ bottom :withDefault ( NumberControl , trans ( 'funnelChart.defaultBottom' ) ) ,
265
+ width :withDefault ( NumberControl , trans ( 'funnelChart.defaultWidth' ) ) ,
266
+ min :withDefault ( NumberControl , trans ( 'funnelChart.defaultMin' ) ) ,
267
+ max :withDefault ( NumberControl , trans ( 'funnelChart.defaultMax' ) ) ,
268
+ gap :withDefault ( NumberControl , trans ( 'funnelChart.defaultGap' ) )
259
269
}
260
270
261
271
const chartMapModeChildren = {
0 commit comments