]> git.cworth.org Git - acre/commitdiff
Draw frame times as a bar chart.
authorCarl Worth <cworth@cworth.org>
Sat, 9 Nov 2013 00:18:26 +0000 (16:18 -0800)
committerCarl Worth <cworth@cworth.org>
Sat, 9 Nov 2013 21:06:02 +0000 (13:06 -0800)
Using the recently added BARS_OR_LINE style in acre.

acre-x.c

index bf70dd51570a50fd7b472cb4990046728d1b3a55..80b86dee2c234f9e49b0e52d8f65035927ba71c4 100644 (file)
--- a/acre-x.c
+++ b/acre-x.c
@@ -56,6 +56,7 @@ load_fips_data (const char *filename)
        acre_set_y_axis_label (acre, "Frame time (ms)");
 
        frame_time = acre_data_create ();
+       acre_data_set_style (frame_time, ACRE_STYLE_BARS_OR_LINE);
 
        while (1) {
                int scanned;