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

update tests & examples

parent cb7a1fd7
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
width: 1200px;
height: 480px;

x: csv('tests/testdata/log_example.csv', x);
y: csv('tests/testdata/log_example.csv', y);

scale-x: log;
scale-x-min: 0;
scale-x-max: 5;
@@ -12,14 +9,17 @@ scale-y: log;
scale-y-min: 0;
scale-y-max: 10000;

axis-top: off;
axis-right: off;
lines {
  xs: csv('tests/testdata/log_example.csv', x);
  ys: csv('tests/testdata/log_example.csv', y);
  color: #06c;
}

layer {
  type: lines;
  title: "To the Moon";
axis {
  position: left;
}

legend {
  position: top left inside;
axis {
  position: bottom;
}
+35 −37
Original line number Diff line number Diff line
<svg xmlns="http://www.w3.org/2000/svg" width="1200.000000" height="480.000000" viewBox="0 0 1200.0 480.0">
  <rect width="1200.000000" height="480.000000" fill="#ffffff"/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M79.415625 435.6 L1185.333333 435.6 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M79.415625 435.6 L79.415625 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M237.403876 435.6 L237.403876 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M395.392127 435.6 L395.392127 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M553.380395 435.6 L553.380395 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M711.368629 435.6 L711.368629 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M869.356864 435.6 L869.356864 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1027.345165 435.6 L1027.345165 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1185.333333 435.6 L1185.333333 430.266667 "/>
  <text x="69.220313" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">1.0</text>
  <text x="227.208564" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">1.3</text>
  <text x="385.196815" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">1.6</text>
  <text x="543.185082" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">2.0</text>
  <text x="701.173317" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">2.5</text>
  <text x="859.161552" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">3.2</text>
  <text x="1017.149852" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">4.0</text>
  <text x="1175.138021" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">5.0</text>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M79.415625 14.666667 L79.415625 435.6 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M79.415625 435.6 L84.748958 435.6 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M79.415625 375.466664 L84.748958 375.466664 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M79.415625 315.333328 L84.748958 315.333328 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M79.415625 255.199986 L84.748958 255.199986 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M79.415625 195.066656 L84.748958 195.066656 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M79.415625 134.933326 L84.748958 134.933326 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M79.415625 74.799971 L84.748958 74.799971 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M79.415625 14.666667 L84.748958 14.666667 "/>
  <text x="47.291667" y="440.600000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">1.0</text>
  <text x="47.291667" y="380.466664" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">3.7</text>
  <text x="39.135417" y="320.333328" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">13.9</text>
  <text x="39.135417" y="260.199986" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">51.8</text>
  <text x="30.979167" y="200.066656" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">193.1</text>
  <text x="30.979167" y="139.933326" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">719.7</text>
  <text x="22.822917" y="79.799971" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">2682.7</text>
  <text x="14.666667" y="19.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">10000.0</text>
  <path stroke-width="2.666667" stroke="#4572a7" fill="none" d="M79.415625 435.6 L555.708457 330.366667 L834.321903 225.133333 L1032.001289 119.9 L1185.333333 14.666667 "/>
  <path fill="#4572a7" d="M122.115625 45.466667 M112.115625 45.466667 a5.0 5.0 0 1 0 10.0 0 a5.0 5.0 0 1 0 -10.0 0 "/>
  <text x="128.615625" y="50.466667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">To the Moon</text>
  <path stroke-width="2.000000" stroke="#005fbf" fill="none" d="M84.748958 430.266667 L556.447907 327.7 L832.374104 225.133333 L1028.146856 122.566667 L1180.0 20.0 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M84.748958 20.0 L84.748958 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M84.748958 430.266667 L90.082292 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M84.748958 371.65714 L90.082292 371.65714 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M84.748958 313.047614 L90.082292 313.047614 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M84.748958 254.438081 L90.082292 254.438081 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M84.748958 195.828561 L90.082292 195.828561 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M84.748958 137.219041 L90.082292 137.219041 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M84.748958 78.609496 L90.082292 78.609496 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M84.748958 20.0 L90.082292 20.0 "/>
  <text x="52.625000" y="435.266667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">1.0</text>
  <text x="52.625000" y="376.657140" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">3.7</text>
  <text x="44.468750" y="318.047614" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">13.9</text>
  <text x="44.468750" y="259.438081" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">51.8</text>
  <text x="36.312500" y="200.828561" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">193.1</text>
  <text x="36.312500" y="142.219041" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">719.7</text>
  <text x="28.156250" y="83.609496" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">2682.7</text>
  <text x="20.000000" y="25.000000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">10000.0</text>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M84.748958 430.266667 L1180.0 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M84.748958 430.266667 L84.748958 424.933333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M241.2134 430.266667 L241.2134 424.933333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M397.677841 430.266667 L397.677841 424.933333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M554.142299 430.266667 L554.142299 424.933333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M710.606724 430.266667 L710.606724 424.933333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M867.07115 430.266667 L867.07115 424.933333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1023.53564 430.266667 L1023.53564 424.933333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1180.0 430.266667 L1180.0 424.933333 "/>
  <text x="74.553646" y="456.000000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">1.0</text>
  <text x="231.018087" y="456.000000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">1.3</text>
  <text x="387.482529" y="456.000000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">1.6</text>
  <text x="543.946987" y="456.000000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">2.0</text>
  <text x="700.411412" y="456.000000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">2.5</text>
  <text x="856.875837" y="456.000000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">3.2</text>
  <text x="1013.340328" y="456.000000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">4.0</text>
  <text x="1169.804688" y="456.000000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">5.0</text>
</svg>
 No newline at end of file
+34 −14
Original line number Diff line number Diff line
width: 1200px;
height: 480px;

data: csv('tests/testdata/city_temperatures_pivot.csv');
x: month;
lines {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_london);
  colors: #06c;
  scale-y-max: 30;
  scale-y-min: -5;
}

lines {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_beijing);
  colors: #c06;
  scale-y-max: 30;
  scale-y-min: -15;
}

axis-left-scale: y1;
axis-right-scale: y2;
axis {
  position: left;
  layout: linear(5);
  scale-max: 30;
  scale-min: -5;
}

axis {
  position: right;
  layout: linear(5);
  scale-max: 30;
  scale-min: -15;
}

layer {
  type: lines;
  y: temp_london;
  color: #0c6;
  scale-y: y1;
axis {
  position: bottom;
  layout: discrete;
}

layer {
  type: lines;
  y: temp_beijing;
  color: #06c;
  scale-y: y2;
axis {
  position: top;
  layout: discrete;
}
+0 −91
Original line number Diff line number Diff line
<svg xmlns="http://www.w3.org/2000/svg" width="1200.000000" height="480.000000" viewBox="0 0 1200.0 480.0">
  <rect width="1200.000000" height="480.000000" fill="#ffffff"/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 44.4 L1140.1625 44.4 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 44.4 L54.946875 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M145.381513 44.4 L145.381513 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M235.816151 44.4 L235.816151 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M326.250781 44.4 L326.250781 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M416.685427 44.4 L416.685427 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M507.120074 44.4 L507.120074 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M597.554688 44.4 L597.554688 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M687.989366 44.4 L687.989366 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M778.42398 44.4 L778.42398 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M868.858594 44.4 L868.858594 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M959.293272 44.4 L959.293272 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1049.727886 44.4 L1049.727886 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 44.4 L1140.1625 49.733333 "/>
  <text x="88.336070" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Jan</text>
  <text x="177.958209" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Feb</text>
  <text x="268.400651" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Mar</text>
  <text x="360.054047" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Apr</text>
  <text x="448.043381" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">May</text>
  <text x="540.509245" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Jun</text>
  <text x="633.389236" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Jul</text>
  <text x="720.159787" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Aug</text>
  <text x="810.594401" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Sep</text>
  <text x="902.661892" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Oct</text>
  <text x="991.463693" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Nov</text>
  <text x="1081.898307" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Dec</text>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 44.4 L1140.1625 435.6 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 435.6 L1134.829167 435.6 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 379.714283 L1134.829167 379.714283 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 323.828566 L1134.829167 323.828566 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 267.942844 L1134.829167 267.942844 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 212.057133 L1134.829167 212.057133 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 156.171422 L1134.829167 156.171422 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 100.285688 L1134.829167 100.285688 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 44.4 L1134.829167 44.4 "/>
  <text x="1151.895833" y="440.600000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">-10.2</text>
  <text x="1151.895833" y="384.714283" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">-5.4</text>
  <text x="1151.895833" y="328.828566" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">-0.6</text>
  <text x="1151.895833" y="272.942844" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">4.2</text>
  <text x="1151.895833" y="217.057133" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">9.0</text>
  <text x="1151.895833" y="161.171422" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">13.8</text>
  <text x="1151.895833" y="105.285688" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">18.6</text>
  <text x="1151.895833" y="49.400000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">23.4</text>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 435.6 L1140.1625 435.6 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 435.6 L54.946875 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M145.381513 435.6 L145.381513 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M235.816151 435.6 L235.816151 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M326.250781 435.6 L326.250781 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M416.685427 435.6 L416.685427 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M507.120074 435.6 L507.120074 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M597.554688 435.6 L597.554688 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M687.989366 435.6 L687.989366 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M778.42398 435.6 L778.42398 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M868.858594 435.6 L868.858594 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M959.293272 435.6 L959.293272 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1049.727886 435.6 L1049.727886 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 435.6 L1140.1625 430.266667 "/>
  <text x="88.336070" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Jan</text>
  <text x="177.958209" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Feb</text>
  <text x="268.400651" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Mar</text>
  <text x="360.054047" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Apr</text>
  <text x="448.043381" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">May</text>
  <text x="540.509245" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Jun</text>
  <text x="633.389236" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Jul</text>
  <text x="720.159787" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Aug</text>
  <text x="810.594401" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Sep</text>
  <text x="902.661892" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Oct</text>
  <text x="991.463693" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Nov</text>
  <text x="1081.898307" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Dec</text>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 44.4 L54.946875 435.6 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 435.6 L60.280208 435.6 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 379.714283 L60.280208 379.714283 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 323.828566 L60.280208 323.828566 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 267.942844 L60.280208 267.942844 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 212.057133 L60.280208 212.057133 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 156.171422 L60.280208 156.171422 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 100.285688 L60.280208 100.285688 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M54.946875 44.4 L60.280208 44.4 "/>
  <text x="22.822917" y="440.600000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">2.6</text>
  <text x="22.822917" y="384.714283" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">4.8</text>
  <text x="22.822917" y="328.828566" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">7.1</text>
  <text x="22.822917" y="272.942844" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">9.3</text>
  <text x="15.760417" y="217.057133" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">11.6</text>
  <text x="14.666667" y="161.171422" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">13.8</text>
  <text x="14.666667" y="105.285688" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">16.1</text>
  <text x="14.666667" y="49.400000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">18.3</text>
  <path stroke-width="2.666667" stroke="#00bf5f" fill="none" d="M100.164193 403.0 L190.598828 395.534351 L281.033464 358.206107 L371.468099 288.526717 L461.902734 203.916031 L552.33737 121.793893 L642.772005 77.0 L733.206641 86.954199 L823.641276 146.67939 L914.075911 243.732824 L1004.510547 335.80916 L1094.945182 380.603053 "/>
  <path stroke-width="2.666667" stroke="#005fbf" fill="none" d="M100.164193 403.0 L190.598828 384.371428 L281.033464 318.007143 L371.468099 234.178571 L461.902734 145.692857 L552.33737 110.764286 L642.772005 77.0 L733.206641 97.957143 L823.641276 170.142857 L914.075911 245.821429 L1004.510547 304.035714 L1094.945182 358.757143 "/>
</svg>
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
width: 1200px;
height: 480px;
height: 280px;

scale-y-min: 0;
scale-y-max: 200;
scale-y-max: 140;

lines {
  xs: csv('tests/testdata/measurement.csv', time);
Loading