|
@ -82,6 +82,9 @@ function DataAxis(body, options, svg, linegraphOptions) { |
|
|
|
|
|
|
|
|
// create the HTML DOM
|
|
|
// create the HTML DOM
|
|
|
this._create(); |
|
|
this._create(); |
|
|
|
|
|
if (this.scale == undefined) { |
|
|
|
|
|
this._redrawLabels(); |
|
|
|
|
|
} |
|
|
this.framework = {svg: this.svg, svgElements: this.svgElements, options: this.options, groups: this.groups}; |
|
|
this.framework = {svg: this.svg, svgElements: this.svgElements, options: this.options, groups: this.groups}; |
|
|
|
|
|
|
|
|
var me = this; |
|
|
var me = this; |
|
@ -493,7 +496,7 @@ DataAxis.prototype._redrawLabel = function (y, text, orientation, className, cha |
|
|
*/ |
|
|
*/ |
|
|
DataAxis.prototype._redrawLine = function (y, orientation, className, offset, width) { |
|
|
DataAxis.prototype._redrawLine = function (y, orientation, className, offset, width) { |
|
|
if (this.master === true) { |
|
|
if (this.master === true) { |
|
|
var line = DOMutil.getDOMElement('div', this.DOMelements.lines, this.dom.lineContainer);//this.dom.redundant.lines.shift();
|
|
|
|
|
|
|
|
|
var line = DOMutil.getDOMElement('div', this.DOMelements.lines, this.dom.lineContainer); //this.dom.redundant.lines.shift();
|
|
|
line.className = className; |
|
|
line.className = className; |
|
|
line.innerHTML = ''; |
|
|
line.innerHTML = ''; |
|
|
|
|
|
|
|
|