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

update lines_with_points example, testdata

parent b68c1a64
Loading
Loading
Loading
Loading
+34 −9
Original line number Diff line number Diff line
@@ -3,33 +3,58 @@ height: 480px;

scale-x-padding: 0.6;

scale-y-max: 32;
scale-y-min: -10;
scale-y-max: 35;
scale-y-min: -20;

lines {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_london);
  colors: #06c;
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_nyc);
  colors: #4572a7;
}

points {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_nyc);
  colors: #4572a7;
}

lines {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_beijing);
  colors: #c06;
  colors: #aa4643;
}

points {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_london);
  colors: #06c;
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_beijing);
  colors: #aa4643;
}

lines {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_moscow);
  colors: #89a54e;
}

points {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_beijing);
  colors: #c06;
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_moscow);
  colors: #89a54e;
}

lines {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_berlin);
  colors: #80699b;
}

points {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_berlin);
  colors: #80699b;
}


axis {
  position: left;
  layout: linear(5);
+75 −43
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="2.000000" stroke="#005fbf" fill="none" d="M119.998495 294.487937 L211.377932 291.55746 L302.757369 276.905079 L394.136806 249.553968 L485.516243 216.341905 L576.89568 184.106667 L668.275118 166.52381 L759.654555 170.431111 L851.033992 193.874921 L942.413429 231.971111 L1033.792866 268.113651 L1125.172303 285.696508 "/>
  <path stroke-width="2.000000" stroke="#bf005f" fill="none" d="M119.998495 404.869206 L211.377932 389.24 L302.757369 333.560952 L394.136806 263.229524 L485.516243 188.990794 L576.89568 159.686032 L668.275118 131.358095 L759.654555 148.940952 L851.033992 209.504127 L942.413429 272.997778 L1033.792866 321.839048 L1125.172303 367.749841 "/>
  <path fill="#005fbf" d="M123.998495 294.487937 M115.998495 294.487937 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#005fbf" d="M215.377932 291.55746 M207.377932 291.55746 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#005fbf" d="M306.757369 276.905079 M298.757369 276.905079 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#005fbf" d="M398.136806 249.553968 M390.136806 249.553968 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#005fbf" d="M489.516243 216.341905 M481.516243 216.341905 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#005fbf" d="M580.89568 184.106667 M572.89568 184.106667 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#005fbf" d="M672.275118 166.52381 M664.275118 166.52381 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#005fbf" d="M763.654555 170.431111 M755.654555 170.431111 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#005fbf" d="M855.033992 193.874921 M847.033992 193.874921 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#005fbf" d="M946.413429 231.971111 M938.413429 231.971111 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#005fbf" d="M1037.792866 268.113651 M1029.792866 268.113651 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#005fbf" d="M1129.172303 285.696508 M1121.172303 285.696508 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#bf005f" d="M123.998495 404.869206 M115.998495 404.869206 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#bf005f" d="M215.377932 389.24 M207.377932 389.24 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#bf005f" d="M306.757369 333.560952 M298.757369 333.560952 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#bf005f" d="M398.136806 263.229524 M390.136806 263.229524 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#bf005f" d="M489.516243 188.990794 M481.516243 188.990794 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#bf005f" d="M580.89568 159.686032 M572.89568 159.686032 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#bf005f" d="M672.275118 131.358095 M664.275118 131.358095 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#bf005f" d="M763.654555 148.940952 M755.654555 148.940952 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#bf005f" d="M855.033992 209.504127 M847.033992 209.504127 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#bf005f" d="M946.413429 272.997778 M938.413429 272.997778 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#bf005f" d="M1037.792866 321.839048 M1029.792866 321.839048 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#bf005f" d="M1129.172303 367.749841 M1121.172303 367.749841 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path stroke-width="2.000000" stroke="#4572a7" fill="none" d="M119.998495 282.570667 L211.377932 275.111273 L302.757369 238.560242 L394.136806 196.787636 L485.516243 154.269091 L576.89568 116.972121 L668.275118 96.085818 L759.654555 101.307394 L851.033992 131.14497 L942.413429 175.901333 L1033.792866 216.928 L1125.172303 262.430303 "/>
  <path fill="#4572a7" d="M123.998495 282.570667 M115.998495 282.570667 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M215.377932 275.111273 M207.377932 275.111273 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M306.757369 238.560242 M298.757369 238.560242 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M398.136806 196.787636 M390.136806 196.787636 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M489.516243 154.269091 M481.516243 154.269091 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M580.89568 116.972121 M572.89568 116.972121 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M672.275118 96.085818 M664.275118 96.085818 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M763.654555 101.307394 M755.654555 101.307394 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M855.033992 131.14497 M847.033992 131.14497 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M946.413429 175.901333 M938.413429 175.901333 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M1037.792866 216.928 M1029.792866 216.928 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M1129.172303 262.430303 M1121.172303 262.430303 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path stroke-width="2.000000" stroke="#aa4643" fill="none" d="M119.998495 310.916364 L211.377932 291.521939 L302.757369 240.798061 L394.136806 180.37697 L485.516243 132.636848 L576.89568 99.815515 L668.275118 84.896727 L759.654555 95.339879 L851.033992 132.636848 L942.413429 183.360727 L1033.792866 246.019636 L1125.172303 294.505697 "/>
  <path fill="#aa4643" d="M123.998495 310.916364 M115.998495 310.916364 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M215.377932 291.521939 M207.377932 291.521939 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M306.757369 240.798061 M298.757369 240.798061 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M398.136806 180.37697 M390.136806 180.37697 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M489.516243 132.636848 M481.516243 132.636848 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M580.89568 99.815515 M572.89568 99.815515 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M672.275118 84.896727 M664.275118 84.896727 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M763.654555 95.339879 M755.654555 95.339879 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M855.033992 132.636848 M847.033992 132.636848 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M946.413429 183.360727 M938.413429 183.360727 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M1037.792866 246.019636 M1029.792866 246.019636 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M1129.172303 294.505697 M1121.172303 294.505697 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path stroke-width="2.000000" stroke="#89a54e" fill="none" d="M119.998495 336.278303 L211.377932 324.343273 L302.757369 281.824727 L394.136806 228.117091 L485.516243 171.425697 L576.89568 149.047515 L668.275118 127.415273 L759.654555 140.842182 L851.033992 187.090424 L942.413429 235.576485 L1033.792866 272.873455 L1125.172303 307.932606 "/>
  <path fill="#89a54e" d="M123.998495 336.278303 M115.998495 336.278303 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#89a54e" d="M215.377932 324.343273 M207.377932 324.343273 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#89a54e" d="M306.757369 281.824727 M298.757369 281.824727 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#89a54e" d="M398.136806 228.117091 M390.136806 228.117091 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#89a54e" d="M489.516243 171.425697 M481.516243 171.425697 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#89a54e" d="M580.89568 149.047515 M572.89568 149.047515 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#89a54e" d="M672.275118 127.415273 M664.275118 127.415273 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#89a54e" d="M763.654555 140.842182 M755.654555 140.842182 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#89a54e" d="M855.033992 187.090424 M847.033992 187.090424 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#89a54e" d="M946.413429 235.576485 M938.413429 235.576485 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#89a54e" d="M1037.792866 272.873455 M1029.792866 272.873455 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#89a54e" d="M1129.172303 307.932606 M1121.172303 307.932606 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path stroke-width="2.000000" stroke="#80699b" fill="none" d="M119.998495 287.792242 L211.377932 276.603152 L302.757369 254.970909 L394.136806 218.419879 L485.516243 180.37697 L576.89568 154.269091 L668.275118 142.334061 L759.654555 147.555636 L851.033992 174.409455 L942.413429 213.944242 L1033.792866 251.987152 L1125.172303 273.619394 "/>
  <path fill="#80699b" d="M123.998495 287.792242 M115.998495 287.792242 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#80699b" d="M215.377932 276.603152 M207.377932 276.603152 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#80699b" d="M306.757369 254.970909 M298.757369 254.970909 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#80699b" d="M398.136806 218.419879 M390.136806 218.419879 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#80699b" d="M489.516243 180.37697 M481.516243 180.37697 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#80699b" d="M580.89568 154.269091 M572.89568 154.269091 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#80699b" d="M672.275118 142.334061 M664.275118 142.334061 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#80699b" d="M763.654555 147.555636 M755.654555 147.555636 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#80699b" d="M855.033992 174.409455 M847.033992 174.409455 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#80699b" d="M946.413429 213.944242 M938.413429 213.944242 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#80699b" d="M1037.792866 251.987152 M1029.792866 251.987152 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#80699b" d="M1129.172303 273.619394 M1121.172303 273.619394 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 20.0 L65.170833 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 430.266667 L70.504167 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 381.425397 L70.504167 381.425397 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 332.584127 L70.504167 332.584127 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 283.742857 L70.504167 283.742857 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 234.901587 L70.504167 234.901587 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 186.060317 L70.504167 186.060317 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 137.219048 L70.504167 137.219048 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 88.377778 L70.504167 88.377778 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 39.536508 L70.504167 39.536508 "/>
  <text x="20.000000" y="435.266667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">-10.0</text>
  <text x="28.156250" y="386.425397" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">-5.0</text>
  <text x="33.046875" y="337.584127" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">0.0</text>
  <text x="33.046875" y="288.742857" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">5.0</text>
  <text x="24.890625" y="239.901587" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">10.0</text>
  <text x="24.890625" y="191.060317" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">15.0</text>
  <text x="24.890625" y="142.219048" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">20.0</text>
  <text x="24.890625" y="93.377778" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">25.0</text>
  <text x="24.890625" y="44.536508" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">30.0</text>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 392.969697 L70.504167 392.969697 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 355.672727 L70.504167 355.672727 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 318.375758 L70.504167 318.375758 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 281.078788 L70.504167 281.078788 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 243.781818 L70.504167 243.781818 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 206.484848 L70.504167 206.484848 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 169.187879 L70.504167 169.187879 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 131.890909 L70.504167 131.890909 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 94.593939 L70.504167 94.593939 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 57.29697 L70.504167 57.29697 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 20.0 L70.504167 20.0 "/>
  <text x="20.000000" y="435.266667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">-20.0</text>
  <text x="20.000000" y="397.969697" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">-15.0</text>
  <text x="20.000000" y="360.672727" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">-10.0</text>
  <text x="28.156250" y="323.375758" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">-5.0</text>
  <text x="33.046875" y="286.078788" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">0.0</text>
  <text x="33.046875" y="248.781818" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">5.0</text>
  <text x="24.890625" y="211.484848" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">10.0</text>
  <text x="24.890625" y="174.187879" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">15.0</text>
  <text x="24.890625" y="136.890909" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">20.0</text>
  <text x="24.890625" y="99.593939" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">25.0</text>
  <text x="24.890625" y="62.296970" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">30.0</text>
  <text x="24.890625" y="25.000000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">35.0</text>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M65.170833 430.266667 L1180.0 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M119.998495 430.266667 L119.998495 424.933333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M211.377932 430.266667 L211.377932 424.933333 "/>
+1 −1
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="2.000000" stroke="#005fbf" fill="none" d="M113.126876 333.502476 L201.204657 330.240762 L289.282438 313.93219 L377.360219 283.489524 L465.437999 246.523429 L553.51578 210.644571 L641.593561 191.074286 L729.671342 195.423238 L817.749122 221.516952 L905.826903 263.919238 L993.904684 304.147048 L1081.982465 323.717333 "/>
  <path stroke-width="2.000000" stroke="#bf005f" fill="none" d="M113.126876 365.998815 L201.204657 352.468741 L289.282438 304.267852 L377.360219 243.382519 L465.437999 179.114667 L553.51578 153.745778 L641.593561 129.222519 L729.671342 144.443852 L817.749122 196.872889 L905.826903 251.838815 L993.904684 294.120296 L1081.982465 333.864889 "/>
  <path stroke-width="2.000000" stroke="#bf005f" fill="none" d="M113.126876 337.247407 L201.204657 315.261037 L289.282438 257.758222 L377.360219 189.262222 L465.437999 135.141926 L553.51578 97.934222 L641.593561 81.02163 L729.671342 92.860444 L817.749122 135.141926 L905.826903 192.644741 L993.904684 263.67763 L1081.982465 318.643556 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M60.280208 49.733333 L60.280208 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M60.280208 430.266667 L65.613542 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M60.280208 375.904762 L65.613542 375.904762 "/>
+1 −1
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="2.000000" stroke="#005fbf" fill="none" d="M113.126876 333.502476 L201.204657 330.240762 L289.282438 313.93219 L377.360219 283.489524 L465.437999 246.523429 L553.51578 210.644571 L641.593561 191.074286 L729.671342 195.423238 L817.749122 221.516952 L905.826903 263.919238 L993.904684 304.147048 L1081.982465 323.717333 "/>
  <path stroke-width="2.000000" stroke="#bf005f" fill="none" d="M113.126876 365.998815 L201.204657 352.468741 L289.282438 304.267852 L377.360219 243.382519 L465.437999 179.114667 L553.51578 153.745778 L641.593561 129.222519 L729.671342 144.443852 L817.749122 196.872889 L905.826903 251.838815 L993.904684 294.120296 L1081.982465 333.864889 "/>
  <path stroke-width="2.000000" stroke="#bf005f" fill="none" d="M113.126876 337.247407 L201.204657 315.261037 L289.282438 257.758222 L377.360219 189.262222 L465.437999 135.141926 L553.51578 97.934222 L641.593561 81.02163 L729.671342 92.860444 L817.749122 135.141926 L905.826903 192.644741 L993.904684 263.67763 L1081.982465 318.643556 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M60.280208 49.733333 L60.280208 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M60.280208 430.266667 L65.613542 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M60.280208 375.904762 L65.613542 375.904762 "/>
+34 −9
Original line number Diff line number Diff line
@@ -3,33 +3,58 @@ height: 480px;

scale-x-padding: 0.6;

scale-y-max: 32;
scale-y-min: -10;
scale-y-max: 35;
scale-y-min: -20;

lines {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_london);
  colors: #06c;
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_nyc);
  colors: #4572a7;
}

points {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_nyc);
  colors: #4572a7;
}

lines {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_beijing);
  colors: #c06;
  colors: #aa4643;
}

points {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_london);
  colors: #06c;
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_beijing);
  colors: #aa4643;
}

lines {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_moscow);
  colors: #89a54e;
}

points {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_beijing);
  colors: #c06;
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_moscow);
  colors: #89a54e;
}

lines {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_berlin);
  colors: #80699b;
}

points {
  xs: csv('tests/testdata/city_temperatures_pivot.csv', month);
  ys: csv('tests/testdata/city_temperatures_pivot.csv', temp_berlin);
  colors: #80699b;
}


axis {
  position: left;
  layout: linear(5);
Loading