php - How can I show the % of every axis (Need any api to do this) -


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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -