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
0 answers

Uncaught referenceError: RGraph is not defined problem when upgrading to PHP 8.1

When I use PHP 8.1, my RGraph chart does not work, the following error notice appeared: uncaught referenceError: RGraph is not defined I use the simple code as presented in the example on rgraph.net: new RGraph.Bar{( id: "cvs", data:…
0
votes
1 answer

How do I stop spline lines from extrapolating with null values?

I am trying to draw a line graph with multiple lines on it. Some of the lines have null values at the start (do not have measurements for all early values). When the lines are set to be splines, the splines extrapolate the null values to be very…
0
votes
0 answers

Error creating upset plot - ggupset producing redundant bars

I have a gene list like gene Sample PRKG1 D6 ERC2 D6 LINC01695 D6 CNTN5 D6 AC004704.1 D10 ERC2 D10 which I converted into a tibble using df %>% group_by(gene) %>% summarize(ID = list(Sample)) gene ID …
trisha
  • 1
  • 2
0
votes
1 answer

Canvas on aspx page is always on top of div - asp.net

I have a master page with a fixed header/div on top of page. Using this, I can scroll my webpages vertically with fixed headers on top. But now I have to show some graphs on one of my webpage. And I used Rgraph opensource for it. It draws the graph…
DTechy
  • 5
  • 4
0
votes
1 answer

is there any property in rgraph to give space between the label and graph?

How to add space in between the graph and the label(Apr 5)?
0
votes
1 answer

How to display y axis label in multiple lines in RGraph?

Hi I am using RGraph in Angular 7 application. in the y axis i am showing names. instead of showing in one line i want to show in multiple lines. yaxisLabelsAngle: 25 is not working.
Santhosh
  • 1,053
  • 1
  • 20
  • 45
0
votes
1 answer

How to set Bar width In Rgraph?

I am not able to set bars width if there is only 1 or 2 bars in chart. I am using Rgraph in my angular 7 app. I am unable to set marginInner property value based on the number of bars. Is there any property to set the barwidth directly.
Santhosh
  • 1,053
  • 1
  • 20
  • 45
0
votes
1 answer

how to give space between bar and it's label?

I am using RGraph in Angular7 and i want to apply space between bar and it's label
Santhosh
  • 1,053
  • 1
  • 20
  • 45
0
votes
0 answers

how to draw the line in middle of every bar

Is there any chart available as below in RGraph or Swimlane ngx charts. if it is not available Please let me know how to do it. Big thanks in advance.
Santhosh
  • 1,053
  • 1
  • 20
  • 45
0
votes
1 answer

RGraph Pie Chart Doesn't Refresh Value

I try to get data from the API and refresh the Pie chart on an Electron application page, but I can't refresh the value of the chart. The values on the chart never change. I tried this method with RGraph Gauge before and it worked, but with…
0
votes
1 answer

RGraph - custom-HTML in labels

Is it possible to insert custom HTML-code as a xaxisLabel of a bar - graph? Like xaxisLabels: [''] In the result, the closing-Tag () is missing.
Michael
  • 17
  • 4
0
votes
1 answer

Get XAxisLabel value on clicking on it

Hi I am using RGraph in my angular 7 application. all working as expected. But i need a feature as below. I want to get the value of xaxislabel on clicking on it. Please let me know if anyone has answer. Thanks in advance I have tried below but not…
Santhosh
  • 1,053
  • 1
  • 20
  • 45
0
votes
1 answer

change bar values without redrawing the whole chart

Is it possible to change bar values in an already generated Graph dynamically and animate them (like css-transitions on height/width) without redrawing the whole chart?
Michael
  • 17
  • 4
0
votes
1 answer

How to show or hide a data point on RGraph Line chart using checkbox?

I'm trying to show/hide a data point on an Rgraph line chart using the canvas method based on a checkbox. The javascript for creating the chart is here. I cannot add the full code here as it is too long. Image of Chart with checkboxes // Check for…
0
votes
2 answers

How do I get all my labels from x-axis shown on R for a barplot?

This is my first time using RStudio, and I've tried to find the the answer to my solution along with tinkering around with the code but I haven't been able to figure it out. I've even looked here and found other users with the same issue How to…
user3189
  • 3
  • 2
1 2
3
8 9