Questions tagged [flot]

Flot is a pure JavaScript plotting library for jQuery with a focus on simple usage, attractive looks and interactive features. It produces graphical plots of arbitrary datasets on-the-fly client-side.

Useful links


Code Snippet / Fiddle

  • When asking questions it is a good idea to provide a Code Snippet or Fiddle which reproduces your chart and / or problem. This greatly increases the possibility for others to understand and/or debug your problems.

Common pitfalls for time-mode graphs


Related tags

2064 questions
19
votes
2 answers

jquery flot xaxis time

In this example in xaxis will compare the days... $.plot($("#placeholder"), data, { yaxis: {}, xaxis: { mode: "time",minTickSize: [1, "day"],timeformat: "%d/%m/%y"},"lines": {"show": "true"},"points": {"show":…
Tommaso Taruffi
  • 8,932
  • 9
  • 44
  • 56
18
votes
2 answers

Is is possible to display barcharts horizontally in Flot?

Apologies, but I'm a newbie at Flot. I'd like to display my data in a horizontal bar chart rather a vertical bar chart which Flot seems to default to. Is it possible to do this in Flot, and, if so, how do I do it?
ssi_bas
  • 215
  • 2
  • 3
  • 5
18
votes
5 answers

Invalid dimensions for plot, width = 0, height = 400 inside of hidden tab

I have this error when I insert charts in hidden tabs like second, third, etc. here is the error: Invalid dimensions for plot, width = 0, height = 400 in js/jquery.flot.min.js:6. I used bootstrap 2 and jquery: