Skip to content

Commit 208bc5e

Browse files
committed
variables updated
1 parent 5352fa2 commit 208bc5e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

client/packages/lowcoder-comps/src/comps/sunburstChartComp/sunburstChartComp.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232
echartsConfigOmitChildren,
3333
getEchartsConfig,
3434
getSelectedPoints,
35-
} from "../treeChartComp/treeChartUtils";
35+
} from "./sunburstChartUtils";
3636
import 'echarts-extension-gmap';
3737
import log from "loglevel";
3838

@@ -45,13 +45,13 @@ const chartModeOptions = [
4545
}
4646
] as const;
4747

48-
let TreeChartTmpComp = (function () {
48+
let SunburstChartTmpComp = (function () {
4949
return new UICompBuilder({mode:dropdownControl(chartModeOptions,'json'),...sunburstChartChildrenMap}, () => null)
5050
.setPropertyViewFn(sunburstChartPropertyView)
5151
.build();
5252
})();
5353

54-
TreeChartTmpComp = withViewFn(TreeChartTmpComp, (comp) => {
54+
SunburstChartTmpComp = withViewFn(SunburstChartTmpComp, (comp) => {
5555
const mode = comp.children.mode.getView();
5656
const onUIEvent = comp.children.onUIEvent.getView();
5757
const onEvent = comp.children.onEvent.getView();
@@ -199,7 +199,7 @@ function getYAxisFormatContextValue(
199199
return contextValue;
200200
}
201201

202-
TreeChartTmpComp = class extends TreeChartTmpComp {
202+
SunburstChartTmpComp = class extends SunburstChartTmpComp {
203203
private lastYAxisFormatContextVal?: JSONValue;
204204
private lastColorContext?: JSONObject;
205205

@@ -274,7 +274,7 @@ TreeChartTmpComp = class extends TreeChartTmpComp {
274274
}
275275
};
276276

277-
let TreeChartComp = withExposingConfigs(TreeChartTmpComp, [
277+
let SunburstChartComp = withExposingConfigs(SunburstChartTmpComp, [
278278
depsConfig({
279279
name: "selectedPoints",
280280
desc: trans("chart.selectedPointsDesc"),
@@ -301,7 +301,7 @@ let TreeChartComp = withExposingConfigs(TreeChartTmpComp, [
301301
]);
302302

303303

304-
export const SunburstChartCompWithDefault = withDefault(TreeChartComp, {
304+
export const SunburstChartCompWithDefault = withDefault(SunburstChartComp, {
305305
xAxisKey: "date",
306306
series: [
307307
{

0 commit comments

Comments
 (0)