Commit 05239b19 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

delete examples/legend

parent b5ca4da7
Loading
Loading
Loading
Loading
+0 −20
Original line number Diff line number Diff line
width: 1200px;
height: 480px;

plot {
  data: csv('tests/testdata/city_temperatures.csv');
  x: month;
  y: temperature;
  group: city;

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

  layer {
    type: lines;
  }

  legend {
    position: bottom center inside;
  }
}
+0 −101
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="M59.8375 44.4 L1140.1625 44.4 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M59.8375 44.4 L59.8375 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M149.864586 44.4 L149.864586 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M239.891672 44.4 L239.891672 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M329.91875 44.4 L329.91875 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M419.945844 44.4 L419.945844 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M509.972938 44.4 L509.972938 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M600.0 44.4 L600.0 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M690.027126 44.4 L690.027126 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M780.054188 44.4 L780.054188 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M870.08125 44.4 L870.08125 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M960.108376 44.4 L960.108376 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1050.135438 44.4 L1050.135438 49.733333 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 44.4 L1140.1625 49.733333 "/>
  <text x="93.022919" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Jan</text>
  <text x="182.237505" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Feb</text>
  <text x="272.272396" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Mar</text>
  <text x="363.518240" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Apr</text>
  <text x="451.100021" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">May</text>
  <text x="543.158333" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Jun</text>
  <text x="635.630772" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Jul</text>
  <text x="721.993771" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Aug</text>
  <text x="812.020833" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Sep</text>
  <text x="903.680772" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Oct</text>
  <text x="992.075021" y="28.666667" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Nov</text>
  <text x="1082.102083" 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.0</text>
  <text x="1151.895833" y="384.714283" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">-4.0</text>
  <text x="1151.895833" y="328.828566" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">2.0</text>
  <text x="1151.895833" y="272.942844" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">8.0</text>
  <text x="1151.895833" y="217.057133" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">14.0</text>
  <text x="1151.895833" y="161.171422" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">20.0</text>
  <text x="1151.895833" y="105.285688" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">26.0</text>
  <text x="1151.895833" y="49.400000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">32.0</text>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M59.8375 435.6 L1140.1625 435.6 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M59.8375 435.6 L59.8375 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M149.864586 435.6 L149.864586 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M239.891672 435.6 L239.891672 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M329.91875 435.6 L329.91875 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M419.945844 435.6 L419.945844 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M509.972938 435.6 L509.972938 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M600.0 435.6 L600.0 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M690.027126 435.6 L690.027126 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M780.054188 435.6 L780.054188 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M870.08125 435.6 L870.08125 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M960.108376 435.6 L960.108376 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1050.135438 435.6 L1050.135438 430.266667 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M1140.1625 435.6 L1140.1625 430.266667 "/>
  <text x="93.022919" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Jan</text>
  <text x="182.237505" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Feb</text>
  <text x="272.272396" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Mar</text>
  <text x="363.518240" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Apr</text>
  <text x="451.100021" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">May</text>
  <text x="543.158333" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Jun</text>
  <text x="635.630772" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Jul</text>
  <text x="721.993771" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Aug</text>
  <text x="812.020833" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Sep</text>
  <text x="903.680772" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Oct</text>
  <text x="992.075021" y="461.333333" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Nov</text>
  <text x="1082.102083" 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="M59.8375 44.4 L59.8375 435.6 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M59.8375 435.6 L65.170833 435.6 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M59.8375 379.714283 L65.170833 379.714283 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M59.8375 323.828566 L65.170833 323.828566 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M59.8375 267.942844 L65.170833 267.942844 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M59.8375 212.057133 L65.170833 212.057133 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M59.8375 156.171422 L65.170833 156.171422 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M59.8375 100.285688 L65.170833 100.285688 "/>
  <path stroke-width="1.333333" stroke="#a8a8a8" fill="none" d="M59.8375 44.4 L65.170833 44.4 "/>
  <text x="14.666667" y="440.600000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">-10.0</text>
  <text x="22.822917" y="384.714283" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">-4.0</text>
  <text x="27.713542" y="328.828566" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">2.0</text>
  <text x="27.713542" y="272.942844" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">8.0</text>
  <text x="19.557292" y="217.057133" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">14.0</text>
  <text x="19.557292" y="161.171422" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">20.0</text>
  <text x="19.557292" y="105.285688" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">26.0</text>
  <text x="19.557292" y="49.400000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">32.0</text>
  <path stroke-width="2.666667" stroke="#4572a7" fill="none" d="M104.851042 344.32 L194.878125 335.005714 L284.905208 289.365714 L374.932292 237.205714 L464.959375 184.114286 L554.986458 137.542857 L645.013542 111.462857 L735.040625 117.982857 L825.067708 155.24 L915.094792 211.125714 L1005.121875 262.354286 L1095.148958 319.171429 "/>
  <path stroke-width="2.666667" stroke="#aa4643" fill="none" d="M104.851042 379.714286 L194.878125 355.497143 L284.905208 292.16 L374.932292 216.714286 L464.959375 157.102857 L554.986458 116.12 L645.013542 97.491429 L735.040625 110.531429 L825.067708 157.102857 L915.094792 220.44 L1005.121875 298.68 L1095.148958 359.222857 "/>
  <path stroke-width="2.666667" stroke="#89a54e" fill="none" d="M104.851042 411.382857 L194.878125 396.48 L284.905208 343.388571 L374.932292 276.325714 L464.959375 205.537143 L554.986458 177.594286 L645.013542 150.582857 L735.040625 167.348571 L825.067708 225.097143 L915.094792 285.64 L1005.121875 332.211429 L1095.148958 375.988571 "/>
  <path stroke-width="2.666667" stroke="#80699b" fill="none" d="M104.851042 350.84 L194.878125 336.868571 L284.905208 309.857143 L374.932292 264.217143 L464.959375 216.714286 L554.986458 184.114286 L645.013542 169.211429 L735.040625 175.731429 L825.067708 209.262857 L915.094792 258.628571 L1005.121875 306.131429 L1095.148958 333.142857 "/>
  <path fill="#4572a7" d="M429.285938 404.8 M419.285938 404.8 a5.0 5.0 0 1 0 10.0 0 a5.0 5.0 0 1 0 -10.0 0 "/>
  <text x="435.785938" y="409.800000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">New York</text>
  <path fill="#aa4643" d="M540.470313 404.8 M530.470313 404.8 a5.0 5.0 0 1 0 10.0 0 a5.0 5.0 0 1 0 -10.0 0 "/>
  <text x="546.970313" y="409.800000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">北京市   </text>
  <path fill="#89a54e" d="M634.904688 404.8 M624.904688 404.8 a5.0 5.0 0 1 0 10.0 0 a5.0 5.0 0 1 0 -10.0 0 "/>
  <text x="641.404688" y="409.800000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Москва</text>
  <path fill="#80699b" d="M734.198438 404.8 M724.198438 404.8 a5.0 5.0 0 1 0 10.0 0 a5.0 5.0 0 1 0 -10.0 0 "/>
  <text x="740.698438" y="409.800000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">Berlin</text>
</svg>
 No newline at end of file
+0 −20
Original line number Diff line number Diff line
width: 1200px;
height: 480px;

plot {
  data: csv('tests/testdata/city_temperatures.csv');
  x: month;
  y: temperature;
  group: city;

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

  layer {
    type: lines;
  }

  legend {
    position: bottom left inside;
  }
}
+0 −101

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −20
Original line number Diff line number Diff line
width: 1200px;
height: 480px;

plot {
  data: csv('tests/testdata/city_temperatures.csv');
  x: month;
  y: temperature;
  group: city;

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

  layer {
    type: lines;
  }

  legend {
    position: bottom right inside;
  }
}
Loading