Skip to content

Commit

Permalink
Merge pull request #17218 from dmzc/5.3.2
Browse files Browse the repository at this point in the history
fix(types): fix `SunburstSeriesOption` and `TreemapSeriesOption` types
  • Loading branch information
Ovilia authored Jun 16, 2022
2 parents 11a9247 + 821b24a commit 18c3337
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/chart/sunburst/SunburstSeries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export interface SunburstSeriesNodeItemOption extends
StatesOptionMixin<SunburstStateOption<CallbackDataParams>, SunburstStatesMixin>,
OptionDataItemObject<OptionDataValue>
{
nodeClick?: 'rootToNode' | 'link'
nodeClick?: 'rootToNode' | 'link' | false
// Available when nodeClick is link
link?: string
target?: string
Expand Down Expand Up @@ -138,7 +138,7 @@ export interface SunburstSeriesOption extends
*/
// highlightPolicy?: 'descendant' | 'ancestor' | 'self'

nodeClick?: 'rootToNode' | 'link'
nodeClick?: 'rootToNode' | 'link' | false

renderLabelForZeroData?: boolean

Expand Down
2 changes: 1 addition & 1 deletion src/chart/treemap/TreemapSeries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18c3337

Please sign in to comment.