mirror of
https://github.com/apache/superset.git
synced 2026-05-10 02:15:50 +00:00
minor progress
This commit is contained in:
@@ -252,7 +252,6 @@ export default function transformProps(
|
||||
label: {
|
||||
show: true,
|
||||
fontWeight: 'bold',
|
||||
backgroundColor: theme.colors.grayscale.light5,
|
||||
},
|
||||
},
|
||||
data: transformedData,
|
||||
|
||||
@@ -20,6 +20,7 @@ import {
|
||||
getMetricLabel,
|
||||
DataRecordValue,
|
||||
tooltipHtml,
|
||||
themeObject,
|
||||
} from '@superset-ui/core';
|
||||
import type { EChartsCoreOption } from 'echarts/core';
|
||||
import type { TreeSeriesOption } from 'echarts/charts';
|
||||
@@ -181,7 +182,7 @@ export default function transformProps(
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
const { theme } = themeObject;
|
||||
const series: TreeSeriesOption[] = [
|
||||
{
|
||||
type: 'tree',
|
||||
@@ -189,6 +190,7 @@ export default function transformProps(
|
||||
label: {
|
||||
...DEFAULT_TREE_SERIES_OPTION.label,
|
||||
position: nodeLabelPosition,
|
||||
color: theme.colorText,
|
||||
},
|
||||
emphasis: { focus: emphasis },
|
||||
animation: DEFAULT_TREE_SERIES_OPTION.animation,
|
||||
|
||||
Reference in New Issue
Block a user