jondot/graphene

Gauge type: current

Closed this issue · 2 comments

Is there a way to display the latest data point on a gauge label or gadget? Something like:

var description = {
  "Current Speed": {
    source: "http://localhost:4567/",
    GaugeLabel: {
      parent: "#hero-one",
      title: "Your speed is",
      type: "current"
    }
  }
}

Looks like you already implemented it yourself, I salute you :)

hello,I want to get the sum of the latest day data point on a gauge lable,something like:
var description = {
"The Sum": {
source: "http://localhost:4567/",
GaugeLabel: {
parent: "#hero-one",
title: "The Sum is",
type: "sum"
}
}
}

how to do it?Thank you!