SwiftPieChart class
Simple PieChart
- Inheritance
-
- Object
- SwiftChart<
List< PieChartItem> > - SwiftPieChart
Constructors
- SwiftPieChart(DivElement container)
Properties
- canvas ↔ CanvasElement
-
getter/setter pairoverride
- container ↔ DivElement
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
no setterinherited
-
items
↔ List<
PieChartItem> -
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
no setterinherited
Methods
-
degreesToRadians(
double degrees) → double -
drawSegment(
CanvasRenderingContext2D ctx, PieChartItem item, double start, double total) → dynamic -
drawSegmentLabel(
CanvasRenderingContext2D ctx, PieChartItem item, double start, double total) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
) → dynamic -
override
-
renderText(
String text) → dynamic -
inherited
-
setColors(
List< String> colors) → dynamic -
setData(
List< PieChartItem> items) → dynamic -
inherited
-
startRender(
) → CanvasRenderingContext2D -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited