if (g.getOption('drawXAxis')) {
var h;
+ // NOTE: I think this is probably broken now, since g.getOption() now
+ // hits the dictionary. (That is, g.getOption('xAxisHeight') now always
+ // has a value.)
if (g.getOption('xAxisHeight')) {
h = g.getOption('xAxisHeight');
} else {
lineHeight: "normal", // Something other than "normal" line-height screws up label positioning.
overflow: "hidden"
};
- }
+ };
var labelStyles = {
x : makeLabelStyle('x'),
y : makeLabelStyle('y'),
- y2 : makeLabelStyle('y2'),
+ y2 : makeLabelStyle('y2')
};
var makeDiv = function(txt, axis, prec_axis) {
/*
- * This seems to be called with the following three sets of axis/perc_axis:
+ * This seems to be called with the following three sets of axis/prec_axis:
* x: undefined
* y: y1
* y: y2