跳到主要内容

modern-style-treemap

<data-view.modern-style-treemap>

data-view.modern-style-treemap

Examples

Basic

Playground

Properties

NameDescriptionTypeDefaultRequired
dataTreemapData
tailTailTypes TailTypes["treemapSquarify"]
leafUseBrick{ useBrick: UseBrickConf }
leafContainerStyleCSSProperties
tooltipUseBrick{ useBrick: UseBrickConf }
tooltipStyleCSSProperties

Events

NameDescriptionEvent Detail
treemap.clickTreemapData

Type references

TreemapData

NameTypeRequiredDescription
namestring
valuenumber
childrenTreemapData[]

TailTypesenum

treemapBinary = "treemapBinary",
treemapDice = "treemapDice",
treemapResquarify = "treemapResquarify",
treemapSlice = "treemapSlice",
treemapSliceDice = "treemapSliceDice",
treemapSquarify = "treemapSquarify",