}
type;
+ enum settings_value_show vlabel; /* CTL_VAR only. */
size_t var_idx;
};
struct ctables_level *levels = xnmalloc (1 + 2 * max_depth, sizeof *levels);
{
levels[n_levels++] = (struct ctables_level) {
.type = CTL_VAR,
+ .vlabel = (enum settings_value_show) vlabel,
.var_idx = k,
};
}
const struct variable *var = nest->vars[level->var_idx];
struct pivot_value *label;
if (level->type == CTL_VAR)
- label = pivot_value_new_variable (var);
+ {
+ label = pivot_value_new_variable (var);
+ label->variable.show = level->vlabel;
+ }
else if (level->type == CTL_CATEGORY)
{
const struct ctables_cell_value *cv = &cell->axes[a].cvs[level->var_idx];
dnl * MINCOLWIDTH, MAXCOLWIDTH, UNITS.
dnl * EMPTY.
dnl * MISSING.
-dnl - VLABELS.
+dnl - Test VLABELS.
dnl - SMISSING (see documentation).
dnl - Test WEIGHT and adjustment weights.
dnl - Test PCOMPUTE and PPROPERTIES.