Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
fix(plugin-chart-echarts): [treemap v2] the section color and disabli…
Browse files Browse the repository at this point in the history
…ng the zoom on the explore
  • Loading branch information
stephenLYZ authored Jun 17, 2021
1 parent f059a81 commit b9e6268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/plugin-chart-echarts/src/Treemap/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { TreePathInfo } from './types';

export const COLOR_SATURATION = [0.4, 0.7];
export const COLOR_SATURATION = [0.7, 0.4];
export const LABEL_FONTSIZE = 11;
export const BORDER_WIDTH = 2;
export const GAP_WIDTH = 2;
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-chart-echarts/src/Treemap/transformProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export default function transformProps(
animation: false,
width: '100%',
height: '100%',
nodeClick: dashboardId ? undefined : 'zoomToNode',
nodeClick: undefined,
roam: !dashboardId,
breadcrumb: {
show: false,
Expand Down

1 comment on commit b9e6268

@vercel
Copy link

@vercel vercel bot commented on b9e6268 Jun 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.