jquery - How to put text in time series chart in Flot? -
i have real time updating time series chart similar one. how can add text chart starting @ time , moves along chart? designating time range in chart belonging condition , text used this. there flot plugin can used?
i think answer should , threw fiddle think answers question.
jquery/flot: how coordinates of datapoint?
for(var k = 0; k < points.length; k++){ for(var m = 0; m < points[k].data.length; m++){ showtooltip(graphx + points[k].xaxis.p2c(points[k].data[m][0]), graphy + points[k].yaxis.p2c(points[k].data[m][1]),points[k].data[m][1]) } }
fiddle - http://jsfiddle.net/g3dzp/1/