From 313cefbe020aa1bc48a3f66a1cb8e3f2ff9a21d6 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Mon, 12 Jul 2010 23:50:45 +0100 Subject: Add help tool tips --- jarmon.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'jarmon.js') 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'; -- cgit v1.2.3