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

More »


Get the latest version of RGraph (version 6.18, 1st June 2024) from the download page. You can read the changelog here. There's also older versions available, minified files and links to hosted libraries.

More »


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]
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,

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:

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]