Candle class

A candlestick OHLC chart for stocks and financial data.

CandlestickChart(
  candles: [
    Candle(open: 100, high: 120, low: 90, close: 115, date: 'Mon'),
    ...
  ],
)

Constructors

Candle({required double open, required double high, required double low, required double close, String date = '', double? volume})
const

Properties

close → double
final
date → String
final
hashCode → int
The hash code for this object.
no setterinherited
high → double
final
isBullish → bool
no setter
low → double
final
open → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
volume → double?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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