Crate rt_graph

Source
Expand description

A real-time graphing experiment.

rt-graph uses GTK (via the gtk-rs Rust bindings) for its UI and is designed to be embedded into any gtk::Container in your application.

Modules§

observable_value
An implementation of the Observer pattern.

Structs§

Color
A color in RGB format.
Config
The configuration required by a Graph or GraphWithControls
ConfigBuilder
Builder for Config.
Graph
A GTK widget that draws a graph.
GraphWithControls
A GTK widget that contains a graph and controls to navigate it.
NullDataSource
A DataSource that returns no data points.
Point
A data point on a graph.
Signal
Implements a broadcast-listener / callback / observable pattern.
TestDataGenerator
A struct that implements DataSource by showing dummy test data.
View
Describes what is currently showing on the graph.

Enums§

Error
Represents an error that could occur using the crate
PointStyle
The style of point to draw
ViewMode
Describes the display mode of the graph

Traits§

DataSource
Implement this to get your own data into a Graph.

Type Aliases§

Result
Represents either a value or an error from the crate.
Time
A point in time when a data point was emitted.
Value
The value of a data point