# subchart_show.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
  },
  subchart: {
    show: true
  }
};
var lineChart = new C9.LineChart(options);
lineChart.draw();