Thanks to visit codestin.com Credit goes to github.com
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 bf1bad0 commit b9b30a8Copy full SHA for b9b30a8
‎client/packages/lowcoder-comps/src/comps/chartComp/chartConfigs/radarChartConfig.tsx
@@ -0,0 +1,31 @@
1
+import {
2
+ BoolControl,
3
+ MultiCompBuilder,
4
+ showLabelPropertyView,
5
+} from "lowcoder-sdk";
6
+import { RadarSeriesOption } from "echarts";
7
+import { trans } from "i18n/comps";
8
+
9
+export const RadarChartConfig = (function () {
10
+ return new MultiCompBuilder(
11
+ {
12
+ showLabel: BoolControl,
13
+ },
14
+ (props): RadarSeriesOption => {
15
+ const config: RadarSeriesOption = {
16
+ type: "radar",
17
+ };
18
+ return config;
19
+ }
20
+ )
21
+ .setPropertyViewFn((children) => (
22
+ <>
23
+ {showLabelPropertyView(children)}
24
+ {children.type.propertyView({
25
+ label: trans("radarChart.radarType"),
26
+ radioButton: true,
27
+ })}
28
+ </>
29
+ ))
30
+ .build();
31
+})();
0 commit comments