Skip to content

Line

js
{
  chartType: 'line',
  isDataTransposed: true,
  seriesData: [
    ['', 'Jan', 'Feb', 'Mar', 'Apr'],
    ['Visits', 120, 132, 128, 150],
  ],
  title: { visible: true, text: 'Weekly visits' },
  subtitle: { visible: false, text: '' },
  legend: { visible: false },
}

Point markers: Point markers. Enable drawing points via the editor or line.drawPoints.

Sample

Live chart and copy-paste HTML: Line sample.

Developer & LLM documentation · Not the end-user Help Center · Help Center