flot

Jquery Flot problem when loading JSON

Sorry for the noob question. I've read through a couple questions and am unable to solve my problem. I cannot seem to load the data. I have the following json code output from a php script. {label: "load",data:[[1283294013*1000, 2.03],[1283293998*1000, 2.04],[1283293983*1000, 2.06],[1283293968*1000, 1.99],[1283293953*1000, 1.98],[1...

Flot - Column charts, series aligned together

Can I plot charts like this http://developer.yahoo.com/yui/examples/charts/charts-rotation.html using flot ? I mean, I have two series with the same values on the x axis, I want to show them aligned together like in the example above, Flot plots them one above the another. Any ideas ? ...

Run Flot, Javascript on Server?

I would like to use a Javascript library (Flot) to generate charts in my application. Most of the time, the charting will be performed by clients. However, I can see that in some cases, where the same charts would be frequently accessed by all clients, it would be better to generate those charts on the server, cache them, and serve the...

Flot add marker to line on graph

Im trying to draw a graph which represents a persons weight(y axis) over time(x axis). I also need to show a marker for an event such as a change in medication on a specific day. Is it possible to add a point to the dataseries with only a time value that gets included in the line drawing but doesnt change the drawing of the line? ...

weird jQuery JSON function... whats going on here?

Im browsing the flot examples here http://people.iola.dk/olau/flot/examples/turning-series.html (view source once there) I came across this : <script id="source" language="javascript" type="text/javascript"> $(function () { var datasets = { "usa": {... The $(function() part. I get that its an anonymous function, I dont g...

String based axis for jQuery Flot graphs?

How do I get non-numeric values on a Flot graph axis? For example, on the Y-axis I would like to have (excuse the crappy graph): /* A| B| _/*----------* C| _/ \ D| _/ \ E| _/ \ F| / \ G| * ...

jquery flot pie slice color

I can't figure out how to get flot.pie to change the pie slice color, just the series color. Is this possible? ...

jquery flot with ajax not working

var options = { series: {lines: {fill: true, fillColor: "rgba(255, 255, 204, 0.5)"} }, xaxis: { mode: "time", timeformat: "%d %b %y", minTickSize: [1, "month"]} , yaxis: { max: 50000} }; var d3; var plot; $(document).ready(function(){ d3 = <?echo $balarray;?>; plot = $.plot($("#placeholder"), [d3],options ); $(...

How do I show time on the x-axis in Flot?

I am trying to graph with Flot some data over time. The data being graphed contains: time: unix epoch time (whole seconds since 1/1/1970) value: it varies but it's always an integer between 0 and 10000 The time values can be in intervals of 5, 60 or 3600 seconds. How do I coerce Flot into drawing me graphs where it shows the time ...

Can the jquery flot graph project handle discontinuous points

Hi I have a requirement for a multiple series line graph. I am looking at pure javascript solutions and feel flot looks like a good option. However the points along the line may not be continuous but I want the line to be joined. ie y [Jan Feb Mar Apr May Jun] Series 1 [4 4 5 6 7] Series 2 [5 6 7 8 9 ...

How do I change the stepping of y-axis values in Flot?

I have a graph of memory use over time which looks like: I set the y-axis: { max:n } value n to 1024 (which means 1024MB of RAM). How do I get Flot to change the y-axis labels so they display: 1024 768 512 256 128 0 ...

Jquery flot associate text with plot points

Hi I'm using Flot and would like to associate text with each individual plot point so that when I hover over the plot point the relevant data is displayed. I have used the following example http://people.iola.dk/olau/flot/examples/interacting.html which allows me to display a tooltip but I need to associate text with each plot point....

flot line graphs how do I replace points with icon and remove grid markings?

Hi I'm trying to achieve the following in Flot and was wondering if an experienced user could offer some insight. I'd like to replace various plot points with a graphic (not the entire series). I'd like to remove the grid markings. Any help appreciated ...