X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=acre.h;h=7924cba2d26d38603b0318ac1d319a3f72ed6198;hb=3351362992de09bf601904f8c67da0eed58da32f;hp=6bad89aa88555127137ef45a8494484f527972be;hpb=ac32a03148355f54e5d00a6defeea0cd177328a8;p=acre diff --git a/acre.h b/acre.h index 6bad89a..7924cba 100644 --- a/acre.h +++ b/acre.h @@ -115,7 +115,24 @@ acre_data_destroy (acre_data_t *data); /* The style to be used for rendering data sets. */ typedef enum { - ACRE_STYLE_LINE + /* A simple line graph connection each (X,Y) pair in order. */ + ACRE_STYLE_LINE, + + /* A bar chart. */ + ACRE_STYLE_BARS, + + /* Bars if there is room for them, a line otherwise. */ + ACRE_STYLE_BARS_OR_LINE, + + /* A timeline. + * + * Each (X,Y) pair specifies the (start,stop) time of a + * timeline bar. + * + * The acre_data_add_point_2d_named function is particularly + * useful to provide a name for each timeline bar. + */ + ACRE_STYLE_TIMELINE } acre_style_t; /* Set the rendering style for this dataset. */