Can you add a property to control the bulb radius of Thermometer?

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Othmar on 12th August 2016
Hi Richard.

Sorry, I have to contact you onece more.
Can you add a value to correct the bulb size of the thermometer. If the thermometer is very small the bulb size is to big and should be set a little smaller. If there is a correction value anybody can set it for his needs. Currently it lokks like: u85i.imgup.net/thermo367a.PNG

Best regards
Othmar
Posted by Richard on 12th August 2016
Hi there,

Sure I'll take a look at that. The gutterLeft and gutterRight properties might be useful in this case.


Richard

Posted by Othmar on 12th August 2016
Hi there,

For your tests - my values of the displayed graph:
canvas width: 60px / height 230px
------------
options: {
     scaleVisible: true,
     textAccessible: true,
     shadowBlur: 5,
     gutterRight: 15,
     gutterLeft: 2,
     textSize: 7,
     textFont: 'Roboto',
     valueLabel: false
}

Many thanks,
Othmar
Posted by Richard on 12th August 2016
Hi there,

Sure - I'll look into this for you.



Richard

Posted by Othmar on 13th August 2016
Hi Richard

On this case, can you please also make the background of the thermometer selectable. Currently it is always white.

Line 470 if RGraph.thermometer.js
             // Draw the white inner content background that creates the border
             co.beginPath();
                 co.fillStyle = 'white';

Thaynk you
Posted by Richard on 13th August 2016
Hi there,

Sure.


Richard

Posted by Richard on 16th August 2016
Hi there,

Regarding the bulb radius - the thermometer looks like it will need entirely rewriting - so this one will take a bit longer.



Richard

Posted by Othmar on 10th September 2016
Hi Richard

Do you have add the bulb radius in the 4.57 release?

Othmar
Posted by Richard on 12th September 2016
Hi there,

No I looked at it and it appears to be more involved than I thought it was going to be. In the mean time you might be able to control the size of the bulb with the gutterLeft and/or the gutterRight properties.




Richard
Posted by Richard on 19th September 2016
Hi there,

Ok I've rewritten the Thermometer chart and it will be a part of the next release (4.58 IIRC). There's two properties that will interest you:

bulbBottomRadius
bulbBottomRadiusAdjust



Richard
Posted by Othmar on 5th October 2016
Hi Richard

Do you have any plan when you will publish v 4.58? (or a downloadable Beta)
Then i can set bulbBottomRadius... :-)

Othmar
Posted by Richard on 5th October 2016
Hi there,

I think I forgot to do a release at the end of September, so here's the new Thermometer:

A demo:

www.rgraph.net/tests/thermometer-basic.html

The new Thermometer library:

www.rgraph.net/libraries/RGraph.thermometer.js




Richard
Posted by Richard on 6th October 2016
Hi there,

Typo. Here's the correct library:

www.rgraph.net/tests/RGraph.thermometer.js




Richard
Posted by Richard on 6th October 2016
Hi there,

How is that working for you?




Richard
Posted by Othmar on 7th October 2016
Hi Richard

I will check it this weekend.

Othmar

Add a reply




« Back to message list