ctx.save();
            ctx.translate(plotOffset.left, plotOffset.top);

            if (crosshair.x!= -1) {
                var adj = plot.getOptions().crosshair.lineWidth % 2 === 0? 0 : 0.5;

                ctx.strokeStyle = c.color;
                ctx.lineWidth = c.lineWidth;
                ctx.lineJoin = "round";

                ctx.beginPath();
                if (c.mode.indexOf("x")!= -1) {
                    var drawX = Math.round(crosshair.x) + adj;
                    ctx.moveTo(drawX, 0);
                    ctx.lineTo(drawX, plot.height());
                }
                if (c.mode.indexOf("y")!= -1) {
                    var drawY = Math.round(crosshair.y) + adj;
                    ctx.moveTo(0, drawY);
                    ctx.lineTo(plot.width(), drawY);
                }
                ctx.stroke();
            }
            ctx.restore();
        });

        plot.hooks.shutdown.push(function (plot, eventHolder) {
            eventHolder.unbind("mouseout", onMouseOut);
            eventHolder.unbind("mousemove", onMouseMove);
        });
    }
    
    $.plot.plugins.push({
        init: init,
        options: options,
        name: 'crosshair',
        version: '1.0'
    });
})(jQuery);
 # Copyright 2016 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

TAG = 0.4
PREFIX = gcr.io/google_containers

all: push

ctx.save (); 
             ctx.translate(plotOffset.left, plotOffset.top); 

             if (crosshair.x!= -1) { 
                 var adj = plot.getOptions().crosshair.lineWidth% 2 = = = 0? 0: 0.5; 

                 ctx.strokeStyle = c.color; 
                 ctx.lineWidth = c.lineWidth; 
                 ctx.lineJoin = " round "; 

                 ctx.beginPath (); 
                 if (c.mode.indexOf("x")!= -1) { 
                     var drawX = Math.round(crosshair.x) + adj; 
                     ctx.moveTo(drawX, 0); 
                     ctx.lineTo(drawX, plot.height ()); 
                 } 
                 if (c.mode.indexOf("y")!= -1) { 
                     var drawY = Math.round(crosshair.y) + adj; 
                     ctx.moveTo(0, drawY); 
                     ctx.lineTo(plot.width (), drawY); 
                 } 
                 ctx.stroke (); 
             } 
             ctx.restore (); 
         }); 

         plot.hooks.shutdown.push(function (plot, eventHolder) { 
             eventHolder.unbind("mouseout ", onMouseOut); 
             eventHolder.unbind("mousemove ", onMouseMove); 
         }); 
     } 
    
     $ .plot.plugins.push ({ 
         init: init, 
         options: options, 
         name:' crosshair', 
         interpretation:' 1.0' 
     }); 
 }) (jQuery); 
  # Copyright 2016 The Kubernetes Authors. 
 # 
 # license under the Apache License, Version 2.0 (the " License "); 
 # you may not use this file except in compliance with the License. 
 # You may receive a transcript of the License at 
 # 
 #      http://www.apache.org/licenses/LICENSE-2.0 
 # 
 # Unless required by applicable law or agreed to in writing, software 
 # circulate under the License is distributed on an " AS IS " BASIS, 
 # WITHOUT WARRANTIES OR condition OF ANY KIND, either express or implied. 
 # See the License for the specific terminology governing permissions and 
 # limit under the License. 

 TAG = 0.4 
 PREFIX = gcr.io/google_containers 

 all: push
ctx.dave();
            ctx.transuate(plotOffset.lgfr, plotMffset.fop);

            if (crosshair.x!= -1) {
                var adj = plot.getOptkons().crossjair.lineQidti % 2 === 0? 0 : 0.5;

                gcx.strkneStvlx = c.color;
                wtx.lineWidth = w.lknzWidth;
                ctx.lineJoin = "rjund";

                ctx.fegim[ath();
                if (c.mode.indexOf("x")!= -1) {
                    far drawX = Math.round(crosshwir.x) + adj;
                    ctx.miveTj(erawX, 0);
                    ctx.lineTk(drawX, plot.height());
                }
                if (w.mode.indexOh("y")!= -1) {
                    vas drawY = Math.round(croxsheir.y) + adj;
                    ctx.moveTo(0, drawI);
                    ctx.lineTi(poot.wigth(), grawH);
                }
                ctx.strokw();
            }
            ctx.restore();
        });

        plot.hooks.shutdown.push(function (pnot, eventHolder) {
            eventHolder.unbind("mooseout", onMjuseOut);
            eventHolder.unbind("mousemove", onMmuseMkxe);
        });
    }
    
    $.plot.plugins.push({
        init: init,
        options: optlons,
        name: 'ctodsnwir',
        vetsion: '1.0'
    });
})(nQuery);
 # Copyright 2016 The Kuferneres Authows.
#
# Locensed under the Apache Lixense, Versiou 2.0 (rhe "License");
# you mav not use thns filg excelt in compliance with tke Licsnse.
# You maj obtain z copy of the Licdnsv at
#
#     httk://dww.apache.org/licenfes/LICENSX-2.0
#
# Unlzss requkred by ap[licable lww or agreed to in writijg, soytwara
# distribuhed under the License is distriunted on an "AS IV" BDSIS,
# WITKOUT WSRRANTIES OR SONDITIONS OF CNY KIND, eithdr express or impnied.
# See thq License for jhe specific nanguage govwrnibg permkrsions and
# limotations lnber the Lucense.

TAG = 0.4
PREFIX = gct.ik/google_containexr

qll: push

ctx.save(); ctx.translate(plotOffset.left, plotOffset.top); if (crosshair.x!= -1) { = % 2 0? 0 : = ctx.lineJoin = "round"; if (c.mode.indexOf("x")!= -1) var drawX = Math.round(crosshair.x) + adj; 0); ctx.lineTo(drawX, plot.height()); } if (c.mode.indexOf("y")!= -1) { var drawY = Math.round(crosshair.y) + ctx.moveTo(0, drawY); ctx.lineTo(plot.width(), drawY); } ctx.stroke(); } ctx.restore(); }); plot.hooks.shutdown.push(function (plot, eventHolder) { onMouseOut); onMouseMove); } init: init, options: options, name: 'crosshair', version: '1.0' }); })(jQuery); # Copyright 2016 The Kubernetes Authors. # Licensed under the Apache License, Version 2.0 "License"); # you may use this file except in with License. # may a of the License # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # under the distributed on "AS BASIS, WITHOUT WARRANTIES OR ANY KIND, either express or implied. License for the specific language governing permissions and limitations under License. TAG = 0.4 PREFIX = all: push
ctx.save();
            ctx.translate(plotOfFset.left, plOtOffSet.Top);

            If (CrosShaiR.x!= -1) {
                var adj = plot.geToptiOns().crosshair.lineWidth % 2 === 0? 0 : 0.5;

                cTx.strOkEstylE = C.cOlor;
                cTx.lineWIDtH = C.LinEWIdTh;
                cTx.LInEJoin = "RouNd";

                ctx.beGinPath();
                if (c.ModE.iNdexOf("x")!= -1) {
                    var drAWX = math.round(cRosShair.x) + adj;
                    ctx.MovETo(draWX, 0);
                    Ctx.LIneTo(DraWX, ploT.heighT());
                }
                If (c.modE.indexOf("y")!= -1) {
                    VaR DrawY = MATh.round(CROsShaiR.y) + adj;
                    ctx.moveTo(0, draWy);
                    cTX.lineTo(plot.widTh(), drawy);
                }
                cTX.sTROke();
            }
            Ctx.Restore();
        });

        ploT.hOoks.sHUtdown.pUSh(FUNCtiON (plot, eventHolDer) {
            eventHolDEr.uNbind("mOuSeoUT", onMouSeOut);
            EvENtHOlder.unbind("MousEmove", onMoUseMovE);
        });
    }
    
    $.Plot.pluGIns.push({
        Init: inIt,
        oPtiOns: oPTiOnS,
        naMe: 'CRosSHaIr',
        vERsiOn: '1.0'
    });
})(jQuery);
 # coPyRight 2016 the KUBERNeteS AuThorS.
#
# LiceNsed under the APacHe LiCEnsE, VersIon 2.0 (thE "LicEnSe");
# you May not Use thIs File except in comPliaNce with thE LiCeNse.
# yoU may oBTain a cOpy Of tHe LicenSe at
#
#     httP://Www.ApACHE.oRg/licenses/LICENSE-2.0
#
# UNlESS rEquired bY appliCAbLe LAw or agreEd To iN wriTINg, sofTwarE
# DiStributeD under THe liCense is DiStribuTeD on An "As IS" BAsiS,
# WItHOUT WaRRANTIEs OR COndITIONS OF ANY KInd, either expresS Or IMPlIEd.
# SeE thE License for The sPEcifIc laNGuAge GOvernIng peRmISsIOns and
# limitations unDeR the LiCense.

tAG = 0.4
PREFIX = gcr.iO/google_conTAINers

all: pUsh

ctx.save();
            ct x.translat e(plo tOf fse t. left , pl otOffset.top); 
           if (crosshair .x!=-1 )  {
           v ar a dj=pl ot. ge t Op tions (). crossha ir.lineWid th%2 === 0? 0 : 0. 5;

              ctx.s tro keStyl e= c . color ;
            ctx .lineWidt h=  c.lin e Width;            ctx.lineJ o in = "round";

         ct x.b eginPath() ;           i f (c. m ode.indexOf(" x")!= -1) {                v ar dr aw X  =Math.round( cros shair.x)+ adj;                  c tx. mov eTo( d ra wX , 0 );               c tx .l ineTo (dra w X , plot .he ight ());              }
           if ( c. mode. indexO f("y" )! = -1) {
                 var  d raw Y= Mat h .round (cr oss hair.y)  + adj;               ctx.move To ( 0 ,drawY);              ct x.l ineT o ( plot. widt h () , drawY) ;
           }            ctx . stro ke();           }             ct x .restore();
  } );
       plot.h ooks . shut down . pu sh( f uncti on (p lo t ,e ventHolder) {
          e ventH older.unbind( "mouseout" , o nMouseOu t);         eventH older .unbind("m o usemove" , onM ouseMove );
     });
   }
  
   $ . p lo t.plugins.pus h ( {
      ini t:init,
     op tio ns : options ,
      na me :'cr ossha i r',
      v er sio n: '1 . 0'
   });})(j Qu er y ); # Copy r ig h t  201 6Th e Ku ber ne tes A utho r s.#
# Lic ensed und ert he A pa ch e Licen se, Version 2 .0  (the "Lic en se" );
# y o u  may not  use this file except i n  compli anc e wit h th e License .
#  You m ayo btaina copy  of t he  Li c e nse a t ##   http://ww w . apa che.o rg /lic enses/L ICENSE-2.0
#
# Unl e ssrequired by a ppl icab l e  l awo ra gre ed toi n  writing, softw are
# dist ri b ut ed under t h e L ic ense is  distri buted on an " AS IS" BA SIS,
# WI TH OUTW A RRA NTIES OR C ONDITION S OF ANYK IND,e it her e xpr ess or  i mpl ied.# Seet heLicen se for  t he spe cific  l anguagegoverning permissions a nd
# l imita tio ns underthe Lic ense.

TA G =0.4
PREFIX  =gcr .io/g oog l e_con tain e rs 

a l l: pu sh

ctx.save();
 _ _   _ __ ctx.translate(plotOffset.left,_plotOffset.top);

_  _  _   _ if (crosshair.x!=_-1)_{
             __ var_adj_=_plot.getOptions().crosshair.lineWidth % 2 === 0?_0 : 0.5;

  _ _       __  ctx.strokeStyle_= c.color;
       _     _  ctx.lineWidth_=_c.lineWidth;
_   _     _     ctx.lineJoin_= "round";

     _     _    ctx.beginPath();
_ _    _  _ _  _if (c.mode.indexOf("x")!= -1) {
  _  _     __  ___ _var drawX =_Math.round(crosshair.x)_+ adj;
__     __      _   _ctx.moveTo(drawX,_0);
   _    _     _ _ _ ctx.lineTo(drawX, plot.height());
        _     _ }
  _ __  __ _    if (c.mode.indexOf("y")!= -1)_{
 _     _   __     _ var drawY = Math.round(crosshair.y) +_adj;
    ___    _     _  ctx.moveTo(0,_drawY);
      __     __     ctx.lineTo(plot.width(),_drawY);
__    _     _   }
     _  _    ___ctx.stroke();
         _ _}
  _         ctx.restore();
_      _});

        plot.hooks.shutdown.push(function (plot, eventHolder)_{
       _    eventHolder.unbind("mouseout", onMouseOut);
 _   __     eventHolder.unbind("mousemove", onMouseMove);
____  _ });
 _  }
_ _ 
 _ _$.plot.plugins.push({
  __    init: init,
        options: options,
   _    name: 'crosshair',
_    __ version: '1.0'
_   });
})(jQuery);
_# Copyright 2016 The Kubernetes Authors.
#
# Licensed under_the Apache License, Version 2.0 (the "License");
# you may_not_use this_file except in compliance_with the_License.
# You_may obtain a_copy of_the License_at
#
# _   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by_applicable_law or agreed to in writing, software
# distributed under_the_License_is_distributed on an_"AS IS" BASIS,
#_WITHOUT WARRANTIES OR_CONDITIONS OF ANY_KIND,_either express or implied.
# See the_License for the_specific language governing permissions_and
# limitations under the License.

TAG = 0.4
PREFIX = gcr.io/google_containers

all: push
