sure - see attached.
I also added a few extra button for the chart for various lengths of time.
1/2 = half a day / 6hours
q = 3months / quarter
y = 12 months / year
<a class="graphControl" href="#" data-role="button" hours="8760" data-icon="calendar" data-theme="b" title="last year">Y</a>
<a class="graphControl" href="#" data-role="button" hours="2160" data-icon="calendar" data-theme="b" title="last quarter">Q</a>
<a class="graphControl" href="#" data-role="button" hours="720" data-icon="calendar" data-theme="b" title="last month">M</a>
<a class="graphControl" href="#" data-role="button" hours="168" data-icon="calendar" data-theme="b" title="last week">W</a>
<a class="graphControl" href="#" data-role="button" hours="24" data-icon="calendar" data-theme="b" title="last day">D</a>
<a class="graphControl" href="#" data-role="button" hours="12" data-icon="calendar" data-theme="b" title="half day">�</a>
<a class="graphControl" href="#" data-role="button" hours="1" data-icon="calendar" data-theme="b" title="last hour">H</a>
Lastly - I've been experimenting with some of Flot markings to add indicator lines for where the Capacitor voltage might got above / below. (Only one is visible on this view)
for this solar mote, I've got:
Blue line at: 5.4V (Capacitor limit)
Dark red at 3.3V (lowest ideal for Moteino)
Bright red at 2V (death lies below this line)
For those interested - this is added to the chartoptions for a specific metric in my userdefined metrics file.
I might see if I can have this line be dynamic based on a slider setting assigned to the metric. But then again, that might be beyond me code wise.
markings: [
//Max Capacitor Voltage
{ yaxis: { from: 5.54, to: 5.54 }, color: "#0054b8" },
//Minimum Ideal Voltage
{ yaxis: { from: 3.3, to: 3.3 }, color: "#751717" },
//Dead
{ yaxis: { from: 2, to: 2 }, color: "#8b0000" }
]