Skip to content

Commit 87546be

Browse files
committed
charts constants updated
1 parent 9d78a15 commit 87546be

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

client/packages/lowcoder-comps/src/comps/chartComp/chartConstants.tsx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,20 @@ const chartModeOptions = [
6262
},
6363
] as const;
6464

65+
const mapModeOptions = [
66+
{
67+
label: "Map",
68+
value: "map",
69+
},
70+
] as const;
71+
72+
const eChartModeOptions = [
73+
{
74+
label: "ECharts JSON",
75+
value: "json",
76+
},
77+
] as const;
78+
6579
export const UIEventOptions = [
6680
{
6781
label: trans("chart.select"),
@@ -285,7 +299,6 @@ export type NonUIChartDataType = {
285299
}
286300

287301
export const chartChildrenMap = {
288-
mode: dropdownControl(chartModeOptions, "ui"),
289302
selectedPoints: stateComp<Array<UIChartDataType>>([]),
290303
lastInteractionData: stateComp<Array<UIChartDataType> | NonUIChartDataType>({}),
291304
onEvent: eventHandlerControl([clickEvent] as const),

0 commit comments

Comments
 (0)