@@ -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 { GaugeChartConfig } from "../chartComp/chartConfigs/gaugeChartConfig" ;
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 ) ,
258
260
legendVisibility : withDefault ( BoolControl , true ) ,
261
+ label : withDefault ( BoolControl , true ) ,
262
+ left :withDefault ( NumberControl , trans ( 'gaugeChart.defaultLeft' ) ) ,
263
+ top :withDefault ( NumberControl , trans ( 'gaugeChart.defaultTop' ) ) ,
264
+ bottom :withDefault ( NumberControl , trans ( 'gaugeChart.defaultBottom' ) ) ,
265
+ width :withDefault ( NumberControl , trans ( 'gaugeChart.defaultWidth' ) ) ,
266
+ min :withDefault ( NumberControl , trans ( 'gaugeChart.defaultMin' ) ) ,
267
+ max :withDefault ( NumberControl , trans ( 'gaugeChart.defaultMax' ) ) ,
268
+ gap :withDefault ( NumberControl , trans ( 'gaugeChart.defaultGap' ) )
259
269
}
260
270
261
271
const chartMapModeChildren = {
0 commit comments