Questions tagged [rgraph]

RGraph is an javascript charts library that uses the HTML5 canvas and SVG tags to draw charts with and supports many different types of visualisation.

RGraph is a free javascript charts library that uses the HTML5 canvas and SVG tags to draw charts with JavaScript and supports many different types of visualisation.

Bar, Line, Pie, Scatter, Rose, Gantt, Horizontal Bar charts and more are all catered for - all of which are very quick to render in the browser. There are over 50 different types of charts that are possible using both SVG and canvas.

There are integration APIs for AJAX, CSV files, Google Sheets and lots of documentation about integrating with server-side scripts.

136 questions
0
votes
1 answer

Error "geom_point requires the following missing aesthetics: y" when using geom_point

I need to plot a few columns from my dataframe. Generally speaking, in this chart, I need the values of the three selected columns to be plotted as one row, where X will represent the Release column, as per the following…
Leomar de Souza
  • 677
  • 10
  • 23
0
votes
2 answers

rgraph SVG getting 0 width and height

$("#sparepartconsumption svg").attr("width", '800px'); $("#sparepartconsumption svg").attr("height", '500px'); console.log(datax) console.log(datay) var bar = new RGraph.SVG.HBar({ id: 'sparepartconsumption', data: datax, options: { …
guradio
  • 15,524
  • 4
  • 36
  • 57
0
votes
1 answer

RGraph hide line plus labels with a click on key element

So, I have a graph like this: What I'm trying to achieve is to hide the lines plus the labels with it when I click the key referring that line. I found this on the docs and I tried doing this: $(line.canvas).on('click', function (e) //line is the…
CaldeiraG
  • 152
  • 2
  • 14
0
votes
0 answers

Getting a popup first instead of the chart

When I load my web page to generate an RGraph scatter plot chart I get the following popup instead: Once I click [OK] it loads the chart. I get the same popup when trying to load an RGraph line chart. How do I prevent this popup? = = = = = = = = =…
WebFixItMan
  • 231
  • 2
  • 9
0
votes
1 answer

RGraph waterfall chart: Get rid of lines connecting bars

I created a waterfall using RGraph as seen in the image below. Everything looks great except there are these thin lines connecting each bar. I have circled them in red in the image. How can I get rid of these thin connecting lines? I can't find it…
james
  • 712
  • 4
  • 11
  • 29
0
votes
1 answer

Scatter Plot with Mirrored X-Axis

I am using RGraph version 5.00, trying to make a scatter plot that looks like this, https://i.stack.imgur.com/lsPB8.png This is my best effort, thus far, https://i.stack.imgur.com/LKIYH.png How can I move the Y-Axis from the left-hand side to the…
0
votes
1 answer

RGraph V5 Upgrade - error getting context

I had a working 3d chart using version 2107-10-1 that used images for the y axis. I'm now trying to use the version 5 libraries but I'm getting an error: "Cannot read property 'getContext' of null at new RGraph.Drawing.Image…
0
votes
0 answers

charts disappear on-click? I am using dynamic feature

I am using two different charts on the same page, so when I click on any chart of them the Gauge chart disappear. var gauge1 = new RGraph.Gauge({ id: 'gauge', min:0, max: 100, value:…
A. Hamdy
  • 39
  • 3
0
votes
1 answer

Add additional column in SVG rgraph to display values of bar graph

I have a hbar bar looking like: I wanted to add additional column at the end to display bar values. I want to add 2 columns to display number 2 and 3 on the first row. I want my graph to look like this: I tried to append in the svg but It is not…
guradio
  • 15,524
  • 4
  • 36
  • 57
0
votes
1 answer

Rgraph: How to show average on top of stacked bar?

I am using Rgraph and I want to show average at the top of each stacked bar graph. How can we do that?
Trupti
  • 843
  • 2
  • 11
  • 28
0
votes
1 answer

Rpraph is not showing in canvas