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

improved separataion between 'scale' and 'axis' configuration

parent 12a7f55b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -45,8 +45,8 @@ Input File (`example_chart.ptx`):
      y: temperature;
      group: city;

      axis-y-min: -10;
      axis-y-max: 32;
      scale-y-min: -10;
      scale-y-max: 32;

      layer {
        type: lines;
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ plot {
  x: x;
  y: y;

  axis-y-max: 60;
  scale-y-max: 60;

  layer {
    type: area;
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ height: 480px;

plot {

  axis-y-max: 34;
  scale-y-max: 34;

  layer {
    type: bars;
+2 −2
Original line number Diff line number Diff line
@@ -6,8 +6,8 @@ plot {
  y: country;
  x: gdp;

  axis-x-min: 0;
  axis-x-max: 22;
  scale-x-min: 0;
  scale-x-max: 22;

  layer {
    type: bars;
+2 −2
Original line number Diff line number Diff line
@@ -6,8 +6,8 @@ plot {
  y: var0;
  group: series;

  axis-x-max: 75;
  axis-x-min: -25;
  scale-x-max: 75;
  scale-x-min: -25;

  layer {
    type: bars;
Loading