Questions tagged [jqplot]

jqPlot is a plotting and charting plugin built on top of jQuery. The grid, axes, shadows etc are all computed and rendered by plugins. It supports custom event handlers, creation of new plot types, adding canvases to the plot and many more features.

jqPlot is an powerful jQuery extension to generate graphs (line, bar, bubbles, etc.) client/web browser side based on JavaScript. It is conceived, developed and maintained by Chris Leonello. jqPlot is an open source project dual licensed under the MIT and GPL version 2 licenses.

jqPlot is open source and a lot of extensions are available. Most of the parts of jqPlot, like the grid, axes, shadows are computed and rendered by plugins. The plot elements are customizable and whenever required the plugins can expand the functionality of the plot.

Some of the features that are provided by jqPlot are:

Resources:

When asking questions on jqPlot:

  • Read the jqPlot docs carefully and search Stack Overflow for duplicates.
  • Isolate the problematic code and reproduce it in an online environment like jsFiddle or JS Bin.
  • Tag the question appropriately. Use the tag and use other web-development tags like -- , , -- as applicable. The most popular plugins also have their own tags, like and .
  • Indicate whether the version of the jQuery library used is not current, so that the answerer can provide version-appropriate solutions.
  • Mention which browser the code is having problems on, and what error messages, if any, were thrown by the browser.
1693 questions
4
votes
1 answer

jqPlot aligning zeroes for different y-axes

In jqPlot, I have two series rendered in the graph. They show different data, measured in different units, so they each have their own y-axis (yaxis and y2axis). jqPlot constructs both y-axes automatically to suit the range of the data. That is ok -…
Imp
  • 8,409
  • 1
  • 25
  • 36
4
votes
1 answer

JqPlot not displaying graphs on devices sometimes

I am developing a web application for mobile devices including tabs.I am using JqPlot for displaying graphs every thing works fine on my desktops and emulators But it not displaying graphs on devices sometimes.Even chart values are displayed but…
Lijo John
  • 578
  • 8
  • 21
4
votes
2 answers

jqplot is not zooming properly with date axis renderer

I'm using jqPlot (version 1.0.2, I believe -- the 7/25/12 release) to render a day's worth of solar energy production for a variety of values. When I zoom into a portion of the day, quite often the wrong area of the chart is rendered. Here are the…
Julie in Austin
  • 966
  • 5
  • 21
4
votes
5 answers

jqPlot Styling - How to remove Y axis line?

I'm having a bit of trouble with jqPlot styling. Currently I've got this: This took quite a bit of fiddling to get it like this as it is, but now I've got one problem -- the line on the left! I don't know how to remove it, because I don't actually…
Jarrod Robins
  • 1,866
  • 2
  • 17
  • 23
4
votes
1 answer

How do I customize the black border around JQPlot

How do I customize the black border around the graphs in JQPlot? I searched the CSS file extensively and couldn't find anything. [UPDATE] Please see this image if you are not understanding what i mean:…
ajaybc
  • 4,049
  • 7
  • 44
  • 57
4
votes
3 answers

jqplot height 100% instead of fixed height

For some reason my jqplot (from a plugin) has a fixed height. This question is directly for people who use this plugin. Do you know how to make the height dynamically change depending on that of its parent? Like via just a 100% height?
sir_thursday
  • 5,270
  • 12
  • 64
  • 118
4
votes
2 answers

How to hide the y-axis label of jqplot bar graph

I'm working on a jqplot horizontal stacked bar graph. I want to hide all the labels from the x and y axis. I was able to hide the x axis labels and markers but when I'm trying to hide the y axis label one entry remains there. This is what I wants…
Arun P Johny
  • 384,651
  • 66
  • 527
  • 531
4
votes
1 answer

JQPlot - Pie chart - get the clicked slice colour

my requirement is to get the selected colour of the pie slice when the user clicks on it. It would be good if I can do it within the following function: $('#chart1').bind('jqplotDataClick', function (ev, seriesIndex, pointIndex, data) { …
Knissanka
  • 207
  • 1
  • 3
  • 12
3
votes
1 answer

jqPlot: print pointLabels from json file

I'd like to render a chart from a JSON file with jqPlot. With the help of some examples I came to the following code that work fine: $(document).ready(function(){ var ajaxDataRenderer = function(url, plot) { var ret = null; $.ajax({ …
EBAH
  • 99
  • 9
3
votes
1 answer

How to change Bar color based on threshold values in jqplot?

Is there a way to set/change the bar color based on a threshold value in a bar chart. var s1 = [460, -260, 690, 820]; For the values specified above, the bar for the one below -200 (bar for -260) should be red. Is there a way to do it in jqplot?…
user1194136
  • 31
  • 1
  • 3
3
votes
1 answer

jqplot bars not lining up with grid

Does anyone know why some of the bars are not lining up in this jqplot bar graph? You can find this at http://www.vonlay.com/jollymeter/app
thebitguru
  • 872
  • 3
  • 12
  • 30
3
votes
1 answer

specify which series groups should be plotted on which Y Axes

I am trying to figure out if its possible to series group plotting with respect to Y axes for example i have 5 series physics, chemistry, maths , literature, programming . assume my data is also in the above order when i plot the graph normally…
dpsdce
  • 5,290
  • 9
  • 45
  • 58
3
votes
3 answers

Draggind data points and submitting values

On page jqPlot there is an example of dragging data point on jqPlot chart. How can I submit (e.g. with jQuery ajax) to server changed values? Are changed (current) values stored somewhere in jqplot object?
TOUDIdel
  • 1,322
  • 14
  • 22
3
votes
4 answers

jquery jqplot jqplot.highlighter displaying the series name in multy series chart

I have a multi-series chart and want to highlight not only x and y coordinates of the point, but also the series name. Is it possible?
user1071208
  • 31
  • 1
  • 3
3
votes
4 answers

Why is my jqPlot not rendering a canvas?

I am trying to use jqPlot for a bar graph and I can't get it to show anything. I have included the jqPlot code and all the plugins. I am not receiving any errors whatsoever I have copied the example code directly: html:
tsdexter
  • 2,911
  • 4
  • 36
  • 59