Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GTK2/3/4 LiveGraph Widget

A single-file live-updating graph widget written in C that compiles against GTK 2, GTK 3 and GTK 4 from the same source.

Screenshots

livegraph

  • livegraph.png — captured from the running demo (main.c).

Features

  • Support live data dynamic range changes - autoscales and auto time axis.
  • Supports dark/light theme with auto visible color setup.
  • Large magnitudes are shown with a compact suffix: K (1e3), M (1e6), G (1e9), T (1e12)
  • A flat/constant signal is centered.
  • The X axis shows how old each sample is, in seconds.

Build & run

make            # makes all 3 versions GTK2,GTK3,GTK4
make gtk2       # GTK2
make gtk3       # GTK3 
make gtk4       # GTK4

./livegraph-gtk3
./livegraph-gtk4
./livegraph-gtk2

License

GPL2+

About

Linux GTK2/3/4 Live Graph Widget for showing multiple live data

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages