I have a problem with the Thermometer chart labelsValue position - RGraph.net support forum

I have a problem with the Thermometer chart labelsValue position

Post a reply
Posted by Malaise at 10:14 on 29th September 2021
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 29th September 2021
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

Post a reply

What's your name?
What do you want to say?