jquery - FlotChart 0.8.2 Time mode requires the flot.time plugin -


i'm working flotchart make custom linechart (which call in ajax) i'm doing wrong because not displayed , error :

uncaught error: time mode requires flot.time plugin.

but jquery.flot.time.js included don't understand why got error.

i found link : https://github.com/flot/flot/issues/1016 explain why flot throwing error don't understand everything...

can explain me more or check wrong in code ?

$(function() {     var data = [         {         label: "a0-p1-m1 10cm",          data:              [                 [1388538000000, 29.8848],                 [ // .. data]             ]         }     ];     var options = {         legend: {             nocolumns: 1         },         xaxis: {             mode: "time",             timeformat: "%d/%m %h:%m",             ticklength: 10         },         yaxis: {             show: false         }     };     var plot = $.plot("#placeholder13", data, options); }); 

thank time & help. sorry english.

as error says, you're not including time plugin. make sure include path correct, , you're including plugin after include flot itself.

since problem includes, need see html in order more specific.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -