Server-side charting with SvgChart


#1

SvgChart type allows production of simple server-side line charts, e.g.

var values = c3Make('[double]');
for (var i = 0; i < 20; i++)
  values[i] = 10 + Math.random() * 5;
var chart = SvgChart.line(values, {
    gridLines: true,
    points: true,
    trend: true,
    tooltips: true,
    unit: { symbol: '៳' }
});
c3Viz(chart);