CandlestickShape class

A candle stick shape.

The points order of measure dimension is appointed as:

[star, end, max, min]

And the end point is regarded as represent point.

** We insist that the price of a subject matter of investment is determined by its intrinsic value. Too much attention to the short-term fluctuations in prices is harmful. Thus a candlestick chart may misslead your investment decision.**

Inheritance

Constructors

CandlestickShape({bool hollow = true, double strokeWidth = 1})
Creates a candle stick shape.

Properties

defaultSize double
The default size of the shape if Attributes.size is null.
read-onlyoverride
hashCode int
The hash code for this object.
read-onlyinherited
hollow bool
whether the sticks are hollow.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
strokeWidth double
The stroke width of the stick.
final

Methods

drawGroupLabels(List<Attributes> group, CoordConv coord, Offset origin) List<MarkElement<ElementStyle>>
Renders label elements of all tuples of a group.
override
drawGroupPrimitives(List<Attributes> group, CoordConv coord, Offset origin) List<MarkElement<ElementStyle>>
Renders primitive elements of all tuples of a group.
override
equalTo(Object other) bool
Checks the equlity of two specs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
representPoint(List<Offset> position) Offset
Gets the represent point of Attributes.position points.
override
toString() String
A string representation of this object.
inherited

Operators

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