Giter VIP home page Giter VIP logo

gaugemeter's People

Contributors

mictronics avatar silvio-didonna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gaugemeter's Issues

how to sensor update gauge esp32 8266 ? i am new to html

great job thanks at first for the great project .......

i am trying to include sensor data in gauge
using esp32

i am able to do in google metter ! example

!DOCTYPE HTML>

<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <script type="text/javascript"> google.charts.load('current', {'packages':['gauge']}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ['Label', 'Value'], ['Memory', 0], ['CPU', 0], ['Network',0]
    ]);

    var options = {
      width: 1500, height: 750,
      redFrom: 90, redTo: 1000,
      yellowFrom:75, yellowTo: 90,
      minorTicks: 50
    };

    var chart = new google.visualization.Gauge(document.getElementById('chart_div'));

    chart.draw(data, options);

    setInterval(function() 
    
    {  

var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function()
{
if (this.readyState == 4 && this.status == 200)
{
var volt = (( parseFloat(this.responseText)/ 4023)*100)
data.setValue(0, 1, volt );
chart.draw(data, options);
}
}

xhttp.open("GET", "/readABC", true);
xhttp.send();

    } ,100);
</script>

but i am unable to lode external data to your gauge ?

pls guide me

i am beginner only

thanks in advance

How can I manually layout multiple GaugeMeter widgets?

Hi, I'm a new learner of css and I'm tring using your GaugeMeter and I think it's kind of great project.
But now when I try to layout 4 GaugeMeter widgets, I meet some trouble. I want to let them be 2x2, but now they can just be 1x4. So can this GaugeMeter support manually layout? Could you give me some advice? Thanks in advance.

Recreate demo gauge

If I want to recreate the "1.21 GW" gauge from the demo image, what settings would I need to use then?

updating the gauge causes animation to start over

Hi
Thanks for the nice gauge!
a cosmetic issue, but when I set the gauge to say, 70% and then a background process updates it to, say, 73%, the gauge animation re-draws it from 0 to 73%, which is not that nice to see.
Any workaround?

data-animate_text_colors=true is not working

when data-animate_text_colors=true is used the animation does not start, it remains at the fixed point of the value. Even if you use the jquery or if you use the data-percent="value"

Is it possible to update the gauge without "starting from 0"

Hi, great widget and thanks for the work you've put in,

Two questions:

  1. Would it be possible to update the Gauge from the current position rather than from "0"?
  2. Would be great if I could use knockout and data bind the data-percent valud to a view model rather than using $("#aGauge").gaugeMeter({ percent: 42 });

Again, thanks

update gauge using data-used

Hi,
I'm using the following gauge:
<div class='GaugeMeter' id='pv_power_1' data-percent='0' data-min='0' data-total='4200' data-used='1200' data-showvalue='true' data-append='W' data-size='200' data-theme='LightBlue-DarkBlue' data-back='RGBa(0,0,0,.1)' data-animate_gauge_colors='true' data-animate_text_colors='true' data-width='15' data-label='PV1 Power' data-style='Arch' data-label_color='#999' ></div>

both the following update command doesn't works....
$('#pv_power_1').gaugeMeter({used:1000});
or
$('#pv_power_1').attr('data-used','1000').gaugeMeter({percent:0});

how can dynamically update this gauge?
thank you!

Set to a different value than 100%

Hi,
I need to display a voltage of a battery. Maximum value is 15V. How can I display e.g 8Volts and draw the according circle?
Either the circle is wrong or it displays 40 (guess it calculates the percentage) instead of 8

$("#PreviewGaugeMeter_1").data("percent",voltage);

How can I change there "percent" to a absolute value?

In HTML I tried
data-showvalue="true" data-min=0 data-total=15 data-used=8

Add option for counter text font size

Currently counter text (indicated value) font size scales with gauge size. Scaling factor is hard coded. Make this an option to improve gauge control.

Who to set metter over 230% or over 500 range ?

Its me again i am thankful to u ๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ’ฏ๐Ÿ’ฏ

I am desining sensor network

I am unable to set metter value over 100 %

I need to display 230 volt ac in metter

And 2000 c temperature

Pls help thanks in advance ๐Ÿ‘๐Ÿ‘๐Ÿ‘

I am new to web design ..,...๐Ÿ‘๐Ÿ‘๐Ÿ‘โœŠ

License clarification

inside GaugeMeter.js there is this comment
"Copyright AshAlom.com All rights reserved."

there is also a LICENCE file saying MIT licence

which is true?
Is it open source, or is it all rights reserved?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.