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

update 'irregular data' test case

parent 39c6ff5d
Loading
Loading
Loading
Loading
+14 −10
Original line number Diff line number Diff line
@@ -2,16 +2,20 @@ width: 1200px;
height: 480px;

plot {
  series {
    xs: csv('examples/data/irregular_data2.csv', 0);
    ys: csv('examples/data/irregular_data2.csv', 1);
    point-size: 3pt;
    title: "series 1";
  data: csv('examples/data/irregular_data.csv');
  x: var(x);
  y: var(y);
  group: var(series);

  layer {
    type: lines;
  }

  layer {
    type: points;
  }
  series {
    xs: csv('examples/data/irregular_data1.csv', 0);
    ys: csv('examples/data/irregular_data1.csv', 1);
    point-size: 3pt;
    title: "series 1";

  legend {
    position: top left inside;
  }
}
+4 −4
Original line number Diff line number Diff line
@@ -69,13 +69,13 @@
  <text x="19.557292" y="105.285688" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">38.3</text>
  <text x="19.557292" y="49.400000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">49.8</text>
  <path stroke-width="2.666667" stroke="#4572a7" fill="none" d="M131.859167 120.89703 L491.9675 372.659406 L852.075833 77.322773 L924.0975 377.50099 L1032.13 164.471287 L1140.1625 125.738614 "/>
  <path stroke-width="2.666667" stroke="#aa4643" fill="none" d="M59.8375 120.89703 L131.859167 198.362377 L491.9675 304.877228 L744.043333 193.520792 L780.054167 406.550495 L852.075833 396.867327 "/>
  <path fill="#4572a7" d="M135.859167 120.89703 M127.859167 120.89703 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M495.9675 372.659406 M487.9675 372.659406 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M856.075833 77.322773 M848.075833 77.322773 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M928.0975 377.50099 M920.0975 377.50099 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M1036.13 164.471287 M1028.13 164.471287 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M1144.1625 125.738614 M1136.1625 125.738614 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path stroke-width="2.666667" stroke="#aa4643" fill="none" d="M59.8375 120.89703 L131.859167 198.362377 L491.9675 304.877228 L744.043333 193.520792 L780.054167 406.550495 L852.075833 396.867327 "/>
  <path fill="#aa4643" d="M63.8375 120.89703 M55.8375 120.89703 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M135.859167 198.362377 M127.859167 198.362377 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#aa4643" d="M495.9675 304.877228 M487.9675 304.877228 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
@@ -84,6 +84,6 @@
  <path fill="#aa4643" d="M856.075833 396.867327 M848.075833 396.867327 a4.0 4.0 0 1 0 8.0 0 a4.0 4.0 0 1 0 -8.0 0 "/>
  <path fill="#4572a7" d="M102.5375 75.2 M92.5375 75.2 a5.0 5.0 0 1 0 10.0 0 a5.0 5.0 0 1 0 -10.0 0 "/>
  <text x="109.037500" y="80.200000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">series1</text>
  <path fill="#aa4643" d="M203.128125 75.2 M193.128125 75.2 a5.0 5.0 0 1 0 10.0 0 a5.0 5.0 0 1 0 -10.0 0 "/>
  <text x="209.628125" y="80.200000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">series 1</text>
  <path fill="#aa4643" d="M199.05 75.2 M189.05 75.2 a5.0 5.0 0 1 0 10.0 0 a5.0 5.0 0 1 0 -10.0 0 "/>
  <text x="205.550000" y="80.200000" fill="#333333" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif">series2</text>
</svg>
 No newline at end of file