We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af7f08d commit 9b5c600Copy full SHA for 9b5c600
client/packages/lowcoder-comps/src/comps/chartComp/chartConfigs/themeriverChartConfig.tsx
@@ -0,0 +1,31 @@
1
+import {
2
+ BoolControl,
3
+ MultiCompBuilder,
4
+ showLabelPropertyView,
5
+} from "lowcoder-sdk";
6
+import { ThemeRiverSeriesOption } from "echarts";
7
+import { trans } from "i18n/comps";
8
+
9
+export const ThemeriverChartConfig = (function () {
10
+ return new MultiCompBuilder(
11
+ {
12
+ showLabel: BoolControl,
13
+ },
14
+ (props): ThemeRiverSeriesOption => {
15
+ const config: ThemeRiverSeriesOption = {
16
+ type: "themeRiver",
17
+ };
18
+ return config;
19
+ }
20
+ )
21
+ .setPropertyViewFn((children) => (
22
+ <>
23
+ {showLabelPropertyView(children)}
24
+ {children.type.propertyView({
25
+ label: trans("themeriverChart.themeriverType"),
26
+ radioButton: true,
27
+ })}
28
+ </>
29
+ ))
30
+ .build();
31
+})();
0 commit comments