Flot pie chart gives error in firebug: “uncaught exception: Invalid dimensions for plot, width = null, height = null”

后端 未结 7 1452
盖世英雄少女心
盖世英雄少女心 2020-12-29 04:14

I using flot pie chart for plotting pie charts. but it shows error in firebug that

uncaught exception: Invalid dimensions for plot, width = null, heig

7条回答
  •  太阳男子
    2020-12-29 04:41

    I had this same problem too! The answer was not listed above, so here was my problem and solution.

    Javascript:

     
    

    So. Notice the plot function. At first, I didn't have the # in the first parameter. That is necessary apparently. It solved my problems.

    GG.

提交回复
热议问题