$(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: 'Курс KZT, грн'}, 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: 'Курс KZT', data: [[1420070400000,0.086474],[1420156800000,0.086474],[1420243200000,0.086474],[1420329600000,0.086474],[1420416000000,0.086474],[1420502400000,0.086474],[1420588800000,0.086298],[1420675200000,0.086298],[1420761600000,null],[1420848000000,0.08604],[1420934400000,0.08604],[1421020800000,0.08604],[1421107200000,0.086086],[1421193600000,0.085905],[1421280000000,null],[1421366400000,0.08595],[1421452800000,0.085952],[1421539200000,0.086379],[1421625600000,0.086379],[1421712000000,0.086005],[1421798400000,0.085807],[1421884800000,0.08588],[1421971200000,null],[1422057600000,0.08578],[1422144000000,0.08578],[1422230400000,0.08578],[1422316800000,0.085877],[1422403200000,0.0862],[1422489600000,0.086037],[1422576000000,0.086497],[1422662400000,0.0876],[1422748800000,0.0876],[1422835200000,0.0876],[1422921600000,0.087541],[1423008000000,0.088053],[1423094400000,0.090696],[1423180800000,0.097428],[1423267200000,null],[1423353600000,0.125199],[1423440000000,0.125199],[1423526400000,0.135081],[1423612800000,0.134237],[1423699200000,0.138114],[1423785600000,0.135634],[1423872000000,0.140062],[1423958400000,0.140062],[1424044800000,0.140062],[1424131200000,0.140772],[1424217600000,0.142441],[1424304000000,0.144824],[1424390400000,0.147841],[1424476800000,0.150546],[1424563200000,0.150546],[1424649600000,0.150546],[1424736000000,0.153191],[1424822400000,0.152884],[1424908800000,0.151559],[1424995200000,0.162173],[1425081600000,0.15003],[1425168000000,0.15003],[1425254400000,0.15003],[1425340800000,0.14514],[1425427200000,0.134129],[1425513600000,0.128459],[1425600000000,0.12478],[1425686400000,0.123634],[1425772800000,0.123634],[1425859200000,0.123634],[1425945600000,0.123634],[1426032000000,0.117363],[1426118400000,0.116377],[1426204800000,0.116288],[1426291200000,0.116623],[1426377600000,0.116623],[1426464000000,0.116623],[1426550400000,0.117456],[1426636800000,0.120026],[1426723200000,0.125691],[1426809600000,0.126215],[1426896000000,0.125017],[1426982400000,0.125017],[1427068800000,0.125017],[1427155200000,0.124797],[1427241600000,0.125541],[1427328000000,0.126992],[1427414400000,0.126689],[1427500800000,0.126755],[1427587200000,0.126755],[1427673600000,0.126755],[1427760000000,0.126375],[1427846400000,0.12632],[1427932800000,0.126485],[1428019200000,0.126633],[1428105600000,0.125531],[1428192000000,0.125531],[1428278400000,0.125531],[1428364800000,0.1263],[1428451200000,0.126615],[1428537600000,0.126638],[1428624000000,0.126234],[1428710400000,0.123254],[1428796800000,0.123254],[1428883200000,0.123254],[1428969600000,0.123254],[1429056000000,0.123394],[1429142400000,0.117239],[1429228800000,0.115424],[1429315200000,0.113335],[1429401600000,0.113335],[1429488000000,0.113335],[1429574400000,0.119776],[1429660800000,0.119893],[1429747200000,0.121325],[1429833600000,0.121265],[1429920000000,0.120838],[1430006400000,0.120838],[1430092800000,0.120838],[1430179200000,0.123243],[1430265600000,0.119819],[1430352000000,0.113277],[1430438400000,0.113737],[1430524800000,0.113737],[1430611200000,0.113737],[1430697600000,0.113737],[1430784000000,0.113737],[1430870400000,0.113741],[1430956800000,0.113162],[1431043200000,0.111531],[1431129600000,0.110817],[1431216000000,0.110817],[1431302400000,0.110817],[1431388800000,0.110817],[1431475200000,0.111074],[1431561600000,0.110715],[1431648000000,0.110707],[1431734400000,0.111401],[1431820800000,0.111401],[1431907200000,0.111401],[1431993600000,0.119046],[1432080000000,0.114384],[1432166400000,0.112016],[1432252800000,0.111296],[1432339200000,0.112147],[1432425600000,0.112147],[1432512000000,0.112147],[1432598400000,0.113744],[1432684800000,0.115304],[1432771200000,null],[1432857600000,0.113284],[1432944000000,0.11339],[1433030400000,0.11339],[1433116800000,0.11339],[1433203200000,0.11339],[1433289600000,0.113314],[1433376000000,0.112966],[1433462400000,0.113007],[1433548800000,0.113072],[1433635200000,0.113072],[1433721600000,0.113072],[1433808000000,0.113485],[1433894400000,0.113844],[1433980800000,0.113697],[1434067200000,0.113021],[1434153600000,0.113189],[1434240000000,0.113189],[1434326400000,0.113189],[1434412800000,0.115285],[1434499200000,0.119042],[1434585600000,0.116368],[1434672000000,0.114642],[1434758400000,0.116288],[1434844800000,0.116288],[1434931200000,0.116288],[1435017600000,0.117005],[1435104000000,0.115699],[1435190400000,0.113738],[1435276800000,0.113835],[1435363200000,0.112864],[1435449600000,0.112864],[1435536000000,0.112864],[1435622400000,0.112864],[1435708800000,0.11281],[1435795200000,0.112816],[1435881600000,0.112844],[1435968000000,0.11288],[1436054400000,0.11288],[1436140800000,0.11288],[1436227200000,0.11421],[1436313600000,0.116543],[1436400000000,0.117906],[1436486400000,0.117243],[1436572800000,0.117483],[1436659200000,0.117483],[1436745600000,0.117483],[1436832000000,0.117579],[1436918400000,0.117748],[1437004800000,0.118189],[1437091200000,0.117544],[1437177600000,0.117695],[1437264000000,0.117695],[1437350400000,0.117695],[1437436800000,0.117787],[1437523200000,0.11773],[1437609600000,0.11768],[1437696000000,0.1177],[1437782400000,0.118009],[1437868800000,0.118009],[1437955200000,0.118009],[1438041600000,0.118009],[1438128000000,0.117701],[1438214400000,0.117757],[1438300800000,0.115294],[1438387200000,0.112706],[1438473600000,0.112706],[1438560000000,0.112706],[1438646400000,0.115857],[1438732800000,0.115716],[1438819200000,0.114926],[1438905600000,0.11449],[1438992000000,0.112389],[1439078400000,0.112389],[1439164800000,0.112389],[1439251200000,0.113191],[1439337600000,0.113769],[1439424000000,0.113843],[1439510400000,0.11378],[1439596800000,0.115701],[1439683200000,0.115701],[1439769600000,0.115701],[1439856000000,0.116904],[1439942400000,0.117268],[1440028800000,0.117136],[1440115200000,0.086307],[1440201600000,0.087518],[1440288000000,0.087518],[1440374400000,0.087518],[1440460800000,null],[1440547200000,0.098316],[1440633600000,0.087814],[1440720000000,0.088174],[1440806400000,0.089142],[1440892800000,0.089142],[1440979200000,0.089142],[1441065600000,0.09175],[1441152000000,null],[1441238400000,null],[1441324800000,null],[1441411200000,null],[1441497600000,null],[1441584000000,null],[1441670400000,null],[1441756800000,null],[1441843200000,null],[1441929600000,null],[1442016000000,null],[1442102400000,null],[1442188800000,null],[1442275200000,null],[1442361600000,null],[1442448000000,0.076846],[1442534400000,null],[1442620800000,0.079942],[1442707200000,0.079942],[1442793600000,0.079942],[1442880000000,0.080807],[1442966400000,0.080525],[1443052800000,0.081687],[1443139200000,0.081268],[1443225600000,0.080116],[1443312000000,0.080116],[1443398400000,0.080116],[1443484800000,0.07996],[1443571200000,0.079614],[1443657600000,0.078614],[1443744000000,0.078085],[1443830400000,0.07802],[1443916800000,0.07802],[1444003200000,0.07802],[1444089600000,0.078142],[1444176000000,0.077905],[1444262400000,0.077762],[1444348800000,0.077735],[1444435200000,0.078336],[1444521600000,0.078336],[1444608000000,0.078336],[1444694400000,0.079352],[1444780800000,0.07962],[1444867200000,0.07962],[1444953600000,0.078291],[1445040000000,0.077138],[1445126400000,0.077138],[1445212800000,0.077138],[1445299200000,0.078075],[1445385600000,0.079354],[1445472000000,0.081472],[1445558400000,0.080085],[1445644800000,0.081347],[1445731200000,0.081347],[1445817600000,0.081347],[1445904000000,0.082233],[1445990400000,0.081971],[1446076800000,0.081969],[1446163200000,0.082031],[1446249600000,0.082362],[1446336000000,0.082362],[1446422400000,0.082362],[1446508800000,0.082089],[1446595200000,0.081427],[1446681600000,0.081193],[1446768000000,0.076695],[1446854400000,0.073648],[1446940800000,0.073648],[1447027200000,0.073648],[1447113600000,0.072781],[1447200000000,0.074204],[1447286400000,0.074163],[1447372800000,0.074754],[1447459200000,0.074935],[1447545600000,0.074935],[1447632000000,0.074935],[1447718400000,0.07526],[1447804800000,0.077274],[1447891200000,0.077722],[1447977600000,0.077551],[1448064000000,0.078044],[1448150400000,0.078044],[1448236800000,0.078044],[1448323200000,0.07833],[1448409600000,0.077978],[1448496000000,0.077412],[1448582400000,0.076812],[1448668800000,0.07775],[1448755200000,0.07775],[1448841600000,0.07775],[1448928000000,0.077905],[1449014400000,0.077559],[1449100800000,0.076838],[1449187200000,0.074981],[1449273600000,0.077011],[1449360000000,0.077011],[1449446400000,0.077011],[1449532800000,0.076377],[1449619200000,0.074425],[1449705600000,0.074065],[1449792000000,0.075292],[1449878400000,0.076494],[1449964800000,0.076494],[1450051200000,0.076494],[1450137600000,0.073841],[1450224000000,0.069424],[1450310400000,0.069625],[1450396800000,0.069531],[1450483200000,0.068861],[1450569600000,0.068861],[1450656000000,0.068861],[1450742400000,0.067364],[1450828800000,0.068754],[1450915200000,0.069355],[1451001600000,0.070486],[1451088000000,0.070891],[1451174400000,0.070891],[1451260800000,0.070891],[1451347200000,0.071843],[1451433600000,0.070458]], 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: [[1421280000000, 0.086195],[1421280000000, 0.086195],[1423958400000, 0.131479],[1426377600000, 0.125874],[1429056000000, 0.121734],[1431648000000, 0.112646],[1434326400000, 0.114161],[1436918400000, 0.116558],[1439596800000, 0.105995],[1442275200000, 0.080902],[1444867200000, 0.079329],[1447545600000, 0.077117],[1450137600000, 0.072858]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });