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
6
votes
3 answers

jqplot - don't want to display / show the y axis

I am using the jqplot charting library from quite sometime. I don't want to display the y2axis (i.e when I am working with multiple axes/series) Went through the documentation and found that 'show: false' will not show the axis. Link here:…
Anish Nair
  • 3,238
  • 29
  • 41
6
votes
1 answer

JqPlot Pie Chart - Change Pie Slice Colors

I have a pie chart displaying using JqPlot. I would be interested in changing the actual colors of the slice, and have had no luck so far. I came across this link and tried the solution, but I'm not sure if I'm putting it in the wrong place (Have…
109221793
  • 16,477
  • 38
  • 108
  • 160
6
votes
5 answers

JQPlot Basic Chart not displaying

I need to get numerical data to display as a chart on a webpage, and I've found that JQPlot looks to be one of the easiest JQuery libraries to do this as well as being free. However, despite all my efforts to look at the examples and tutorials on…
superspartan999
  • 191
  • 4
  • 14
6
votes
2 answers

jqplot show highlighter on only one chart

I have a jqplot chart with two data lines. Only one should have the highlighter enabled. I tried this: series:[ { highlighter: { formatString: "", show: false } }, { highlighter: { …
user1544337
5
votes
2 answers

How can I display a jqplot stacked bar graph when xaxis is text?

I can't seem to get my jqplot bar graph to stack. I have the following code: // Pass/Fail rates per request $.jqplot('passFailPerRequestStats', [passRate, failRate], { title: 'Automation Pass Count Per Test Plan', //stackSeries: true, …
KallDrexx
  • 27,229
  • 33
  • 143
  • 254
5
votes
2 answers

jqPlot bar chart width

I currently have a bar chart in jquery. If the results show only 1 bar the issues is that the bar fills the space of the whole graph. How can I adjust the width of the bar so that it doesn't look like a log.
Nate Pet
  • 44,246
  • 124
  • 269
  • 414
5
votes
1 answer

How to dynamically change jqplot renderer?

Basically, I want the user to be able to change the type of the graph by clicking a drop down menu: BarRenderer, PieRenderer, etc. The data is the same. I know I can call $.jqplot() again on the same element, but then I'll have to pass all the…
Anh Pham
  • 5,431
  • 3
  • 23
  • 27
5
votes
2 answers

Convert jqplot chart to image

I'm trying to convert the entire jqplot bar chart, including it's legend and chart title, to image. However, using toDataURL and steps in this post (Convert canvas to image and open in new window using ruby on rails and javascript), I'm only able to…
Mich
  • 257
  • 1
  • 3
  • 9
5
votes
1 answer

jQplot dragable

I'm using jQplot within jQuery and am trying to make the points dragable. jqplot has this functionality through the jqplot.dragable plugin I should say that I am new to jQplot, but I do have it plotting my information correctly. I think that I am…
James
  • 3,051
  • 3
  • 29
  • 41
5
votes
2 answers

jqPlot: hide axis ticks?

Here's a default jqPlot axis with ticks: Setting "showTicks: false" on the x-axis removes everything: I want to display the numbers and hide the ticks - the little dashes between the numbers and the thick axis line. Is this possible?
Ollie Glass
  • 19,455
  • 21
  • 76
  • 107
5
votes
1 answer

jqPlot - How to change negative color

I am using jqPlot to draw an area graph with series defaults fill: true, fillToZero: true with useNegativeColors default to true. I can change the color and fillColor but I did not find a way how to change the line color or fill color below zero…
CallMeLaNN
  • 8,328
  • 7
  • 59
  • 74
5
votes
1 answer

How to ensure markers dont get cut-off in jqplot

I am utilizing jqPlot to create a linear chart with a Y axis from 0% to 100%. The problem I am having is that one of the values falls on the X axis (is 0%) or 100% it is getting cut-off by the axis or the border of the chart. How can I ensure this…
GeorgeU
  • 7,819
  • 8
  • 26
  • 38
5
votes
2 answers

Charting library that does not cause memory leak when updating chart

I want to build a page with interactively refreshing charts based on the data that is being fetched from the server asynchronously using AJAX. I really like jqPlot, but when trying to update the graph periodically (by calling replot(), without page…
Tomasz Nurkiewicz
  • 334,321
  • 69
  • 703
  • 674
5
votes
2 answers

JQPlot Printing

Does any body have have a simple working example to print the JQPlot graph. I am struggling a bit with it. I need to print it in both IE and Chrome and I am even open to using 2 diiferent methods based upon browser detection. Also I need to print…
Rajeev
  • 51
  • 3
5
votes
2 answers

Vary Color Bar For Two Series Data in Jqplot

I want to know how to make vary color bar for two series in Jqplot. If I have only one series data, it works perfectly like the image below The red and green color based on its value. But if I have two series data, I can't configure to have two…
deerawan
  • 8,002
  • 5
  • 42
  • 51