PieChartSection
PieChartSection
#
Bases: BaseControl
Configures a PieChart section.
RAISES | DESCRIPTION |
---|---|
AssertionError
|
If |
badge_position
#
badge_position: Number | None = None
The position/offset of the badge relative to the section's center.
By default the badge is drawn in the middle of the section.
Note
Must be between 0.0
(near the center)
and 1.0
(near the outside of the chart) inclusive.
border_side
#
border_side: BorderSide = field(
default_factory=lambda: none()
)
The border around section shape.
page
#
The page (of type Page
or PageView
) to which this control belongs to.
parent
#
parent: BaseControl | None
The direct ancestor(parent) of this control.
It defaults to None
and will only have a value when this control is mounted (added to the page tree).
The Page
control (which is the root of the tree) is an exception - it always has parent=None
.
title_position
#
title_position: Number | None = None
The position/offset of the title relative to the section's center.
By default the title is drawn in the middle of the section.
Note
Must be between 0.0
(near the center)
and 1.0
(near the outside of the chart) inclusive.