$(document).ready(function () { chart = new Highcharts.StockChart({ chart: { renderTo: 'chart', type: 'line', animation: false, showAxes: true, height: 500 }, xAxis: { ordinal: false, type: 'datetime', showEmpty: true, gridLineWidth: 1, gridLineDashStyle: 'dot', ordinal: false }, yAxis: { title: {text: 'Курс EEK, грн'}, lineWidth: 3, gridLineWidth: 1, gridLineDashStyle: 'dash', ordinal: false }, plotOptions: { series: {connectNulls: true, shadow: false}, spline: {marker: {enabled: true}} }, tooltip: {valueDecimals: 8, xDateFormat: '%d %b %Y', shared: true}, series: [ { name: 'Курс EEK', data: [[1104883200000,0.380753],[1104969600000,0.448378],[1105056000000,0.446971],[1105142400000,null],[1105228800000,0.446971],[1105315200000,null],[1105401600000,0.444242],[1105488000000,0.445598],[1105574400000,0.445463],[1105660800000,0.448607],[1105747200000,0.44381],[1105833600000,0.44381],[1105920000000,0.44381],[1106006400000,0.443607],[1106092800000,0.442751],[1106179200000,0.438531],[1106265600000,0.438531],[1106352000000,0.439446],[1106438400000,0.439446],[1106524800000,0.439446],[1106611200000,null],[1106697600000,0.441539],[1106784000000,0.440861],[1106870400000,0.441565],[1106956800000,0.441862],[1107043200000,0.441862],[1107129600000,0.441845],[1107216000000,0.441845],[1107302400000,0.441549],[1107388800000,0.442568],[1107475200000,0.440493],[1107561600000,0.439011],[1107648000000,0.439011],[1107734400000,0.439011],[1107820800000,0.435108],[1107907200000,0.432365],[1107993600000,0.432273],[1108080000000,0.432773],[1108166400000,0.43539],[1108252800000,0.43539],[1108339200000,0.43539],[1108425600000,0.439184],[1108512000000,0.440843],[1108598400000,0.441631],[1108684800000,0.441665],[1108771200000,0.441597],[1108857600000,0.441597],[1108944000000,0.441597],[1109030400000,0.442139],[1109116800000,0.446813],[1109203200000,0.447152],[1109289600000,0.449074],[1109376000000,0.445856],[1109462400000,0.445856],[1109548800000,0.445856],[1109635200000,0.448972],[1109721600000,0.447567],[1109808000000,0.443655],[1109894400000,0.445111],[1109980800000,0.444079],[1110067200000,0.444079],[1110153600000,0.444079],[1110240000000,0.444079],[1110326400000,0.444079],[1110412800000,0.451858],[1110499200000,0.453957],[1110585600000,0.4541],[1110672000000,0.4541],[1110758400000,0.4541],[1110844800000,0.452516],[1110931200000,0.452811],[1111017600000,0.452447],[1111104000000,0.452557],[1111190400000,0.44908],[1111276800000,0.44908],[1111363200000,0.44908],[1111449600000,null],[1111536000000,0.445504],[1111622400000,0.440444],[1111708800000,0.438173],[1111795200000,0.438173],[1111881600000,0.438173],[1111968000000,0.438173],[1112054400000,0.438173],[1112140800000,0.436267],[1112227200000,0.436832],[1112313600000,0.437524],[1112400000000,0.437356],[1112486400000,0.437356],[1112572800000,0.437356],[1112659200000,0.434733],[1112745600000,0.43227],[1112832000000,0.433554],[1112918400000,0.435653],[1113004800000,0.431762],[1113091200000,0.431762],[1113177600000,0.431762],[1113264000000,0.436799],[1113350400000,0.437063],[1113436800000,0.434447],[1113523200000,0.430649],[1113609600000,0.430534],[1113696000000,0.430534],[1113782400000,0.430534],[1113868800000,0.432604],[1113955200000,0.431079],[1114041600000,0.421161],[1114128000000,0.421452],[1114214400000,0.422065],[1114300800000,0.422065],[1114387200000,0.422065],[1114473600000,0.418483],[1114560000000,0.418967],[1114646400000,0.416998],[1114732800000,0.416514],[1114819200000,0.418192],[1114905600000,0.418192],[1114992000000,0.418192],[1115078400000,0.418192],[1115164800000,0.418192],[1115251200000,0.418063],[1115337600000,0.418095],[1115424000000,0.417869],[1115510400000,0.417869],[1115596800000,0.417869],[1115683200000,0.417869],[1115769600000,0.414868],[1115856000000,0.415771],[1115942400000,0.412189],[1116028800000,0.407799],[1116115200000,0.407799],[1116201600000,0.407799],[1116288000000,0.407186],[1116374400000,0.407832],[1116460800000,0.407348],[1116547200000,0.408025],[1116633600000,0.406896],[1116720000000,0.406896],[1116806400000,0.406896],[1116892800000,0.404991],[1116979200000,0.407219],[1117065600000,0.405508],[1117152000000,0.404185],[1117238400000,0.405088],[1117324800000,0.405088],[1117411200000,0.405088],[1117497600000,0.402539],[1117584000000,0.397988],[1117670400000,0.395054],[1117756800000,0.396185],[1117843200000,0.397025],[1117929600000,0.397025],[1118016000000,0.397025],[1118102400000,0.396476],[1118188800000,0.396896],[1118275200000,0.398156],[1118361600000,0.39541],[1118448000000,0.395086],[1118534400000,0.395086],[1118620800000,0.395086],[1118707200000,0.389691],[1118793600000,0.391242],[1118880000000,0.389917],[1118966400000,null],[1119052800000,0.393406],[1119139200000,0.393406],[1119225600000,0.393406],[1119312000000,null],[1119398400000,0.39066],[1119484800000,0.391274],[1119571200000,0.38982],[1119657600000,0.390337],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.389433],[1120176000000,null],[1120262400000,0.390499],[1120348800000,0.390499],[1120435200000,0.390499],[1120521600000,0.384263],[1120608000000,0.383908],[1120694400000,0.384877],[1120780800000,0.386299],[1120867200000,0.384587],[1120953600000,0.384587],[1121040000000,0.384587],[1121126400000,0.387882],[1121212800000,0.393051],[1121299200000,0.393633],[1121385600000,0.389853],[1121472000000,0.390046],[1121558400000,0.390046],[1121644800000,0.390046],[1121731200000,0.389433],[1121817600000,0.386557],[1121904000000,0.389338],[1121990400000,0.39334],[1122076800000,0.39192],[1122163200000,0.39192],[1122249600000,0.39192],[1122336000000,0.389402],[1122422400000,0.386885],[1122508800000,0.386982],[1122595200000,0.390532],[1122681600000,0.390306],[1122768000000,0.390306],[1122854400000,0.390306],[1122940800000,0.394373],[1123027200000,0.394308],[1123113600000,0.397245],[1123200000000,0.3976],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,0.39915],[1123718400000,0.399472],[1123804800000,0.400376],[1123891200000,0.402054],[1123977600000,0.402054],[1124064000000,0.402054],[1124150400000,0.399376],[1124236800000,0.397407],[1124323200000,0.396858],[1124409600000,0.394179],[1124496000000,0.393211],[1124582400000,0.393211],[1124668800000,0.393211],[1124755200000,0.39476],[1124841600000,0.394825],[1124928000000,0.394825],[1125014400000,0.396083],[1125100800000,0.397213],[1125187200000,0.397213],[1125273600000,0.397213],[1125360000000,0.396632],[1125446400000,0.393146],[1125532800000,0.393695],[1125619200000,0.399827],[1125705600000,0.404766],[1125792000000,0.404766],[1125878400000,0.404766],[1125964800000,0.404669],[1126051200000,0.402894],[1126137600000,0.401861],[1126224000000,0.400796],[1126310400000,0.400699],[1126396800000,0.400699],[1126483200000,0.400699],[1126569600000,null],[1126656000000,null],[1126742400000,0.397439],[1126828800000,null],[1126915200000,null],[1127001600000,0.395148],[1127088000000,0.395148],[1127174400000,0.391791],[1127260800000,0.392275],[1127347200000,0.394567],[1127433600000,0.394534],[1127520000000,0.391113],[1127606400000,0.391113],[1127692800000,0.391113],[1127779200000,0.388305],[1127865600000,0.387466],[1127952000000,0.388499],[1128038400000,0.389338],[1128124800000,0.38866],[1128211200000,0.38866],[1128297600000,0.38866],[1128384000000,0.385142],[1128470400000,0.385304],[1128556800000,0.385594],[1128643200000,0.389273],[1128729600000,0.391952],[1128816000000,0.391952],[1128902400000,0.391952],[1128988800000,0.390145],[1129075200000,0.388015],[1129161600000,0.387563],[1129248000000,0.386659],[1129334400000,0.387272],[1129420800000,0.387272],[1129507200000,0.387272],[1129593600000,0.388015],[1129680000000,0.385271],[1129766400000,0.385691],[1129852800000,0.385788],[1129939200000,0.387692],[1130025600000,0.387692],[1130112000000,0.387692],[1130198400000,0.385497],[1130284800000,0.387853],[1130371200000,0.389209],[1130457600000,0.3915],[1130544000000,0.391759],[1130630400000,0.391759],[1130716800000,0.391759],[1130803200000,0.388047],[1130889600000,0.387563],[1130976000000,0.387046],[1131062400000,0.388628],[1131148800000,0.385142],[1131235200000,0.385142],[1131321600000,0.385142],[1131408000000,0.381624],[1131494400000,0.378945],[1131580800000,0.378848],[1131667200000,0.379623],[1131753600000,0.377525],[1131840000000,0.377525],[1131926400000,0.377525],[1132012800000,0.378042],[1132099200000,0.376557],[1132185600000,0.37688],[1132272000000,0.377364],[1132358400000,0.376944],[1132444800000,0.376944],[1132531200000,0.376944],[1132617600000,0.381205],[1132704000000,0.377654],[1132790400000,0.380075],[1132876800000,0.380301],[1132963200000,0.379655],[1133049600000,0.379655],[1133136000000,0.379655],[1133222400000,0.378461],[1133308800000,0.380624],[1133395200000,0.379849],[1133481600000,0.379074],[1133568000000,0.377525],[1133654400000,0.377525],[1133740800000,0.377525],[1133827200000,0.379784],[1133913600000,0.380301],[1134000000000,0.377945],[1134086400000,0.379688],[1134172800000,0.380365],[1134259200000,0.380365],[1134345600000,0.380365],[1134432000000,0.384884],[1134518400000,0.384884],[1134604800000,0.38795],[1134691200000,0.387272],[1134777600000,0.386756],[1134864000000,0.386756],[1134950400000,0.386756],[1135036800000,0.386562],[1135123200000,0.385852],[1135209600000,0.383173],[1135296000000,0.38156],[1135382400000,0.382754],[1135468800000,0.382754],[1135555200000,0.382754],[1135641600000,0.382754],[1135728000000,0.382528],[1135814400000,0.384593],[1135900800000,0.381656]], tooltip: {valueSuffix: ' грн'}, type: 'area', step: true, color: '#888888', fillColor: { linearGradient: {x1: 0, y1: 0, x2: 0, y2: 1}, stops: [[0, '#CCCCCC'], [1, 'rgba(50,50,50,0)']] }, threshold: null }, { name: 'Среднее за период', data: [[1105747200000, 0.440404],[1105747200000, 0.440404],[1108425600000, 0.440466],[1110844800000, 0.446043],[1113523200000, 0.429110],[1116115200000, 0.410884],[1118793600000, 0.393962],[1121385600000, 0.388933],[1124064000000, 0.396606],[1126742400000, 0.396461],[1129334400000, 0.388339],[1132012800000, 0.380509],[1134604800000, 0.382417]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });