Vaktor v0.1

chart

A chart over ready-made points. The client aggregates nothing — the server does the math.

{
  "type": "chart",
  "kind": "line",
  "x_label": "Day",
  "y_label": "Orders",
  "series": [
    {
      "label": "2026-07",
      "points": [
        {
          "x": "2026-07-01",
          "y": 120
        },
        {
          "x": "2026-07-02",
          "y": 138
        }
      ]
    }
  ]
}
FieldTypeValues
kindenumline, bar, pie
series[{label, points: [{x, y}]}]x — string or ISO date
x_labelstring?X axis caption
y_labelstring?Y axis caption

Multiple lines/series — several objects in series. Piekind: pie, each point = a sector.