# multi_values.js

var data = [
  {"name": "Jessie", "value": {"x": [10, 20, 30, 50, 75], "y" : [100, 200, 300, 120, 320]}},
  {"name": "Kame", "value": {"x": [10, 20, 30, 50, 75], "y" : [150, 210, -100, 500, 600]}}
];

var options = {
  id: "chart",
  data: {
    plain: data,
    keys: { // Define keys for each axe
      x: 'value.x',
      y: 'value.y'
    }
  }
};
var lineChart = new C9.LineChart(options);
lineChart.draw();