Module: reefvision.widgets.graph

Source: ./reefvision/widgets/graph.reef


Overview

reefvision.widgets.graph — boxed one-series plot


Objects

Graph

Extends: view.View

Fields:

Name Type
samples [int]
cap int
count int
next_i int
fixed_max int

proc init(bounds: cell.Rect, cap: int)

Methods:

override shared fn wants_focus(): bool

exclusive proc set_fixed_max(m: int)

exclusive proc push(value: int)

exclusive proc clear()

exclusive fn sample_at(chron: int): int

override exclusive proc draw(buf: cell.CellBuffer, abs: cell.Rect, clip: cell.Rect, focused: bool, th: theme.Theme)


Generated by reefc doc