Page 1 of 1

Frameless gauges?

Posted: Mon 05 Aug 2013 12:48 pm
by xinditta
I've read on other forums some snippets about 'NoFrame' that removes the bezels from the gauges, but no info on where it is set.

Does this even apply to SteelSeries Gauges for Cumulus and if so can anyone point me in the right direction?

or

Is there anyway to remove the bezels, reduce their width or change them to a flat colour that can match with the page background and render them invisible?

Many thanks

Re: Frameless gauges?

Posted: Mon 05 Aug 2013 10:06 pm
by water01

Re: Frameless gauges?

Posted: Fri 09 Aug 2013 9:28 am
by mcrossley
You can indeed 'switch off' the frame completely, you do this via an additional gauge initialization parameter NoFrame: true

However this is a bit of a kludge, it will hide the frame, but the dial face will not expand to fit whole canvas area, it will remain the same size. To 'pretty' up the page you will have to overlap the canvas elements yourself.

I have looked a few times at implementing this feature properly, but the shear volume of code changes involved puts me off each time.

Re: Frameless gauges?

Posted: Sat 05 Aug 2017 7:41 pm
by Herbaldew
mcrossley wrote:You can indeed 'switch off' the frame completely, you do this via an additional gauge initialization parameter NoFrame: true
Could you be specific on how to add this? I can't seem to get it to work.

Thanks

Re: Frameless gauges?

Posted: Sun 06 Aug 2017 1:38 pm
by mcrossley
My bad, the parameter is "frameVisible: false", not sure where noFrame came from!

If you put that in the commonParams section it will apply to all gauges (except the wind rose as that isn't really a gauge but something I cobbled together - you will have to explicitly comment out the frame drawing in that routine).

You will also have to set "showGaugeShadow: false" in the config section, otherwise a phantom shadow will appear around the gauges.

Re: Frameless gauges?

Posted: Sun 06 Aug 2017 2:43 pm
by Herbaldew
That did it - thanks!