summaryrefslogtreecommitdiff
path: root/jarmon.js
diff options
context:
space:
mode:
authorRichard Wall <richard@aziz>2010-07-12 23:50:45 +0100
committerRichard Wall <richard@aziz>2010-07-12 23:50:45 +0100
commit313cefbe020aa1bc48a3f66a1cb8e3f2ff9a21d6 (patch)
tree127f428db351ce30ffec27bd3ac30317e0f64ff0 /jarmon.js
parentcc024d3b834a6c2417bbac0ea7799bbc2dd3a045 (diff)
Add help tool tips
Diffstat (limited to 'jarmon.js')
-rw-r--r--jarmon.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/jarmon.js b/jarmon.js
index be1d219..c6da509 100644
--- a/jarmon.js
+++ b/jarmon.js
@@ -476,7 +476,9 @@ jarmon.Chart.prototype.draw = function() {
$.plot(self.template, data, self.options);
// Highlight any disabled data sources in the legend
- self.template.find('.legendLabel').each(
+ self.template.find('.legendLabel')
+ .attr('title', 'Data series switch - click to turn this data series on or off')
+ .each(
function(i, el) {
var labelCell = $(el);
if( $.inArray(labelCell.text(), disabled) > -1 ) {
@@ -680,7 +682,6 @@ jarmon.ChartCoordinator = function(ui) {
options = this.ui.find('select[name="tzoffset"]');
if(options.length == 1) {
- console.log(options);
var label, val;
for(var i=-12; i<=12; i++) {
label = 'UTC';