javascript - ykeys null in morris line chart -
i have 3 ykeys parameters , 1 or other ykey value null. eventhough have 1 null ykey, should line chart other ykeys. that's not happening. i'm getting blank chart , getting 'svg' error.
kindly on this, here tried far:
new morris.line({ element: 'divname', data: [ { year: '2008', a: '',b:'10',c:'20'}, { year: '2009', a: '',b:'15',c:'25'}, { year: '2010', a:'',b: '5' ,c:'10'} ], xkey: 'year', ykeys: ['a','b','c'], labels: ['a','b','c'] });
-- in case need line chart b , c values. i'm getting svg error empty chart
Comments
Post a Comment