MENU
.net Powerful JavaScript charts
About
RGraph is a JavaScript charts library based on HTML5 SVG and canvas. RGraph is mature (over 18 years old) and has a wealth of features making it an ideal choice to use for showing charts on your website.

More »

 

Version 7.20
Version 7.20 (released in June 2026) is the latest version of RGraph and the major change in this version is an update to the default values of properties making for better looking charts without having to set any properties. Read more about this and other changes in the changelog.

Download »

 

Download
Get the latest version of RGraph (version 7.20, 9th June 2026) from the download page. You can read the changelog here. There's also older versions available, minified files and links to cdnjs.com hosted libraries.

Download »

 

Latest forum posts
These are the latest support forum posts that have been posted or updated.


16th June, Rachel
I have a question about the 3D Bar chart
12th June, Marco
Should I use SVG or canvas for the charts on my website?
9th June, Richard
New version of RGraph: version 7.20
3rd June, Patrick
Question about installing RGraph
1st June, Ouja
How do I add a click event to a bar in my Bar chart?


Support forum »

 

License
RGraph can be used for free under the GPL or if that doesn't suit your situation there's an inexpensive (£129) commercial license available.

More »

I have a problem with the Thermometer chart labelsValue position


Posted by Malaise at 10:14 on Wednesday 29th September 2021 [link]
Hello,
with RGraph 6.02 the text of the labelsValue of the thermometers appears to be too much on the top of the window.
This is not the case when I display your examples but with my thermometers (I'ld like to attach a screenshot).

    new RGraph.Thermometer({
     id: 'ExtTemp',
     min: -20,
     max: 50,
     value: 16.9,
     options: {
        scaleVisible: true,
        marginLeft: 25,
        marginRight: 30,
        marginTop: 25,
        marginBottom: 25,
        colors: ['red'],
        titleSide: 'Ext Temp (?C)',
        titleSideBold: true,
        textAccessible: false,
        labelsCount: 7,
        scaleVisible: true,
        scaleDecimals: 0,
     }
    }).draw();


I don't understand why. Do you reproduce it?
Thank you

Posted by Richard at 16:56 on Wednesday 29th September 2021 [link]
Your code appears to be OK - there's an example here:

https://codepen.io/rgraph/pen/wveNXGQ/left

And the labelValue figure appears to be showing up correctly. Is this not the case on your page? Feel free to send a screenshot to me at richardheyes ! gmail !com

[Replies are closed]