javascript - Highcharts not "graphing" in Firefox or Safari -
i'm having odd problem highcharts graph "graphing" on chrome. graph frame shows fine (the axis' names, labels, white background, etc), actual columns not animated, nor show on graph represent actual data. appears empty graph.
the data being called via ajax. on end fine. code simple, not sure causing this. here code, appreciated:
highcharts.chart('modal-graph-wrapper', { chart: { type: 'column' }, title: { text: 'build time vs. step' }, yaxis: { title: { text: 'length of time (seconds)' }, categories: timearray }, xaxis: { categories: namearray }, plotoptions: { series: { pointstart: 0 } }, series: [{ name: 'build time (seconds)', data: timearray, linewidth: 3, marker: { radius: 3, fillcolor: '#337ab7' } }] });
i ended figuring out. because date.parse function not work expected in firefox or safari; whereas in chrome works anticipated. restructuring time format solved issue. thanks!
Comments
Post a Comment