# interpolate_line.js

var data = [
  {"name": "Jessie", "value": [100, 200, 300, 120, 320]},
  {"name": "Kame", "value": [150, 250, -100, 100, 500]}
];

var options = {
  id: "chart",
  data: {
    plain: data
  },
  interpolate: "monotone", // reference: https://www.dashingd3js.com/svg-paths-and-d3js
};
var lineChart = new C9.LineChart(options);
lineChart.draw();