mirror of
https://github.com/apache/superset.git
synced 2026-06-09 09:39:25 +00:00
fix(plugin-chart-echarts): enable animation to clear old nodes (#1200)
* fix(plugin-chart-echarts): enable animation to clear old nodes * use same color scheme as rest of dashboard
This commit is contained in:
committed by
Yongjie Zhao
parent
895d9d325d
commit
f27c2ee528
@@ -205,7 +205,7 @@ export default function transformProps(
|
||||
colorSaturation: COLOR_SATURATION,
|
||||
itemStyle: {
|
||||
borderColor: BORDER_COLOR,
|
||||
color: colorFn(`${child.name}_${depth}`),
|
||||
color: colorFn(`${child.name}`),
|
||||
borderWidth: BORDER_WIDTH,
|
||||
gapWidth: GAP_WIDTH,
|
||||
},
|
||||
@@ -248,7 +248,6 @@ export default function transformProps(
|
||||
const series: TreemapSeriesOption[] = [
|
||||
{
|
||||
type: 'treemap',
|
||||
animation: false,
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
nodeClick: undefined,
|
||||
|
||||
Reference in New Issue
Block a user