stz-util Documentation - v2.0.3
Preparing search index...
TreemapChartBuilder
Interface TreemapChartBuilder
interface
TreemapChartBuilder
{
build
(
id
?:
string
)
:
ChartConfig
;
getChartData
(
uid
:
string
)
:
object
;
hasPlugin
(
pluginId
:
string
)
:
boolean
;
makeConfig
(
id
?:
string
)
:
ChartConfig
;
onResize
(
callback
:
(
chart
:
Chart
<
any
>
,
size
:
{
height
:
number
;
width
:
number
}
,
)
=>
void
,
)
:
this
;
removePlugin
(
pluginId
:
string
)
:
this
;
setBorderColor
(
borderColor
:
string
)
:
this
;
setBorderWidth
(
borderWidth
:
number
)
:
this
;
setChartData
(
uid
:
string
,
data
:
any
)
:
void
;
setColorKey
(
key
:
string
)
:
this
;
setLabelKey
(
key
:
string
)
:
this
;
setLegend
(
legendOptions
:
DeepPartial
<
LegendOptions
<
any
>
>
)
:
this
;
setPlugin
(
plugins
:
any
)
:
this
;
setSpacing
(
spacing
:
number
)
:
this
;
setTitle
(
titleOptions
:
CommonCartesianTitleConfig
)
:
this
;
setTreeData
(
data
:
any
[]
)
:
this
;
setValueKey
(
key
:
string
)
:
this
;
}
Hierarchy (
View Summary
)
ChartBuilder
<
"treemap"
>
TreemapChartBuilder
Implemented by
TreemapChartWrapper
Index
Methods
build
get
Chart
Data
has
Plugin
make
Config
on
Resize
remove
Plugin
set
Border
Color
set
Border
Width
set
Chart
Data
set
Color
Key
set
Label
Key
set
Legend
set
Plugin
set
Spacing
set
Title
set
Tree
Data
set
Value
Key
Methods
build
build
(
id
?:
string
)
:
ChartConfig
Parameters
Optional
id
:
string
Returns
ChartConfig
get
Chart
Data
getChartData
(
uid
:
string
)
:
object
Parameters
uid
:
string
Returns
object
has
Plugin
hasPlugin
(
pluginId
:
string
)
:
boolean
Parameters
pluginId
:
string
Returns
boolean
make
Config
makeConfig
(
id
?:
string
)
:
ChartConfig
Parameters
Optional
id
:
string
Returns
ChartConfig
on
Resize
onResize
(
callback
:
(
chart
:
Chart
<
any
>
,
size
:
{
height
:
number
;
width
:
number
}
,
)
=>
void
,
)
:
this
Parameters
callback
:
(
chart
:
Chart
<
any
>
,
size
:
{
height
:
number
;
width
:
number
}
)
=>
void
Returns
this
remove
Plugin
removePlugin
(
pluginId
:
string
)
:
this
Parameters
pluginId
:
string
Returns
this
set
Border
Color
setBorderColor
(
borderColor
:
string
)
:
this
Parameters
borderColor
:
string
Returns
this
set
Border
Width
setBorderWidth
(
borderWidth
:
number
)
:
this
Parameters
borderWidth
:
number
Returns
this
set
Chart
Data
setChartData
(
uid
:
string
,
data
:
any
)
:
void
Parameters
uid
:
string
data
:
any
Returns
void
set
Color
Key
setColorKey
(
key
:
string
)
:
this
Parameters
key
:
string
Returns
this
set
Label
Key
setLabelKey
(
key
:
string
)
:
this
Parameters
key
:
string
Returns
this
set
Legend
setLegend
(
legendOptions
:
DeepPartial
<
LegendOptions
<
any
>
>
)
:
this
Parameters
legendOptions
:
DeepPartial
<
LegendOptions
<
any
>
>
Returns
this
set
Plugin
setPlugin
(
plugins
:
any
)
:
this
Parameters
plugins
:
any
Returns
this
set
Spacing
setSpacing
(
spacing
:
number
)
:
this
Parameters
spacing
:
number
Returns
this
set
Title
setTitle
(
titleOptions
:
CommonCartesianTitleConfig
)
:
this
Parameters
titleOptions
:
CommonCartesianTitleConfig
Returns
this
set
Tree
Data
setTreeData
(
data
:
any
[]
)
:
this
Parameters
data
:
any
[]
Returns
this
set
Value
Key
setValueKey
(
key
:
string
)
:
this
Parameters
key
:
string
Returns
this
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
build
get
Chart
Data
has
Plugin
make
Config
on
Resize
remove
Plugin
set
Border
Color
set
Border
Width
set
Chart
Data
set
Color
Key
set
Label
Key
set
Legend
set
Plugin
set
Spacing
set
Title
set
Tree
Data
set
Value
Key
stz-util Documentation - v2.0.3
Loading...