User Guide
Reference
Examples
Download
Github

Example: charts-basic/custom_font

Output File:

Source File:

size: 2048px 512px;
dpi: 240;
font: "Comic Sans MS";
limit-x: 1404278100 1404299700;
limit-y: 0 120;

grid {
  color: #fff;
}

axes {
  position: bottom left;
  label-format-y: fixed 2;
  label-format-x: datetime("%H:%M:%S");
  label-placement-x: linear(2400);
  label-placement-y: linear(20);
}

lines {
  data-x: csv("testdata/measurement.csv" time);
  data-y: csv("testdata/measurement.csv" value2);
}

legend {
  position: top right;
  border: none;
  margin: 0.5em;
  item-flow: on;

  item {
    label: "A very serious measurement";
  }
}

Run this example:

$ clip --export output.svg charts-basic/custom_font.clp
Edit this page on GitHub