diff --git a/widgets/graph.c b/widgets/graph.c index fcd00500..9eb13b3c 100644 --- a/widgets/graph.c +++ b/widgets/graph.c @@ -387,6 +387,7 @@ graph_new(Statusbar *statusbar, cfg_t *config) d->width = cfg_getint(config, "width"); d->height = cfg_getfloat(config, "height"); + d->size = d->width - 2; if(!(d->data_items = cfg_size(config, "data"))) {