@@ -32,7 +32,7 @@ import {
32
32
echartsConfigOmitChildren ,
33
33
getEchartsConfig ,
34
34
getSelectedPoints ,
35
- } from "../treeChartComp/treeChartUtils " ;
35
+ } from "./sunburstChartUtils " ;
36
36
import 'echarts-extension-gmap' ;
37
37
import log from "loglevel" ;
38
38
@@ -45,13 +45,13 @@ const chartModeOptions = [
45
45
}
46
46
] as const ;
47
47
48
- let TreeChartTmpComp = ( function ( ) {
48
+ let SunburstChartTmpComp = ( function ( ) {
49
49
return new UICompBuilder ( { mode :dropdownControl ( chartModeOptions , 'json' ) , ...sunburstChartChildrenMap } , ( ) => null )
50
50
. setPropertyViewFn ( sunburstChartPropertyView )
51
51
. build ( ) ;
52
52
} ) ( ) ;
53
53
54
- TreeChartTmpComp = withViewFn ( TreeChartTmpComp , ( comp ) => {
54
+ SunburstChartTmpComp = withViewFn ( SunburstChartTmpComp , ( comp ) => {
55
55
const mode = comp . children . mode . getView ( ) ;
56
56
const onUIEvent = comp . children . onUIEvent . getView ( ) ;
57
57
const onEvent = comp . children . onEvent . getView ( ) ;
@@ -199,7 +199,7 @@ function getYAxisFormatContextValue(
199
199
return contextValue ;
200
200
}
201
201
202
- TreeChartTmpComp = class extends TreeChartTmpComp {
202
+ SunburstChartTmpComp = class extends SunburstChartTmpComp {
203
203
private lastYAxisFormatContextVal ?: JSONValue ;
204
204
private lastColorContext ?: JSONObject ;
205
205
@@ -274,7 +274,7 @@ TreeChartTmpComp = class extends TreeChartTmpComp {
274
274
}
275
275
} ;
276
276
277
- let TreeChartComp = withExposingConfigs ( TreeChartTmpComp , [
277
+ let SunburstChartComp = withExposingConfigs ( SunburstChartTmpComp , [
278
278
depsConfig ( {
279
279
name : "selectedPoints" ,
280
280
desc : trans ( "chart.selectedPointsDesc" ) ,
@@ -301,7 +301,7 @@ let TreeChartComp = withExposingConfigs(TreeChartTmpComp, [
301
301
] ) ;
302
302
303
303
304
- export const SunburstChartCompWithDefault = withDefault ( TreeChartComp , {
304
+ export const SunburstChartCompWithDefault = withDefault ( SunburstChartComp , {
305
305
xAxisKey : "date" ,
306
306
series : [
307
307
{
0 commit comments