');
// Add x axis title
if (a.x.options.title && a.x.used)
html.push(
'
', a.x.options.title, '
'
);
// Add x2 axis title
if (a.x2.options.title && a.x2.used)
html.push(
'
', a.x2.options.title, '
'
);
// Add y axis title
if (a.y.options.title && a.y.used)
html.push(
'
', a.y.options.title, '
'
);
// Add y2 axis title
if (a.y2.options.title && a.y2.used)
html.push(
'
', a.y2.options.title, '
'
);
html = html.join('');
var div = D.create('div');
D.setStyles({
color: options.grid.color
});
div.className = 'flotr-titles';
D.insert(this.el, div);
D.insert(div, html);
}
}
});
})();