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

re-implement areachart

parent c9f9b01b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ add_definitions(-DFNORDMETRIC_VERSION="unstable")

add_library(plotfxlib STATIC
    source/plot.cc
    source/plot_area.cc
    source/plot_axis.cc
    source/plot_gridlines.cc
    source/plot_labels.cc
+1 −1
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ Here are some more examples of plots generated by PlotFX:
  </tr>
  <tr>
    <td width="50%">
      <img src="./examples/areacharts/examples_simple_area.png?raw=true">
      <img src="./examples/areacharts/simple_area.svg">
    </td>
    <td width="50%">
      <img src="./examples/barcharts/examples_negative_values.png?raw=true">
−37.7 KiB
Loading image diff...
−36.9 KiB
Loading image diff...
+16 −0
Original line number Diff line number Diff line
width: 1200px;
height: 480px;

plot {
  axis-x-format: datetime("%H:%M:%S");

  data: csv('tests/testdata/measurement.csv', time);
  x: time;
  y: value2;

  grid-x: geom;

  layer {
    type: area;
  }
}
Loading