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

unable to click when horizontal bar value is 0 in RGraph

I am using RGraph in my Angular 7 application. while using horizontal bar graph i am unable to click when the bar value is zero. i have tried tooltipsHotspotYonly: true and tooltipsHotspotXonly: true Please let me know if anyone have answer for…
Santhosh
  • 1,053
  • 1
  • 20
  • 45
0
votes
1 answer

Cannot enter array values into graph

I am using Rgraph to general a line chart. I am trying to enter values into the chart with Javascript. here is the routine.. function update_day_temp(newval){ var newval = '6,5,7,3,7,9,10'; var dta = []; dta =…
sippytom
  • 27
  • 9
0
votes
1 answer

Problem with X-axis position when Y values are negative

I have a problem with displaying the X-axis at the bottom of a Scatter-type graph when my Y values are negative. The X-Axis keeps showing at the top edge of the canvas (while the X labels are correctly positioned). JS code used below, the div…
Serge
  • 3
  • 2
0
votes
2 answers

How to get label index on click in RGraph

I am using RGraph in our angular 7 application. and able to show the 3d graphs and all. I have a requirement to get index when user clicks on x axis labels. Some times not able to update the graph data dynamically.(this issue is producing in when…
Santhosh
  • 1,053
  • 1
  • 20
  • 45
0
votes
0 answers

Rgraph svg chart in Appcelerator does not fire the click event

I recently updated Rgraph in my Appcelerator project, and I got a problem: the onclick function does not work. Here is a sample code: head:
        
        
0
votes
1 answer

Rgraph line chart spline creating ghost chart

Trying to figure out what is happening here. When I first load the page with the graphs on it I get the following: However after I refresh it I get the following: here is the code that is being rendered: setTimeout(function(){ …
Natdrip
  • 1,144
  • 1
  • 11
  • 25
0
votes
1 answer

RGraph bar labelsAbove in the center of Bar to avoid Webview cutting it

I'm using a Webview in Xamarin to draw an RGraph.Bar. The user can press a "+" button to manipulate the Graph then Graph is refreshed. The thing is for some reason the Webview is cutting off the labelsAbove the bars. I was wondering if there's a…
inggy
  • 19
  • 5
0
votes
1 answer

How to add horizontal intercept on secondary axis in ggplot2

I have a plot with two y-axes, I need to add a hline using values on secondary y-axis. Here is an example link: OR is plotted on secondary y-axis. I want to add a hline at OR=1 OR is plotted on secondary y-axis. I want to add a hline at OR=1. Please…
AST
  • 57
  • 1
  • 6
0
votes
1 answer

Start Pie chart at an angle

I am trying to start a Pie Chart at an angle PI. I saw some documentation on it but it always start at PI/2. What am I doing wrong? "var grafica = new RGraph.SVG.Pie({ id: 'cc', data: data, start: RGraph.PI, options: { linewidth:…
inggy
  • 19
  • 5
0
votes
1 answer

textAccessible labels RGraph Bar not plotted correctly in hidden nav tab

I am creating Horizontal Bar Graphs on a HTML5 webpage using JS RGraph. The text of the labels turns out very blurry unless you set the textAccessible attribute to true. This attribute uses absolute coordinates on the page. My issue (text labels…
0
votes
1 answer

How to synchronize the x-axis to the changes in the window

I'm trying to make something that will change the size of the graph in sync with changing the size of the window. And I actually tried writing it, and to some extent I was successful. I thought I could do it perfectly with the code below, but only…
Orivil
  • 3
  • 1
0
votes
1 answer

X axis title is disappearing after first time, when reloading rGrpah chart on same div

I am using rGraph to draw the chart. it is working fine for the first time. when trying to generate the graph with different input data for the second time, without refreshing the page. The graph is generating fine, but the x-axis title is…
0
votes
1 answer

Dynamically panning and zooming rGraph line chart using the mouse

I am trying to avoid spending a lot of time to find out rGraph is incapable of doing what I need. I need to be able to use my mouse to zoom and or pan the x and y axis. I also need to be able to capture the subset of the original array that is…
user2728963
  • 193
  • 2
  • 10
0
votes
1 answer

Redraw RGraph SVG SemiCircular Chart

I have a webapplication with some SVG SemiCircular RGraph charts. The initial drawing of these SVG graphs goes well. Some of these charts I want to update on the fly with a new value. I saw in the answer (How do I redraw an RGraph SVG line plot?)…
Ivo Sturm
  • 130
  • 7
0
votes
1 answer

How do I redraw an RGraph SVG line plot?

I have a simple web server embedded on a microcontroller. One of the web pages allows the user to plot captured data (in CSV format). The page first loads all of the data and presents it to the user, but then I want to allow the user to do things…
Linda X
  • 44
  • 4
1 2 3
8 9