Skip to content

Commit 26ec313

Browse files
committed
funnel chart constants updated
1 parent b96deeb commit 26ec313

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

client/packages/lowcoder-comps/src/comps/funnelChartComp/funnelChartConstants.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import { SeriesListComp } from "../chartComp/seriesComp";
3131
import { EChartsOption } from "echarts";
3232
import { i18nObjs, trans } from "i18n/comps";
3333
import { FunnelChartConfig } from "../chartComp/chartConfigs/funnelChartConfig";
34+
import { EchartsTitleConfig } from "comps/chartComp/chartConfigs/echartsTitleConfig";
3435

3536
export const ChartTypeOptions = [
3637
{
@@ -253,9 +254,18 @@ const chartJsonModeChildren = {
253254
echartsLegendConfig: EchartsLegendConfig,
254255
echartsLabelConfig: EchartsLabelConfig,
255256
echartsConfig: EchartsOptionComp,
257+
echartsTitleConfig:EchartsTitleConfig,
256258
style: styleControl(EchartsStyle),
257259
tooltip: withDefault(BoolControl, true),
260+
label: withDefault(BoolControl, true),
258261
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'))
259269
}
260270

261271
const chartMapModeChildren = {

0 commit comments

Comments
 (0)