$(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: 'Курс SGD, грн'}, 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: 'Курс SGD', data: [[1356998400000,6.53509],[1357084800000,6.53509],[1357171200000,6.53509],[1357257600000,6.53751],[1357344000000,6.49462],[1357430400000,6.49462],[1357516800000,6.49462],[1357603200000,6.49462],[1357689600000,6.50475],[1357776000000,6.51089],[1357862400000,6.5267],[1357948800000,6.52115],[1358035200000,6.52115],[1358121600000,6.52115],[1358208000000,6.51522],[1358294400000,6.52233],[1358380800000,6.52904],[1358467200000,6.5312],[1358553600000,6.51807],[1358640000000,6.51807],[1358726400000,6.51807],[1358812800000,6.50325],[1358899200000,6.51265],[1358985600000,6.51781],[1359072000000,6.50879],[1359158400000,6.49088],[1359244800000,6.49088],[1359331200000,6.49088],[1359417600000,6.45548],[1359504000000,6.45679],[1359590400000,6.4667],[1359676800000,6.45904],[1359763200000,6.44009],[1359849600000,6.44009],[1359936000000,6.44009],[1360022400000,6.45499],[1360108800000,6.45515],[1360195200000,6.45794],[1360281600000,6.45444],[1360368000000,6.45795],[1360454400000,6.45795],[1360540800000,6.45795],[1360627200000,6.44824],[1360713600000,6.42635],[1360800000000,6.45338],[1360886400000,6.45944],[1360972800000,6.46004],[1361059200000,6.46004],[1361145600000,6.46004],[1361232000000,6.45278],[1361318400000,6.45484],[1361404800000,6.46109],[1361491200000,6.44859],[1361577600000,6.45807],[1361664000000,6.45807],[1361750400000,6.45807],[1361836800000,6.4628],[1361923200000,6.44855],[1362009600000,6.45204],[1362096000000,6.46302],[1362182400000,6.44597],[1362268800000,6.44597],[1362355200000,6.44597],[1362441600000,6.41284],[1362528000000,6.41349],[1362614400000,6.41398],[1362700800000,6.4076],[1362787200000,6.4076],[1362873600000,6.4076],[1362960000000,6.4076],[1363046400000,6.39696],[1363132800000,6.41336],[1363219200000,6.40397],[1363305600000,6.38581],[1363392000000,6.4036],[1363478400000,6.4036],[1363564800000,6.4036],[1363651200000,6.39608],[1363737600000,6.3948],[1363824000000,6.38661],[1363910400000,6.39658],[1363996800000,6.39756],[1364083200000,6.39756],[1364169600000,6.39756],[1364256000000,6.42729],[1364342400000,6.43775],[1364428800000,6.42338],[1364515200000,6.43713],[1364601600000,6.43713],[1364688000000,6.43713],[1364774400000,6.43713],[1364860800000,6.43713],[1364947200000,6.47631],[1365033600000,6.45803],[1365120000000,6.43719],[1365206400000,6.4482],[1365292800000,6.4482],[1365379200000,6.4482],[1365465600000,6.44219],[1365552000000,6.45059],[1365638400000,6.45657],[1365724800000,6.46367],[1365811200000,6.45853],[1365897600000,6.45853],[1365984000000,6.45853],[1366070400000,6.46048],[1366156800000,6.4698],[1366243200000,6.47139],[1366329600000,6.47149],[1366416000000,6.46728],[1366502400000,6.46728],[1366588800000,6.46728],[1366675200000,6.44791],[1366761600000,6.44381],[1366848000000,6.43816],[1366934400000,6.45839],[1367020800000,6.45388],[1367107200000,6.45388],[1367193600000,6.45388],[1367280000000,6.47949],[1367366400000,6.47845],[1367452800000,6.47845],[1367539200000,6.47845],[1367625600000,6.47845],[1367712000000,6.47845],[1367798400000,6.47845],[1367884800000,6.47845],[1367971200000,6.48414],[1368057600000,6.50564],[1368144000000,6.50564],[1368230400000,6.50564],[1368316800000,6.50564],[1368403200000,6.50564],[1368489600000,6.44457],[1368576000000,6.43936],[1368662400000,6.40835],[1368748800000,6.37955],[1368835200000,6.36679],[1368921600000,6.36679],[1369008000000,6.36679],[1369094400000,6.36834],[1369180800000,6.3445],[1369267200000,6.33159],[1369353600000,6.31948],[1369440000000,6.3216],[1369526400000,6.3216],[1369612800000,6.3216],[1369699200000,6.3476],[1369785600000,6.32111],[1369872000000,6.31098],[1369958400000,6.31016],[1370044800000,6.3342],[1370131200000,6.3342],[1370217600000,6.3342],[1370304000000,6.3526],[1370390400000,6.38776],[1370476800000,6.40253],[1370563200000,6.40319],[1370649600000,6.43126],[1370736000000,6.43126],[1370822400000,6.43126],[1370908800000,6.34836],[1370995200000,6.34402],[1371081600000,6.36535],[1371168000000,6.38471],[1371254400000,6.39084],[1371340800000,6.39084],[1371427200000,6.39084],[1371513600000,6.37538],[1371600000000,6.34224],[1371686400000,6.3627],[1371772800000,6.27536],[1371859200000,6.27443],[1371945600000,6.27443],[1372032000000,6.27443],[1372118400000,6.27443],[1372204800000,6.31004],[1372291200000,6.27038],[1372377600000,6.32644],[1372464000000,6.32644],[1372550400000,6.32644],[1372636800000,6.32644],[1372723200000,6.30436],[1372809600000,6.30422],[1372896000000,6.27385],[1372982400000,6.28025],[1373068800000,6.26705],[1373155200000,6.26705],[1373241600000,6.26705],[1373328000000,6.23619],[1373414400000,6.25288],[1373500800000,6.26349],[1373587200000,6.33418],[1373673600000,6.31399],[1373760000000,6.31399],[1373846400000,6.31399],[1373932800000,6.30677],[1374019200000,6.34814],[1374105600000,6.32544],[1374192000000,6.30664],[1374278400000,6.32223],[1374364800000,6.32223],[1374451200000,null],[1374537600000,6.33264],[1374624000000,6.30976],[1374710400000,6.31563],[1374796800000,6.30368],[1374883200000,6.32193],[1374969600000,6.32193],[1375056000000,6.32193],[1375142400000,6.30676],[1375228800000,6.29321],[1375315200000,6.2789],[1375401600000,6.28388],[1375488000000,6.26375],[1375574400000,null],[1375660800000,6.26375],[1375747200000,6.30058],[1375833600000,6.30252],[1375920000000,6.30465],[1376006400000,6.33823],[1376092800000,6.35156],[1376179200000,6.35156],[1376265600000,6.35156],[1376352000000,6.33147],[1376438400000,6.31852],[1376524800000,6.28757],[1376611200000,6.28484],[1376697600000,6.28917],[1376784000000,6.28917],[1376870400000,6.28917],[1376956800000,6.26445],[1377043200000,6.26454],[1377129600000,6.2608],[1377216000000,6.23081],[1377302400000,6.23519],[1377388800000,6.23519],[1377475200000,6.23519],[1377561600000,6.23519],[1377648000000,6.2218],[1377734400000,6.23437],[1377820800000,6.2687],[1377907200000,6.27185],[1377993600000,6.27185],[1378080000000,6.27185],[1378166400000,6.27645],[1378252800000,6.25349],[1378339200000,6.27164],[1378425600000,6.25807],[1378512000000,6.25189],[1378598400000,6.25189],[1378684800000,6.25189],[1378771200000,6.28522],[1378857600000,6.3015],[1378944000000,6.30019],[1379030400000,6.30502],[1379116800000,6.30066],[1379203200000,6.30066],[1379289600000,6.30066],[1379376000000,6.34584],[1379462400000,6.34198],[1379548800000,6.35064],[1379635200000,6.42256],[1379721600000,6.398],[1379808000000,6.398],[1379894400000,6.398],[1379980800000,6.38608],[1380067200000,6.36539],[1380153600000,6.37062],[1380240000000,6.36676],[1380326400000,6.3704],[1380412800000,6.3704],[1380499200000,6.3704],[1380585600000,6.36433],[1380672000000,6.38404],[1380758400000,6.38561],[1380844800000,6.40099],[1380931200000,6.41299],[1381017600000,6.41299],[1381104000000,6.41299],[1381190400000,6.40611],[1381276800000,6.40421],[1381363200000,6.38523],[1381449600000,6.38523],[1381536000000,6.41578],[1381622400000,6.41578],[1381708800000,6.41578],[1381795200000,6.42053],[1381881600000,6.4311],[1381968000000,6.42558],[1382054400000,6.44326],[1382140800000,6.45897],[1382227200000,6.45897],[1382313600000,6.45897],[1382400000000,6.43802],[1382486400000,6.44132],[1382572800000,6.44653],[1382659200000,6.46265],[1382745600000,6.46431],[1382832000000,6.46431],[1382918400000,6.46431],[1383004800000,6.45736],[1383091200000,6.44496],[1383177600000,6.45892],[1383264000000,6.45277],[1383350400000,null],[1383436800000,6.43183],[1383523200000,6.43183],[1383609600000,6.42886],[1383696000000,6.44118],[1383782400000,6.43448],[1383868800000,6.42836],[1383955200000,6.43648],[1384041600000,6.43648],[1384128000000,6.43648],[1384214400000,6.40301],[1384300800000,6.3963],[1384387200000,6.40271],[1384473600000,6.40584],[1384560000000,6.40735],[1384646400000,6.40735],[1384732800000,6.40735],[1384819200000,6.415],[1384905600000,6.42887],[1384992000000,6.42585],[1385078400000,6.40276],[1385164800000,6.38741],[1385251200000,6.38741],[1385337600000,6.38741],[1385424000000,6.3825],[1385510400000,6.38262],[1385596800000,6.37153],[1385683200000,6.36555],[1385769600000,6.36885],[1385856000000,6.36885],[1385942400000,6.36885],[1386028800000,6.36993],[1386115200000,6.37543],[1386201600000,6.37414],[1386288000000,6.37508],[1386374400000,6.37843],[1386460800000,6.37843],[1386547200000,6.37843],[1386633600000,6.39944],[1386720000000,6.39682],[1386806400000,6.39134],[1386892800000,6.3769],[1386979200000,6.36021],[1387065600000,6.36021],[1387152000000,6.36021],[1387238400000,6.36741],[1387324800000,6.3564],[1387411200000,6.35015],[1387497600000,6.30973],[1387584000000,6.30528],[1387670400000,6.30528],[1387756800000,6.30528],[1387843200000,6.31276],[1387929600000,6.30556],[1388016000000,6.30556],[1388102400000,6.30556],[1388188800000,6.3062],[1388275200000,6.3062],[1388361600000,6.3062]], 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: [[1358208000000, 6.508812],[1358208000000, 6.508812],[1360886400000, 6.453503],[1363305600000, 6.414487],[1365984000000, 6.456114],[1368576000000, 6.411364],[1371254400000, 6.349019],[1373846400000, 6.302596],[1376524800000, 6.281299],[1379203200000, 6.323600],[1381795200000, 6.427165],[1384473600000, 6.410152],[1387065600000, 6.347305]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });