diff --git a/src/chart/sunburst/SunburstSeries.ts b/src/chart/sunburst/SunburstSeries.ts index 9ef36b54d5..0887e2fd7f 100644 --- a/src/chart/sunburst/SunburstSeries.ts +++ b/src/chart/sunburst/SunburstSeries.ts @@ -81,7 +81,7 @@ export interface SunburstSeriesNodeItemOption extends StatesOptionMixin, SunburstStatesMixin>, OptionDataItemObject { - nodeClick?: 'rootToNode' | 'link' + nodeClick?: 'rootToNode' | 'link' | false // Available when nodeClick is link link?: string target?: string @@ -138,7 +138,7 @@ export interface SunburstSeriesOption extends */ // highlightPolicy?: 'descendant' | 'ancestor' | 'self' - nodeClick?: 'rootToNode' | 'link' + nodeClick?: 'rootToNode' | 'link' | false renderLabelForZeroData?: boolean diff --git a/src/chart/treemap/TreemapSeries.ts b/src/chart/treemap/TreemapSeries.ts index 241837c9fc..78fb9cc3d8 100644 --- a/src/chart/treemap/TreemapSeries.ts +++ b/src/chart/treemap/TreemapSeries.ts @@ -192,7 +192,7 @@ export interface TreemapSeriesOption * be on left depth, the behaviour would be changing root. Otherwise * use behavious defined above. */ - nodeClick?: 'zoomToNode' | 'link' + nodeClick?: 'zoomToNode' | 'link' | false breadcrumb?: BoxLayoutOptionMixin & { show?: boolean