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
0
votes
1 answer

Flot wont upload JSON

I'm new to json and flot. But I ve been asked to create a chart. Could someone explain to me why my code will not work? $.getJSON('chart.json', function(graphData){ alert(graphData); $.plot($('#graph-lines'), graphData, { series: { …
Metalbreath
  • 119
  • 1
  • 14
0
votes
0 answers

Flot Bar and Line chart

I have been using Flot charts for a short time and I need to make a chart that looks something like this: I've managed to make the bar chart to color each bar in red if it's above the target and green if it's below but I can't display the target…
LAffair
  • 1,968
  • 5
  • 31
  • 60
0
votes
1 answer

Getting wrong X-axis using flot

I'm fetching data from database using php and storing data into an array In database, 1st one is date-with-time(timestamp) and next one is value. echo json_encode($arr); I'm getting following…
ARoy
  • 181
  • 3
  • 22
0
votes
1 answer

Fetching from Database and Plotting realtime chart using flot

I'm fetching data from database using php and storing data into an array and then storing that array into JavaScript array and then display the chart using flot. and My goal is that in graphic move to the left as new data comes…
ARoy
  • 181
  • 3
  • 22
0
votes
1 answer

swap graphs on same canvas

Colleagues, I have designed a dashboard with HTML canvas and want to show on same page a flot graph, toggling between them with a button. The problem that I am facing is that when I click to get the flot, the graph shows up under the canvas, and not…
Martin
  • 127
  • 1
  • 3
  • 10
0
votes
2 answers

How do you change the height of a rich:chart bar chart?

I have a bar chart that is built using rich:chart (richfaces). Everything works fine except that the legend exceeds the height of the bar chart. How do I adjust the overall height of the chart? There is no height attribute or anything that is…
gallea01
  • 82
  • 1
  • 8
0
votes
0 answers

"random" gaps in flot chart

I found out about this bug not long ago, but I have no idea how long he has been there. I have many flot charts that all have gaps on 26-27 October. doesn't matter what year! I have already checked that no data is missing, and there is not. I have…
qLuke
  • 109
  • 12
0
votes
1 answer

How to create Grouped and Stack (both) using flow chart?

I can draw Grouped or stack flow chart but cant combine them like this: Can you help me, thank you
JimmyN
  • 579
  • 4
  • 16
0
votes
1 answer

Flot - combine Bar and stacked chart in a sigle chart

Is it possible to combine Bar chart and stacked chart in flot? I did line with bar. Bar chart will have 4 legends. 5th bar will be stacked.
phpcoder
  • 195
  • 1
  • 6
0
votes
0 answers

Draw a real-time flot chart by fetching data from database and store it into an array using JavaScript

I'm trying to draw a real-time update flot chart by retrieving data from oracle database and store it into an array
ARoy
  • 181
  • 3
  • 22
0
votes
3 answers

Javascript flot not showing data series

I'm using flot to display some data on a bar graph. But my data isn't displaying for some reason, and I have no idea why. My data series is correct as far as I can see, but it still won't show. JsFiddle: http://jsfiddle.net/9jhpyne4/1/ Code: var…
Keith M
  • 1,199
  • 2
  • 18
  • 38
0
votes
1 answer

Histogram in flot - Javascript

I'm trying to create a histogram in flot, where the bars are organized by day. I cannot find a way to merge values into 1 bar per day. __ Any ideas?
RadiantHex
  • 24,907
  • 47
  • 148
  • 244
0
votes
1 answer

Not getting Linear Regression equation,r-squared value from parsed string

index.html regression-js example
ARoy
  • 181
  • 3
  • 22
0
votes
1 answer

Flot logarithmic scale

I am plotting some data. Each data point has a radius depending on a parameter F and a colour depending on a parameter C. It is a 2D graph. And I need a logarithmic scale on the Xaxis. I know how to do it through a var "options" but not when I am…
Idrees Samim
  • 463
  • 5
  • 15
0
votes
1 answer

Flot: show numbers on stacked chart

I'm using Plot to display different charts, and the plugin flot-barnumbers-enhanced to display values on them. The problem is with the stacked charts, the output is like this: The first problem is regarding the position on the labels, and the…
Lorenzo
  • 1,037
  • 15
  • 27
1 2 3
99
100