2026-08-16 22:04:11 +03:00

5 lines
254 B
TypeScript

import { chartToCsv, createChartModel } from "../src/index.js";
const chart = createChartModel({ title: "Measured state", series: [{ id: "x", label: "x", points: [{ x: 0, y: 2 }, { x: 1, y: 3 }] }] });
export const measuredStateCsv = chartToCsv(chart);