summaryrefslogtreecommitdiffstats
path: root/libsmartcols/samples
diff options
context:
space:
mode:
Diffstat (limited to 'libsmartcols/samples')
-rw-r--r--libsmartcols/samples/continuous.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libsmartcols/samples/continuous.c b/libsmartcols/samples/continuous.c
index 2fe720e2f..02efd5de9 100644
--- a/libsmartcols/samples/continuous.c
+++ b/libsmartcols/samples/continuous.c
@@ -30,11 +30,12 @@ static double time_diff(struct timeval *a, struct timeval *b)
/* add columns to the @tb */
static void setup_columns(struct libscols_table *tb)
{
- if (!scols_table_new_column(tb, "#NUM", 0, SCOLS_FL_RIGHT))
+ scols_table_enable_maxout(tb, 1);
+ if (!scols_table_new_column(tb, "#NUM", 0.1, SCOLS_FL_RIGHT))
goto fail;
- if (!scols_table_new_column(tb, "DATA", 0, 0))
+ if (!scols_table_new_column(tb, "DATA", 0.7, 0))
goto fail;
- if (!scols_table_new_column(tb, "TIME", 0, 0))
+ if (!scols_table_new_column(tb, "TIME", 0.2, 0))
goto fail;
return;
fail: