Next: , Previous: , Up: Chart Object   [Contents][Index]


15.8.5 Chart Attributes

Don’t use boxtype FL_NO_BOX for a chart object if it changes value.

Normally, for bar and line chart a baseline is drawn at 0. This can be switched on and off by the function

void fl_set_chart_baseline(FL_OBJECT *ob, int yes_no);

The first color argument (col1) to fl_set_object_color() controls the (background) color of the box, the second (col2) the color of the baseline.