View on

Example: linecharts/simple_timeseries

Output File:

Source File:

width: 1200px;
height: 280px;

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

lines {
  xs: csv('tests/testdata/measurement.csv', time);
  ys: csv('tests/testdata/measurement.csv', value2);
  colors: #06c;
}

axis {
  position: bottom;
  format: datetime("%H:%M:%S");
}

axis {
  position: left;
  layout: linear(20);
}

Run this example:

$ plotfx --in examples/linecharts/simple_timeseries.ptx --out output.svg
Edit this page on GitHub