{"action":"created","issue":{"url":"https://api.github.com/repos/masayuki0812/c3/issues/839","labels_url":"https://api.github.com/repos/masayuki0812/c3/issues/839/labels{/name}","comments_url":"https://api.github.com/repos/masayuki0812/c3/issues/839/comments","events_url":"https://api.github.com/repos/masayuki0812/c3/issues/839/events","html_url":"https://github.com/masayuki0812/c3/issues/839","id":52411419,"number":839,"title":"Load multiple json","user":{"login":"DemarsM","id":2590556,"avatar_url":"https://avatars.githubusercontent.com/u/2590556?v=3","gravatar_id":"","url":"https://api.github.com/users/DemarsM","html_url":"https://github.com/DemarsM","followers_url":"https://api.github.com/users/DemarsM/followers","following_url":"https://api.github.com/users/DemarsM/following{/other_user}","gists_url":"https://api.github.com/users/DemarsM/gists{/gist_id}","starred_url":"https://api.github.com/users/DemarsM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DemarsM/subscriptions","organizations_url":"https://api.github.com/users/DemarsM/orgs","repos_url":"https://api.github.com/users/DemarsM/repos","events_url":"https://api.github.com/users/DemarsM/events{/privacy}","received_events_url":"https://api.github.com/users/DemarsM/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/masayuki0812/c3/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/masayuki0812/c3/labels/on+hold","name":"on hold","color":"f7c6c7"},{"url":"https://api.github.com/repos/masayuki0812/c3/labels/resolved+maybe","name":"resolved maybe","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-12-18T20:19:42Z","updated_at":"2015-01-22T00:23:42Z","closed_at":null,"body":"\r\n\r\nI would like to render the data1 in bar and the data2 in line\r\n\r\nIt seems the json parameter do not allow to load multiple json data... this is not working\r\n\r\n\t\tdata1 = [{ \"label\" : \"2004\", \"value\" : \"3.57\" }, { \"label\" : \"2005\", \"value\" : \"4.02\" }, { \"label\" : \"2006\", \"value\" : \"4.41\" }, { \"label\" : \"2007\", \"value\" : \"4.62\" }, { \"label\" : \"2008\", \"value\" : \"4.94\" }, { \"label\" : \"2009\", \"value\" : \"5.32\" }, { \"label\" : \"2010\", \"value\" : \"5.64\" }, { \"label\" : \"2011\", \"value\" : \"5.73\" } ]\r\n\t\t\r\n\t\tdata2 = [{ \"label\" : \"2004\", \"value\" : \"6.67\" }, { \"label\" : \"2005\", \"value\" : \"7.08\" }, { \"label\" : \"2006\", \"value\" : \"7.46\" }, { \"label\" : \"2007\", \"value\" : \"8.00\" }, { \"label\" : \"2008\", \"value\" : \"8.38\" }, { \"label\" : \"2009\", \"value\" : \"8.76\" }, { \"label\" : \"2010\", \"value\" : \"9.63\" }, { \"label\" : \"2011\", \"value\" : \"10.37\" } ]\r\n\r\n\t\tvar chart = c3.generate({\r\n\t\t  bindto: '#chart_panel',\r\n\t\t  data: { \r\n\t\t          json: [data1, data2],\r\n\t\t          keys: {\r\n\t\t            x: 'label',\r\n\t\t            value: ['value']\r\n\t\t          },\r\n\t\t          types: { data1 : 'bar', data2: 'spline' }\r\n\t\t  \t\t},\r\n\t\t\r\n\t\t  axis: {\r\n\t\t    x: {\r\n\t\t      type: 'category',\r\n\t\t      categories: [2004,2005,2006,2007,2008,2009,2010,2011],\r\n\t\t      label: { text: 'Années', position: 'outer-center'}\r\n\t\t    }\r\n\t\t  }\r\n\t\t});"},"comment":{"url":"https://api.github.com/repos/masayuki0812/c3/issues/comments/70949594","html_url":"https://github.com/masayuki0812/c3/issues/839#issuecomment-70949594","issue_url":"https://api.github.com/repos/masayuki0812/c3/issues/839","id":70949594,"user":{"login":"jjzazuet","id":1002433,"avatar_url":"https://avatars.githubusercontent.com/u/1002433?v=3","gravatar_id":"","url":"https://api.github.com/users/jjzazuet","html_url":"https://github.com/jjzazuet","followers_url":"https://api.github.com/users/jjzazuet/followers","following_url":"https://api.github.com/users/jjzazuet/following{/other_user}","gists_url":"https://api.github.com/users/jjzazuet/gists{/gist_id}","starred_url":"https://api.github.com/users/jjzazuet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjzazuet/subscriptions","organizations_url":"https://api.github.com/users/jjzazuet/orgs","repos_url":"https://api.github.com/users/jjzazuet/repos","events_url":"https://api.github.com/users/jjzazuet/events{/privacy}","received_events_url":"https://api.github.com/users/jjzazuet/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T00:23:42Z","updated_at":"2015-01-22T00:23:42Z","body":"+1 for this enhancement. Thanks!"}}