zoukankan      html  css  js  c++  java
  • gatling chart分析

    打开一个gatling chart,分析其内容

    <此处缺图,切换windows后补上>

    1                         <div class="schema geant">
    2                             <div id="container_distrib" class="geant"></div>
    3                         </div>

    这里定义了一个div, id container_distrib

    接下来在js中定义了对象模型,包括样式和数据

     1 var latencyChart = new Highcharts.StockChart({
     2     chart: {
     3         renderTo: 'container_latency',
     4         zoomType: 'x'
     5     },
     6     credits: {
     7         enabled: false
     8     },
     9     legend: {
    10         enabled: true,
    11         floating: true,
    12         y: -285,
    13         borderWidth: 0
    14     },
    15     title: {
    16         text: 'A title to let highcharts reserve the place for the title set later'
    17     },
    18     rangeSelector: {
    19         buttons : [{
    20         type : 'minute',
    21         count : 1,
    22         text : '1m'
    23     }, {
    24         type : 'minute',
    25         count : 10,
    26         text : '10m'
    27     }, {
    28         type : 'hour',
    29         count : 1,
    30         text : '1h'
    31     }, {
    32         type : 'all',
    33         count : 1,
    34         text : 'All'
    35     }],
    36     selected : 3,
    37     inputEnabled : false
    38     },
    39     xAxis: {
    40         type: 'datetime',
    41         ordinal: false,
    42         maxZoom: 10000 // three days
    43     },
    44     yAxis:[
    45     {
    46         min: 0,
    47         title: {
    48             text: 'Latency (ms)',
    49             style: {
    50                 color: '#4572A7'
    51             }
    52         }
    53     }, {
    54         min: 0,
    55         title: {
    56             text: 'Active Sessions',
    57             style: {
    58                 color: '#FF9D00'
    59             }
    60         },
    61         opposite: true
    62     }],
    63     plotOptions: {
    64         arearange: {
    65             lineWidth: 1
    66         },
    67         series: {
    68             shadow: true
    69         }
    70     },
    71     series: [
    72     {
    73 color: '#4572A7'
    74 , pointInterval: 1000
    75 , name: 'Latency (success)'
    76 , data: [
    77 [1403253946928,0,30],[1403253948003,0,40],[1403253949078,0,20],[1403253950153,10,40],[1403253951228,10,40],[1403253952303,10,40],[1403253953378,10,50],[1403253954453,10,60],[1403253955528,10,90],[1403253956603,20,80],[1403253957678,20,80],[1403253958753,20,90],[1403253959828,30,90],[1403253960903,30,100],[1403253961978,40,140],[1403253963053,30,120],[1403253964128,40,130],[1403253965203,40,130],[1403253966278,50,140],[1403253967353,50,150],[1403253968428,50,150],[1403253969503,60,180],[1403253970578,60,170],[1403253971653,70,170],[1403253972728,70,180],[1403253973803,70,190],[1403253974878,80,200],[1403253975953,80,240],[1403253977028,80,210],[1403253978103,80,230],[1403253979178,90,230],[1403253980253,90,230],[1403253981328,90,240],[1403253982403,100,250],[1403253983478,100,280],[1403253984553,100,260],[1403253985628,110,260],[1403253986703,110,280],[1403253987778,120,280],[1403253988853,120,290],[1403253989928,120,330],[1403253991003,120,330],[1403253992078,130,310],[1403253993153,130,320],[1403253994228,140,330],[1403253995303,140,340],[1403253996378,150,340],[1403253997453,150,380],[1403253998528,160,360],[1403253999603,160,370],[1403254000678,160,370],[1403254001753,160,380],[1403254002828,170,380],[1403254003903,170,400],[1403254004978,170,430],[1403254006053,180,410],[1403254007128,180,410],[1403254008203,180,410],[1403254009278,180,420],[1403254010353,190,440],[1403254011428,200,470],[1403254012503,200,470],[1403254013578,200,460],[1403254014653,210,470],[1403254015728,210,470],[1403254016803,210,480],[1403254017878,220,490],[1403254018953,220,520],[1403254020028,220,500],[1403254021103,230,510],[1403254022178,230,510],[1403254023253,220,510],[1403254024328,230,530],[1403254025403,240,560],[1403254026478,240,580],[1403254027553,240,540],[1403254028628,240,550],[1403254029703,240,540],[1403254030778,240,540],[1403254031853,240,540],[1403254032928,240,620],[1403254034003,250,590],[1403254035078,240,550],[1403254036153,240,540],[1403254037228,240,540],[1403254038303,240,540],[1403254039378,240,540],[1403254040453,240,570],[1403254041528,240,530],[1403254042603,250,540],[1403254043678,240,540],[1403254044753,240,540],[1403254045828,240,540],[1403254046903,240,580],[1403254047978,240,570],[1403254049053,250,550],[1403254050128,240,550],[1403254051203,240,550],[1403254052278,240,540],[1403254053353,240,540],[1403254054428,250,580],[1403254055503,240,530],[1403254056578,240,550],[1403254057653,240,540],[1403254058728,240,540],[1403254059803,230,550],[1403254060878,240,570],[1403254061953,240,570],[1403254063028,240,540],[1403254064103,240,530],[1403254065178,240,550],[1403254066253,240,540],[1403254067328,230,540],[1403254068403,240,580],[1403254069478,240,540],[1403254070553,240,550],[1403254071628,240,540],[1403254072703,240,570],[1403254073778,250,590],[1403254074853,250,540],[1403254075928,240,570],[1403254077003,250,550],[1403254078078,240,540],[1403254079153,240,530],[1403254080228,250,550],[1403254081303,240,540],[1403254082378,240,570],[1403254083453,240,570],[1403254084528,240,530],[1403254085603,240,540],[1403254086678,240,540],[1403254087753,250,540],[1403254088828,240,540],[1403254089903,240,580],[1403254090978,240,540],[1403254092053,240,530],[1403254093128,240,530],[1403254094203,240,540],[1403254095278,240,550],[1403254096353,240,550],[1403254097428,240,570],[1403254098503,240,530],[1403254099578,240,540],[1403254100653,240,540],[1403254101728,240,540],[1403254102803,240,570],[1403254103878,260,600],[1403254104953,240,540],[1403254106028,240,540],[1403254107103,240,540],[1403254108178,240,530],[1403254109253,230,530],[1403254110328,240,540],[1403254111403,240,580],[1403254112478,240,530],[1403254113553,240,540],[1403254114628,240,570],[1403254115703,250,590],[1403254116778,240,550],[1403254117853,240,570],[1403254118928,230,560],[1403254120003,240,540],[1403254121078,240,550],[1403254122153,240,540],[1403254123228,240,540],[1403254124303,240,530],[1403254125378,240,560],[1403254126453,240,540],[1403254127528,250,580],[1403254128603,240,550],[1403254129678,240,550],[1403254130753,250,550],[1403254131828,240,560],[1403254132903,250,600],[1403254133978,260,600],[1403254135053,250,550],[1403254136128,240,550],[1403254137203,240,540],[1403254138278,240,540],[1403254139353,240,570],[1403254140428,240,580],[1403254141503,240,540],[1403254142578,240,550],[1403254143653,240,550],[1403254144728,240,550],[1403254145803,250,570],[1403254146878,240,570],[1403254147953,230,530],[1403254149028,240,540],[1403254150103,240,530],[1403254151178,240,540],[1403254152253,240,540],[1403254153328,240,570],[1403254154403,240,560],[1403254155478,230,540],[1403254156553,240,540],[1403254157628,240,540],[1403254158703,240,550],[1403254159778,240,540],[1403254160853,240,570],[1403254161928,240,540],[1403254163003,240,540],[1403254164078,240,540],[1403254165153,240,540],[1403254166228,240,530],[1403254167303,240,540],[1403254168378,240,570],[1403254169453,230,550],[1403254170528,240,540],[1403254171603,240,550],[1403254172678,240,540],[1403254173753,240,540],[1403254174828,240,590],[1403254175903,250,600],[1403254176978,250,540],[1403254178053,240,550],[1403254179128,240,550],[1403254180203,240,550],[1403254181278,240,540],[1403254182353,240,580],[1403254183428,250,550],[1403254184503,240,540],[1403254185578,230,540],[1403254186653,250,540],[1403254187728,240,550],[1403254188803,250,540],[1403254189878,240,570],[1403254190953,240,560],[1403254192028,240,550],[1403254193103,250,550],[1403254194178,240,550],[1403254195253,240,550],[1403254196328,240,560],[1403254197403,230,580],[1403254198478,240,540],[1403254199553,240,540],[1403254200628,240,540],[1403254201703,250,550],[1403254202778,240,540],[1403254203853,240,580],[1403254204928,250,560],[1403254206003,240,560],[1403254207078,240,530],[1403254208153,240,530],[1403254209228,240,540],[1403254210303,240,540],[1403254211378,240,550],[1403254212453,240,530],[1403254213528,230,530],[1403254214603,240,540],[1403254215678,240,540],[1403254216753,240,540],[1403254217828,240,560],[1403254218903,230,540],[1403254219978,230,530],[1403254221053,230,540],[1403254222128,230,520],[1403254223203,240,540],[1403254224278,240,560],[1403254225353,240,570],[1403254226428,240,550],[1403254227503,240,540],[1403254228578,240,540],[1403254229653,240,520],[1403254230728,230,520],[1403254231803,240,550],[1403254232878,240,530],[1403254233953,230,530],[1403254235028,240,560],[1403254236103,240,570],[1403254237178,240,530],[1403254238253,240,540],[1403254239328,240,580],[1403254240403,240,540],[1403254241478,240,540],[1403254242553,240,540],[1403254243628,230,530],[1403254244703,240,540],[1403254245778,250,570],[1403254246853,240,560],[1403254247928,240,540],[1403254249003,240,530],[1403254250078,240,540],[1403254251153,240,540],[1403254252228,230,530],[1403254253303,240,560],[1403254254378,230,530],[1403254255453,230,530],[1403254256528,230,520],[1403254257603,230,540],[1403254258678,240,530],[1403254259753,240,570],[1403254260828,240,560],[1403254261903,240,550],[1403254262978,240,590],[1403254264053,240,540],[1403254265128,240,580],[1403254266203,240,570],[1403254267278,240,570],[1403254268353,230,540],[1403254269428,240,540],[1403254270503,240,530],[1403254271578,240,540],[1403254272653,240,540],[1403254273728,240,570],[1403254274803,240,560],[1403254275878,240,550],[1403254276953,240,540],[1403254278028,240,540],[1403254279103,250,540],[1403254280178,240,540],[1403254281253,240,570],[1403254282328,240,540],[1403254283403,240,540],[1403254284478,240,540],[1403254285553,250,550],[1403254286628,240,540],[1403254287703,240,540],[1403254288778,240,570],[1403254289853,230,540],[1403254290928,240,540],[1403254292003,240,540],[1403254293078,240,540],[1403254294153,240,550],[1403254295228,250,590],[1403254296303,240,590],[1403254297378,240,550],[1403254298453,240,540],[1403254299528,240,540],[1403254300603,240,540],[1403254301678,240,540],[1403254302753,240,590],[1403254303828,240,530],[1403254304903,240,530],[1403254305978,240,540],[1403254307053,240,540],[1403254308128,240,540],[1403254309203,240,570],[1403254310278,250,580],[1403254311353,240,550],[1403254312428,240,540],[1403254313503,250,540],[1403254314578,240,540],[1403254315653,240,540],[1403254316728,240,570],[1403254317803,240,540],[1403254318878,240,540],[1403254319953,250,540],[1403254321028,240,540],[1403254322103,240,530],[1403254323178,240,540],[1403254324253,240,580],[1403254325328,260,630],[1403254326403,240,560],[1403254327478,240,540],[1403254328553,240,560],[1403254329628,240,540],[1403254330703,240,560],[1403254331778,240,570],[1403254332853,240,540],[1403254333928,240,540],[1403254335003,240,540],[1403254336078,240,530],[1403254337153,240,550],[1403254338228,250,580],[1403254339303,240,530],[1403254340378,240,540],[1403254341453,240,550],[1403254342528,240,550],[1403254343603,240,540],[1403254344678,240,540],[1403254345753,230,560],[1403254346828,240,540],[1403254347903,240,550],[1403254348978,240,550],[1403254350053,250,550],[1403254351128,240,540],[1403254352203,240,570],[1403254353278,240,560],[1403254354353,230,590],[1403254355428,260,630],[1403254356503,240,560],[1403254357578,240,540],[1403254358653,240,540],[1403254359728,230,580],[1403254360803,240,530],[1403254361878,230,540],[1403254362953,240,550],[1403254364028,240,530],[1403254365103,240,540],[1403254366178,240,560],[1403254367253,240,560],[1403254368328,240,540],[1403254369403,240,540],[1403254370478,240,540],[1403254371553,240,540],[1403254372628,240,540],[1403254373703,240,570],[1403254374778,240,550],[1403254375853,240,540],[1403254376928,230,540],[1403254378003,240,540],[1403254379078,250,550],[1403254380153,240,540],[1403254381228,250,570],[1403254382303,240,540],[1403254383378,240,540],[1403254384453,240,540],[1403254385528,250,590],[1403254386603,250,580],[1403254387678,260,590],[1403254388753,250,610],[1403254389828,240,550],[1403254390903,240,550],[1403254391978,240,540],[1403254393053,240,540],[1403254394128,240,540],[1403254395203,240,570],[1403254396278,240,560],[1403254397353,250,540],[1403254398428,240,530],[1403254399503,240,530],[1403254400578,240,540],[1403254401653,240,540],[1403254402728,240,570],[1403254403803,240,540],[1403254404878,240,540],[1403254405953,240,550],[1403254407028,240,540],[1403254408103,240,540],[1403254409178,240,560],[1403254410253,240,560],[1403254411328,240,540],[1403254412403,240,550],[1403254413478,240,540],[1403254414553,230,560],[1403254415628,250,570],[1403254416703,240,560],[1403254417778,240,540],[1403254418853,240,550],[1403254419928,250,540],[1403254421003,240,540],[1403254422078,240,540],[1403254423153,250,570],[1403254424228,240,570],[1403254425303,240,540],[1403254426378,240,540],[1403254427453,240,550],[1403254428528,240,540],[1403254429603,240,540],[1403254430678,240,550],[1403254431753,220,540],[1403254432828,240,540],[1403254433903,230,540],[1403254434978,200,540],[1403254436053,230,540],[1403254437128,240,540],[1403254438203,240,570],[1403254439278,240,540],[1403254440353,240,530],[1403254441428,240,540],[1403254442503,240,540],[1403254443578,240,540],[1403254444653,240,580],[1403254445728,260,590],[1403254446803,240,540],[1403254447878,250,550],[1403254448953,240,550],[1403254450028,240,540],[1403254451103,240,540],[1403254452178,240,580],[1403254453253,250,550],[1403254454328,240,540],[1403254455403,240,540],[1403254456478,240,530],[1403254457553,240,560],[1403254458628,240,560],[1403254459703,240,560],[1403254460778,230,530],[1403254461853,240,520],[1403254462928,240,540],[1403254464003,230,540],[1403254465078,240,540],[1403254466153,240,580],[1403254467228,250,550],[1403254468303,240,550],[1403254469378,250,560],[1403254470453,250,550],[1403254471528,250,550],[1403254472603,230,530],[1403254473678,250,580],[1403254474753,240,560],[1403254475828,250,570],[1403254476903,240,550],[1403254477978,240,540],[1403254479053,240,540],[1403254480128,240,560],[1403254481203,240,560],[1403254482278,240,540],[1403254483353,240,540],[1403254484428,240,550],[1403254485503,240,540],[1403254486578,240,530],[1403254487653,240,560],[1403254488728,230,540],[1403254489803,240,540],[1403254490878,240,530],[1403254491953,240,540],[1403254493028,240,580],[1403254494103,240,590],[1403254495178,240,570],[1403254496253,230,540],[1403254497328,240,540],[1403254498403,240,540],[1403254499478,240,540],[1403254500553,240,550],[1403254501628,250,570],[1403254502703,240,550],[1403254503778,240,550],[1403254504853,240,560],[1403254505928,260,580],[1403254507003,240,540],[1403254508078,240,550],[1403254509153,240,570],[1403254510228,240,540],[1403254511303,240,550],[1403254512378,240,540],[1403254513453,240,540],[1403254514528,240,530],[1403254515603,240,570],[1403254516678,240,560],[1403254517753,240,540],[1403254518828,240,540],[1403254519903,240,540],[1403254520978,240,550],[1403254522053,250,550],[1403254523128,240,570],[1403254524203,250,550],[1403254525278,240,540],[1403254526353,240,550],[1403254527428,240,540],[1403254528503,240,540],[1403254529578,230,550],[1403254530653,240,570],[1403254531728,240,550],[1403254532803,240,540],[1403254533878,240,540],[1403254534953,250,570],[1403254536028,250,570],[1403254537103,240,570],[1403254538178,240,570],[1403254539253,230,530],[1403254540328,240,540],[1403254541403,240,550],[1403254542478,250,540],[1403254543553,240,540],[1403254544628,240,580],[1403254545703,250,550],[1403254546778,240,570],[1403254547853,250,590],[1403254548928,240,550],[1403254550003,240,540],[1403254551078,240,540],[1403254552153,250,570],[1403254553228,240,540],[1403254554303,240,540],[1403254555378,240,550],[1403254556453,240,540],[1403254557528,240,540],[1403254558603,240,570],[1403254559678,240,560],[1403254560753,240,540],[1403254561828,240,540],[1403254562903,240,540],[1403254563978,240,530],[1403254565053,240,560],[1403254566128,240,590],[1403254567203,240,540],[1403254568278,240,540],[1403254569353,240,540],[1403254570428,240,540],[1403254571503,240,550],[1403254572578,240,570],[1403254573653,240,570],[1403254574728,250,540],[1403254575803,240,540],[1403254576878,240,530],[1403254577953,250,540],[1403254579028,240,550],[1403254580103,240,570],[1403254581178,240,540],[1403254582253,240,540],[1403254583328,250,540],[1403254584403,240,540],[1403254585478,240,540],[1403254586553,240,570],[1403254587628,250,620],[1403254588703,240,570],[1403254589778,240,540],[1403254590853,240,540],[1403254591928,240,540],[1403254593003,240,540],[1403254594078,250,580],[1403254595153,240,600],[1403254596228,250,610],[1403254597303,240,540],[1403254598378,240,540],[1403254599453,240,540],[1403254600528,240,540],[1403254601603,240,570],[1403254602678,240,540],[1403254603753,240,540],[1403254604828,240,540],[1403254605903,240,540],[1403254606978,240,540],[1403254608053,240,550],[1403254609128,240,570],[1403254610203,240,550],[1403254611278,240,540],[1403254612353,240,540],[1403254613428,240,540],[1403254614503,240,540],[1403254615578,240,580],[1403254616653,240,540],[1403254617728,250,540],[1403254618803,240,540],[1403254619878,240,540],[1403254620953,240,560],[1403254622028,260,600],[1403254623103,240,570],[1403254624178,240,530],[1403254625253,240,530],[1403254626328,230,540],[1403254627403,240,520],[1403254628478,230,530],[1403254629553,230,560],[1403254630628,240,570],[1403254631703,240,540],[1403254632778,240,540],[1403254633853,240,540],[1403254634928,240,530],[1403254636003,240,550],[1403254637078,240,570],[1403254638153,240,540],[1403254639228,240,560],[1403254640303,240,540],[1403254641378,240,540],[1403254642453,250,540],[1403254643528,240,560],[1403254644603,240,570],[1403254645678,230,530],[1403254646753,230,530],[1403254647828,230,540],[1403254648903,240,540],[1403254649978,240,540],[1403254651053,240,580],[1403254652128,240,540],[1403254653203,240,540],[1403254654278,240,540],[1403254655353,240,540],[1403254656428,240,540],[1403254657503,240,540],[1403254658578,240,580],[1403254659653,250,570],[1403254660728,240,540],[1403254661803,240,540],[1403254662878,240,540],[1403254663953,240,550],[1403254665028,250,590],[1403254666103,240,580],[1403254667178,240,530],[1403254668253,240,540],[1403254669328,250,540],[1403254670403,240,550],[1403254671478,250,550],[1403254672553,250,580],[1403254673628,250,550],[1403254674703,240,550],[1403254675778,240,550],[1403254676853,240,540],[1403254677928,240,530],[1403254679003,230,550],[1403254680078,240,560],[1403254681153,240,540],[1403254682228,230,540],[1403254683303,240,560],[1403254684378,240,540],[1403254685453,240,540],[1403254686528,240,580],[1403254687603,230,580],[1403254688678,250,810],[1403254689753,240,640],[1403254690828,250,540],[1403254691903,240,540],[1403254692978,240,540],[1403254694053,240,570],[1403254695128,230,530],[1403254696203,240,540],[1403254697278,230,530],[1403254698353,240,530],[1403254699428,240,530],[1403254700503,230,540],[1403254701578,230,550],[1403254702653,240,530],[1403254703728,230,530],[1403254704803,230,530],[1403254705878,230,550],[1403254706953,220,530],[1403254708028,240,570],[1403254709103,230,540],[1403254710178,230,540],[1403254711253,240,540],[1403254712328,250,550],[1403254713403,240,540],[1403254714478,240,540],[1403254715553,240,570],[1403254716628,240,540],[1403254717703,240,530],[1403254718778,240,580],[1403254719853,240,560],[1403254720928,230,550],[1403254722003,240,570],[1403254723078,230,580],[1403254724153,240,540],[1403254725228,240,550],[1403254726303,240,530],[1403254727378,230,530],[1403254728453,230,540],[1403254729528,230,560],[1403254730603,240,530],[1403254731678,240,530],[1403254732753,240,530],[1403254733828,240,540],[1403254734903,240,530],[1403254735978,240,540],[1403254737053,200,560],[1403254738128,240,530],[1403254739203,240,530],[1403254740278,230,530],[1403254741353,230,530],[1403254742428,230,530],[1403254743503,240,560],[1403254744578,230,530],[1403254745653,240,530],[1403254746728,230,540],[1403254747803,240,530],[1403254748878,250,570],[1403254749953,230,540],[1403254751028,240,560],[1403254752103,230,520],[1403254753178,230,540],[1403254754253,230,520],[1403254755328,240,530],[1403254756403,240,530],[1403254757478,230,560],[1403254758553,240,570],[1403254759628,230,530],[1403254760703,240,530],[1403254761778,230,530],[1403254762853,240,520],[1403254763928,240,530],[1403254765003,240,560],[1403254766078,230,520],[1403254767153,230,530],[1403254768228,230,530],[1403254769303,230,530],[1403254770378,230,530],[1403254771453,240,530],[1403254772528,240,560],[1403254773603,230,530],[1403254774678,240,520],[1403254775753,230,540],[1403254776828,230,530],[1403254777903,240,530],[1403254778978,240,580],[1403254780053,230,550],[1403254781128,230,530],[1403254782203,240,520],[1403254783278,240,570],[1403254784353,230,530],[1403254785428,230,520],[1403254786503,240,560],[1403254787578,240,530],[1403254788653,230,520],[1403254789728,230,530],[1403254790803,230,520],[1403254791878,230,520],[1403254792953,230,540],[1403254794028,240,550],[1403254795103,230,530],[1403254796178,240,520],[1403254797253,240,530],[1403254798328,230,530],[1403254799403,240,530],[1403254800478,240,550],[1403254801553,230,540],[1403254802628,240,540],[1403254803703,230,530],[1403254804778,230,530],[1403254805853,240,520],[1403254806928,230,520],[1403254808003,230,550],[1403254809078,240,550],[1403254810153,230,520],[1403254811228,230,520],[1403254812303,230,510],[1403254813378,230,510],[1403254814453,220,540],[1403254815528,230,550],[1403254816603,220,520],[1403254817678,220,510],[1403254818753,220,500],[1403254819828,230,500],[1403254820903,220,500],[1403254821978,220,530],[1403254823053,220,520],[1403254824128,230,520],[1403254825203,240,560],[1403254826278,230,540],[1403254827353,220,520],[1403254828428,230,520],[1403254829503,230,550],[1403254830578,220,530],[1403254831653,240,530],[1403254832728,230,520],[1403254833803,230,520],[1403254834878,230,550],[1403254835953,230,560],[1403254837028,220,550],[1403254838103,220,540],[1403254839178,230,550],[1403254840253,220,510],[1403254841328,230,510],[1403254842403,230,520],[1403254843478,230,550],[1403254844553,230,510],[1403254845628,230,510],[1403254846703,210,520],[1403254847778,220,520],[1403254848853,220,510],[1403254849928,220,510],[1403254851003,220,540],[1403254852078,220,510],[1403254853153,220,520],[1403254854228,230,520],[1403254855303,230,510],[1403254856378,220,510],[1403254857453,220,540],[1403254858528,220,500],[1403254859603,210,520],[1403254860678,220,500],[1403254861753,220,510],[1403254862828,220,510],[1403254863903,220,500],[1403254864978,220,530],[1403254866053,220,500],[1403254867128,220,500],[1403254868203,220,520],[1403254869278,230,540],[1403254870353,220,500],[1403254871428,210,520],[1403254872503,200,530],[1403254873578,220,490],[1403254874653,220,500],[1403254875728,220,500],[1403254876803,220,500],[1403254877878,210,500],[1403254878953,220,530],[1403254880028,220,500],[1403254881103,210,500],[1403254882178,210,490],[1403254883253,210,500],[1403254884328,210,490],[1403254885403,220,510],[1403254886478,210,520],[1403254887553,200,490],[1403254888628,210,500],[1403254889703,210,500],[1403254890778,220,510],[1403254891853,210,490],[1403254892928,210,510],[1403254894003,210,510],[1403254895078,200,480],[1403254896153,200,480],[1403254897228,210,480],[1403254898303,210,500],[1403254899378,210,510],[1403254900453,210,520],[1403254901528,210,490],[1403254902603,210,490],[1403254903678,210,480],[1403254904753,200,480],[1403254905828,200,470],[1403254906903,200,500],[1403254907978,200,520],[1403254909053,200,480],[1403254910128,200,490],[1403254911203,210,480],[1403254912278,200,470],[1403254913353,200,470],[1403254914428,200,490],[1403254915503,190,480],[1403254916578,190,470],[1403254917653,200,470],[1403254918728,190,460],[1403254919803,190,460],[1403254920878,190,460],[1403254921953,190,500],[1403254923028,190,460],[1403254924103,190,460],[1403254925178,190,460],[1403254926253,190,460],[1403254927328,190,460],[1403254928403,190,530],[1403254929478,190,510],[1403254930553,190,450],[1403254931628,190,450],[1403254932703,180,440],[1403254933778,190,450],[1403254934853,180,450],[1403254935928,180,470],[1403254937003,180,440],[1403254938078,180,440],[1403254939153,180,440],[1403254940228,180,440],[1403254941303,180,430],[1403254942378,170,430],[1403254943453,180,460],[1403254944528,170,430],[1403254945603,170,430],[1403254946678,170,430],[1403254947753,170,440],[1403254948828,170,420],[1403254949903,170,450],[1403254950978,170,450],[1403254952053,170,430],[1403254953128,160,410],[1403254954203,160,410],[1403254955278,160,410],[1403254956353,160,410],[1403254957428,160,430],[1403254958503,150,420],[1403254959578,160,420],[1403254960653,150,400],[1403254961728,150,400],[1403254962803,150,400],[1403254963878,150,390],[1403254964953,140,420],[1403254966028,130,380],[1403254967103,130,390],[1403254968178,130,380],[1403254969253,130,370],[1403254970328,130,380],[1403254971403,120,400],[1403254972478,120,390],[1403254973553,120,370],[1403254974628,110,350],[1403254975703,110,340],[1403254976778,110,340],[1403254977853,100,340],[1403254978928,100,360],[1403254980003,100,340],[1403254981078,90,330],[1403254982153,80,320],[1403254983228,70,320],[1403254984303,70,310],[1403254985378,60,340],[1403254986453,50,300],[1403254987528,30,300],[1403254988603,10,300],[1403254989678,10,300],[1403254990753,10,270],[1403254991828,10,270],[1403254992903,10,290],[1403254993978,10,260],[1403254995053,10,240],[1403254996128,10,240],[1403254997203,10,220],[1403254998278,10,220],[1403254999353,10,210],[1403255000428,10,230],[1403255001503,10,180],[1403255002578,10,170],[1403255003653,0,150],[1403255004728,0,120],[1403255005803,0,90],[1403255006878,0,70],[1403255007953,0,40],[1403255009028,10,40],[1403255010103,10,40],[1403255011178,0,40],[1403255012253,0,40],[1403255013328,0,30],[1403255014403,0,30],[1403255015478,0,30],[1403255016553,0,20],[1403255017628,0,40],[1403255018703,0,10],[1403255019778,0,10]
    78 ]
    79 , type: 'arearange'
    80 , tooltip: { yDecimals: 0, ySuffix: 'ms' }
    81 , yAxis: 0
    82 
    83 },
    84     
    85     allSessionsData
    86     ]
    87 });
    88 
    89 latencyChart.setTitle({
    90     text: '<span class="chart_title chart_title_">Latency during Simulation</span>',
    91     useHTML: true
    92 });

    第1行,标明这个chart的类型,highchart中有不少种类型,可以根据需要选择适合的

    第3行,标明这个chart生成的位置

    第77行,这里有一大堆数据,其实是一系列数据,第一个是时间戳,第二个是response最小值,第三个是response最大值,也就是说第二,三个值标明该时间内responsetime的区间

    明白了这些,接下来要做的事情再简单不过了

  • 相关阅读:
    [HAOI2015]按位或
    CF451E Devu and Flowers
    [APIO2017]商旅
    后缀自动机总结
    [HNOI2011]括号修复 / [JSOI2011]括号序列
    [WC2021] 括号路径
    批处理系列(3)
    SQL关于子集中有NULL的问题解析
    SQL排除满足同时多个条件的记录行
    SQLServer 通过导入数据的形式复制数据库
  • 原文地址:https://www.cnblogs.com/yeyong/p/3976366.html
Copyright © 2011-2022 走看看