SwiftTimeChart class

Chart that renders datapoints indexed by milisecondsSinceEpoch

Inheritance

Constructors

SwiftTimeChart(CanvasElement canvas)

Properties

canvas CanvasElement
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
items Map<int, double>
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueStepsCount int
getter/setter pair

Methods

forceTwoDigits(int i) String
getMagnitude(double value) double
getTimeLabels(int minTime, int maxTime) Map<int, String>
getValueLabels(double minValue, double maxValue, double magnitude) List<String>
measureText(CanvasRenderingContext2D ctx, String text) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render() → dynamic
override
renderText(String text) → dynamic
inherited
setData(Map<int, double> items) → dynamic
inherited
setLineColor(String color) → dynamic
setLineWidth(int width) → dynamic
setPointSize(int size) → dynamic
startRender() CanvasRenderingContext2D
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited