class

Ping::ChartRenderer

Inherits Reference < Object

Constants

ROWS = [ChartRow.new("24H", 24.hours, 6.hours, 1.hour), ChartRow.new("1H", 1.hour, 10.minutes, 1.minute), ChartRow.new("10M", 10.minutes, 1.minute, 10.seconds), ChartRow.new("1M", 1.minute, 10.seconds, 1.second)] of ChartRow
TICK_RESERVED = 8.0

Constructors

new(settings : Settings, history : HistoryStore, label_font : UIng::FontDescriptor, title_font : UIng::FontDescriptor)
Source

Instance methods

draw(params : UIng::Area::Draw::Params, running : Bool, current_host : String | Nil, interval_ms : Int32, stopped_at : Time | Nil) : Nil
Source