Skip to content
/ slope Public
forked from bytebrew/slope

A library to create charts from raw data using cairo. Can be shown in GtkDrawingArea

License

Notifications You must be signed in to change notification settings

befedo/slope

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SLOPE

Slope is a free (LGPL) C library that creates charts from numerical data. It's design principle is the following: THE ONLY DEPENDENCY IS CAIRO, and the API is familiar to the users of cairo. Additionaly an alternative build provides a Gtk widget and some utilities so create simple chart windows and animations, such as real time data display. This build of course makes slope Gtk dependent. The cairo only build will always be maintained.

Slope is in it's early stages of development and still needs some optimization and polishing. Some accessor methods to objects properties are also absent. But here's what we already have: The following chart is the output of the test.c program in de top level source repository.

Slope's basic usage is: create a slope_figure_t, add one or more slope_metrics_t to it and add some slope_item_t to the metrics, then use function slope_figure_draw() to stroke the resulting chart via a cairo_t.

Contributions to slope are welcome, propose your's to [email protected]

Special thanks to Remi Bertho ([email protected]) for his contributions

About

A library to create charts from raw data using cairo. Can be shown in GtkDrawingArea

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.7%
  • CMake 1.3%