$(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: 'Курс CHF, грн'}, 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: 'Курс CHF', data: [[1356998400000,8.72282],[1357084800000,8.72282],[1357171200000,8.72282],[1357257600000,8.66206],[1357344000000,8.60113],[1357430400000,8.60113],[1357516800000,8.60113],[1357603200000,8.60113],[1357689600000,8.65005],[1357776000000,8.63236],[1357862400000,8.6593],[1357948800000,8.72741],[1358035200000,8.72741],[1358121600000,8.72741],[1358208000000,8.70984],[1358294400000,8.61974],[1358380800000,8.5867],[1358467200000,8.5803],[1358553600000,8.55686],[1358640000000,8.55686],[1358726400000,8.55686],[1358812800000,8.57344],[1358899200000,8.59588],[1358985600000,8.60288],[1359072000000,8.59294],[1359158400000,8.65138],[1359244800000,8.65138],[1359331200000,8.65138],[1359417600000,8.61593],[1359504000000,8.64771],[1359590400000,8.73412],[1359676800000,8.77533],[1359763200000,8.82977],[1359849600000,8.82977],[1359936000000,8.82977],[1360022400000,8.77094],[1360108800000,8.79756],[1360195200000,8.74971],[1360281600000,8.79412],[1360368000000,8.70366],[1360454400000,8.70366],[1360540800000,8.70366],[1360627200000,8.70622],[1360713600000,8.71268],[1360800000000,8.71376],[1360886400000,8.66531],[1360972800000,8.65697],[1361059200000,8.65697],[1361145600000,8.65697],[1361232000000,8.65411],[1361318400000,8.65217],[1361404800000,8.65525],[1361491200000,8.57573],[1361577600000,8.58831],[1361664000000,8.58831],[1361750400000,8.58831],[1361836800000,8.64192],[1361923200000,8.59082],[1362009600000,8.59689],[1362096000000,8.59531],[1362182400000,8.48583],[1362268800000,8.48583],[1362355200000,8.48583],[1362441600000,8.48278],[1362528000000,8.48585],[1362614400000,8.46994],[1362700800000,8.44203],[1362787200000,8.44203],[1362873600000,8.44203],[1362960000000,8.44203],[1363046400000,8.403],[1363132800000,8.45209],[1363219200000,8.42253],[1363305600000,8.37495],[1363392000000,8.49825],[1363478400000,8.49825],[1363564800000,8.49825],[1363651200000,8.45606],[1363737600000,8.46795],[1363824000000,8.46583],[1363910400000,8.44087],[1363996800000,8.47473],[1364083200000,8.47473],[1364169600000,8.47473],[1364256000000,8.46552],[1364342400000,8.41985],[1364428800000,8.383],[1364515200000,8.39281],[1364601600000,8.39281],[1364688000000,8.39281],[1364774400000,8.39281],[1364860800000,8.39281],[1364947200000,8.44067],[1365033600000,8.42724],[1365120000000,8.42898],[1365206400000,8.50974],[1365292800000,8.50974],[1365379200000,8.50974],[1365465600000,8.55464],[1365552000000,8.54334],[1365638400000,8.58544],[1365724800000,8.60426],[1365811200000,8.57439],[1365897600000,8.57439],[1365984000000,8.57439],[1366070400000,8.60759],[1366156800000,8.62781],[1366243200000,8.63776],[1366329600000,8.57191],[1366416000000,8.60941],[1366502400000,8.60941],[1366588800000,8.60941],[1366675200000,8.54978],[1366761600000,8.49735],[1366848000000,8.45041],[1366934400000,8.47644],[1367020800000,8.46582],[1367107200000,8.46582],[1367193600000,8.46582],[1367280000000,8.53589],[1367366400000,8.53771],[1367452800000,8.53771],[1367539200000,8.53771],[1367625600000,8.53771],[1367712000000,8.53771],[1367798400000,8.53771],[1367884800000,8.53771],[1367971200000,8.49463],[1368057600000,8.5107],[1368144000000,8.5107],[1368230400000,8.5107],[1368316800000,8.5107],[1368403200000,8.5107],[1368489600000,8.35966],[1368576000000,8.35415],[1368662400000,8.22641],[1368748800000,8.27947],[1368835200000,8.26267],[1368921600000,8.26267],[1369008000000,8.26267],[1369094400000,8.24511],[1369180800000,8.24286],[1369267200000,8.19855],[1369353600000,8.25034],[1369440000000,8.29628],[1369526400000,8.29628],[1369612800000,8.29628],[1369699200000,8.30561],[1369785600000,8.25129],[1369872000000,8.2953],[1369958400000,8.28553],[1370044800000,8.37957],[1370131200000,8.37957],[1370217600000,8.37957],[1370304000000,8.34722],[1370390400000,8.4411],[1370476800000,8.44269],[1370563200000,8.48525],[1370649600000,8.6358],[1370736000000,8.6358],[1370822400000,8.6358],[1370908800000,8.51791],[1370995200000,8.62179],[1371081600000,8.61179],[1371168000000,8.65963],[1371254400000,8.62935],[1371340800000,8.62935],[1371427200000,8.62935],[1371513600000,8.66125],[1371600000000,8.68034],[1371686400000,8.69334],[1371772800000,8.56462],[1371859200000,8.5949],[1371945600000,8.5949],[1372032000000,8.5949],[1372118400000,8.5949],[1372204800000,8.55723],[1372291200000,8.48971],[1372377600000,8.45082],[1372464000000,8.45082],[1372550400000,8.45082],[1372636800000,8.45082],[1372723200000,8.44447],[1372809600000,8.42196],[1372896000000,8.43153],[1372982400000,8.41832],[1373068800000,8.33931],[1373155200000,8.33931],[1373241600000,8.33931],[1373328000000,8.2804],[1373414400000,8.25297],[1373500800000,8.23266],[1373587200000,8.39864],[1373673600000,8.40981],[1373760000000,8.40981],[1373846400000,8.40981],[1373932800000,8.39155],[1374019200000,8.47564],[1374105600000,8.50859],[1374192000000,8.46017],[1374278400000,8.48573],[1374364800000,8.48573],[1374451200000,null],[1374537600000,8.50734],[1374624000000,8.5047],[1374710400000,8.5466],[1374796800000,8.53406],[1374883200000,8.59309],[1374969600000,8.59309],[1375056000000,8.59309],[1375142400000,8.60236],[1375228800000,8.60795],[1375315200000,8.61468],[1375401600000,8.58938],[1375488000000,8.52229],[1375574400000,null],[1375660800000,8.52229],[1375747200000,8.57863],[1375833600000,8.62073],[1375920000000,8.63135],[1376006400000,8.67689],[1376092800000,8.68322],[1376179200000,8.68322],[1376265600000,8.68322],[1376352000000,8.61094],[1376438400000,8.59581],[1376524800000,8.52608],[1376611200000,8.55258],[1376697600000,8.63094],[1376784000000,8.63094],[1376870400000,8.63094],[1376956800000,8.63493],[1377043200000,8.68638],[1377129600000,8.69036],[1377216000000,8.62343],[1377302400000,8.63785],[1377388800000,8.63785],[1377475200000,8.63785],[1377561600000,8.63785],[1377648000000,8.67247],[1377734400000,8.68044],[1377820800000,8.61514],[1377907200000,8.59361],[1377993600000,8.59361],[1378080000000,8.59361],[1378166400000,8.57056],[1378252800000,8.5423],[1378339200000,8.52781],[1378425600000,8.51684],[1378512000000,8.46747],[1378598400000,8.46747],[1378684800000,8.46747],[1378771200000,8.53924],[1378857600000,8.53997],[1378944000000,8.55596],[1379030400000,8.58886],[1379116800000,8.58653],[1379203200000,8.58653],[1379289600000,8.58653],[1379376000000,8.62797],[1379462400000,8.62663],[1379548800000,8.62753],[1379635200000,8.77849],[1379721600000,8.76054],[1379808000000,8.76054],[1379894400000,8.76054],[1379980800000,8.76162],[1380067200000,8.75882],[1380153600000,8.77255],[1380240000000,8.78072],[1380326400000,8.8342],[1380412800000,8.8342],[1380499200000,8.8342],[1380585600000,8.8299],[1380672000000,8.84168],[1380758400000,8.82488],[1380844800000,8.85116],[1380931200000,8.85412],[1381017600000,8.85412],[1381104000000,8.85412],[1381190400000,8.84693],[1381276800000,8.83368],[1381363200000,8.77328],[1381449600000,8.77328],[1381536000000,8.80567],[1381622400000,8.80567],[1381708800000,8.80567],[1381795200000,8.7901],[1381881600000,8.72499],[1381968000000,8.78317],[1382054400000,8.85863],[1382140800000,8.8614],[1382227200000,8.8614],[1382313600000,8.8614],[1382400000000,8.84394],[1382486400000,8.84632],[1382572800000,8.93148],[1382659200000,8.96882],[1382745600000,8.91801],[1382832000000,8.91801],[1382918400000,8.91801],[1383004800000,8.92615],[1383091200000,8.90497],[1383177600000,8.90449],[1383264000000,8.84071],[1383350400000,null],[1383436800000,8.76892],[1383523200000,8.76892],[1383609600000,8.76174],[1383696000000,8.77105],[1383782400000,8.76888],[1383868800000,8.68649],[1383955200000,8.72655],[1384041600000,8.72655],[1384128000000,8.72655],[1384214400000,8.68415],[1384300800000,8.70879],[1384387200000,8.70624],[1384473600000,8.70856],[1384560000000,8.71422],[1384646400000,8.71422],[1384732800000,8.71422],[1384819200000,8.76888],[1384905600000,8.75063],[1384992000000,8.77394],[1385078400000,8.74182],[1385164800000,8.78307],[1385251200000,8.78307],[1385337600000,8.78307],[1385424000000,8.77406],[1385510400000,8.79477],[1385596800000,8.8316],[1385683200000,8.81611],[1385769600000,8.84638],[1385856000000,8.84638],[1385942400000,8.84638],[1386028800000,8.78121],[1386115200000,8.83283],[1386201600000,8.85563],[1386288000000,8.86127],[1386374400000,8.92751],[1386460800000,8.92751],[1386547200000,8.92751],[1386633600000,8.96737],[1386720000000,8.99818],[1386806400000,9.00562],[1386892800000,9.01675],[1386979200000,8.97431],[1387065600000,8.97431],[1387152000000,8.97431],[1387238400000,9.01667],[1387324800000,9.00342],[1387411200000,8.99973],[1387497600000,8.90958],[1387584000000,8.9003],[1387670400000,8.9003],[1387756800000,8.9003],[1387843200000,8.93531],[1387929600000,8.93378],[1388016000000,8.93378],[1388102400000,8.93378],[1388188800000,9.02528],[1388275200000,9.02528],[1388361600000,9.02528]], 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, 8.640103],[1358208000000, 8.640103],[1360886400000, 8.692452],[1363305600000, 8.455113],[1365984000000, 8.526774],[1368576000000, 8.380105],[1371254400000, 8.548003],[1373846400000, 8.448961],[1376524800000, 8.624408],[1379203200000, 8.641643],[1381795200000, 8.850820],[1384473600000, 8.756696],[1387065600000, 8.941456]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });