i want percentage each box, used jquery.flot.js drow graph.
i used
var option = { xaxis: { min: -1, max: 1.1 }, yaxis: { min: 0, max: 1}, grid: { show: false,}, bars: { show: true, linewidth: 0, fill: false }, series: { lines: { show: true }, points: { show: true } } }; var data = [[-1, 0.725], [-0.8, 0.5], [-0.4, 0.05], [-0, 0.05], [0.35, 0.1], [0.65, 0.3], [0.95, 0], [1.1, -0.15 ]]; $.plot("#d1 .graph", data , option );
Comments
Post a Comment