gg = _GetGrid( this.Min.y / this.Parent.Zoom.y, this.Max.y / this.Parent.Zoom.y, this.Scale.y ); if( this.GridDelta.y != 0 ) gg[1] = this.GridDelta.y; var ii = 0; for( var jj = gg[2]; jj >= gg[0]; jj -= gg[1] ) { pp.y = jj*this.Parent.Zoom.y; pp.z = this.Min.z; vv = this.Parent.ScreenPos( pp ); _OAV( this.Line[4][ii], "from", parseInt( vv.x ) + "," + parseInt( vv.y ) ); xx = vv.x; yy = vv.y; pp.z = this.Max.z; vv = this.Parent.ScreenPos( pp ); _OAV( this.Line[4][ii], "to", parseInt( vv.x ) + "," + parseInt( vv.y ) ); _OAV( this.Line[4][ii], "stroke", this.StrokeColor ); _OAV( this.Line[4][ii], "visibility", "visible" ); if( this.Parent.Th < 0 ) { _OAV( this.Text[4][ii],"x",Math.floor( xx+( vv.x-xx )*1.06 )-50*uu ); _OAV( this.Text[4][ii],"y",Math.floor( yy+( vv.y-yy )*1.06 )-7*uu ); } else { _OAV( this.Text[4][ii],"x",Math.floor( vv.x+( xx-vv.x )*1.06 )-50*uu ); _OAV( this.Text[4][ii],"y",Math.floor( vv.y+( yy-vv.y )*1.06 )-7*uu ); } _OAV( this.Text[4][ii],"color",this.StrokeColor ); _OAV( this.Text[4][ii],"visibility","visible" ); if( ( ii == 1 )&&( this.Label.y )) _OAV( this.Text[4][ii],"innerText",this.Label.y ); else { if( isNaN( this.Scale.y )) { if( this.Scale.y.substr( 0,9 ) == "function " ) { ff = eval( "window."+this.Scale.y.substr( 9 )); if( ff ) _OAV( this.Text[4][ii],"innerText",ff( _ScaleString( jj,gg[1] )) ); } else _OAV( this.Text[4][ii],"innerText",_ScaleString( jj,gg[1] )+this.Scale.y ); } else { if( this.Scale.y<1 ) _OAV( this.Text[4][ii],"innerText","" ); if( this.Scale.y == 1 ) _OAV( this.Text[4][ii],"innerText",_ScaleString( jj,gg[1] )); if( this.Scale.y>1 ) _OAV( this.Text[4][ii],"innerText",_DateFormat( jj, gg[1], this.Scale.y )); } } ii++; } if( this.Min.y= 180 ) { if( this.Min.y/this.Parent.Zoom.y>gg[0]-gg[1]/3 ) _OAV( this.Text[4][ii-1],"innerText","" ); } else { if( this.Max.y/this.Parent.Zoom.y