Commit acf62a50 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

rename plot_lines 'width' property to 'stroke'

parent 736d914e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ ReturnCode configure(
    {"group", configure_series_fn(data, &data_group)},
    {"color", configure_color_opt(&color)},
    {"colors", configure_series_fn(data, &colors)},
    {"width", bind(&configure_measure_rel, _1, doc.dpi, doc.font_size, &line_width)},
    {"stroke", bind(&configure_measure_rel, _1, doc.dpi, doc.font_size, &line_width)},
  };

  if (auto rc = parseAll(plist, pdefs); !rc) {
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ plot {

  layer {
    type: lines;
    width: 8pt;
    stroke: 8pt;
    color: #ccc;
  }
}