$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1356998400000,0.41914],[1357084800000,0.41914],[1357171200000,0.41914],[1357257600000,0.414585],[1357344000000,0.410195],[1357430400000,0.410195],[1357516800000,0.410195],[1357603200000,0.410195],[1357689600000,0.408787],[1357776000000,0.408777],[1357862400000,0.408959],[1357948800000,0.414239],[1358035200000,0.414239],[1358121600000,0.414239],[1358208000000,0.41633],[1358294400000,0.415893],[1358380800000,0.414867],[1358467200000,0.418267],[1358553600000,0.415443],[1358640000000,0.415443],[1358726400000,0.415443],[1358812800000,0.415557],[1358899200000,0.415581],[1358985600000,0.416247],[1359072000000,0.41684],[1359158400000,0.420456],[1359244800000,0.420456],[1359331200000,0.420456],[1359417600000,0.418287],[1359504000000,0.41845],[1359590400000,0.421929],[1359676800000,0.422753],[1359763200000,0.425371],[1359849600000,0.425371],[1359936000000,0.425371],[1360022400000,0.421992],[1360108800000,0.421887],[1360195200000,0.419872],[1360281600000,0.428381],[1360368000000,0.423477],[1360454400000,0.423477],[1360540800000,0.423477],[1360627200000,0.424066],[1360713600000,0.424294],[1360800000000,0.423812],[1360886400000,0.419662],[1360972800000,0.419549],[1361059200000,0.419549],[1361145600000,0.419549],[1361232000000,0.420366],[1361318400000,0.419512],[1361404800000,0.42085],[1361491200000,0.413381],[1361577600000,0.413446],[1361664000000,0.413446],[1361750400000,0.413446],[1361836800000,0.416688],[1361923200000,0.408922],[1362009600000,0.408333],[1362096000000,0.409331],[1362182400000,0.404677],[1362268800000,0.404677],[1362355200000,0.404677],[1362441600000,0.405163],[1362528000000,0.406496],[1362614400000,0.407545],[1362700800000,0.40764],[1362787200000,0.40764],[1362873600000,0.40764],[1362960000000,0.40764],[1363046400000,0.406628],[1363132800000,0.406565],[1363219200000,0.404795],[1363305600000,0.403691],[1363392000000,0.408979],[1363478400000,0.408979],[1363564800000,0.408979],[1363651200000,0.403363],[1363737600000,0.403405],[1363824000000,0.403075],[1363910400000,0.399758],[1363996800000,0.40064],[1364083200000,0.40064],[1364169600000,0.40064],[1364256000000,0.4017],[1364342400000,0.398349],[1364428800000,0.395561],[1364515200000,0.397632],[1364601600000,0.397632],[1364688000000,0.397632],[1364774400000,0.397632],[1364860800000,0.397632],[1364947200000,0.396546],[1365033600000,0.396989],[1365120000000,0.396848],[1365206400000,0.401589],[1365292800000,0.401589],[1365379200000,0.401589],[1365465600000,0.404605],[1365552000000,0.404583],[1365638400000,0.404394],[1365724800000,0.40421],[1365811200000,0.403249],[1365897600000,0.403249],[1365984000000,0.403249],[1366070400000,0.404255],[1366156800000,0.405675],[1366243200000,0.405895],[1366329600000,0.402971],[1366416000000,0.405415],[1366502400000,0.405415],[1366588800000,0.405415],[1366675200000,0.401869],[1366761600000,0.400745],[1366848000000,0.401239],[1366934400000,0.403678],[1367020800000,0.403593],[1367107200000,0.403593],[1367193600000,0.403593],[1367280000000,0.407877],[1367366400000,0.404994],[1367452800000,0.404994],[1367539200000,0.404994],[1367625600000,0.404994],[1367712000000,0.404994],[1367798400000,0.404994],[1367884800000,0.404994],[1367971200000,0.406899],[1368057600000,0.405955],[1368144000000,0.405955],[1368230400000,0.405955],[1368316800000,0.405955],[1368403200000,0.405955],[1368489600000,0.401227],[1368576000000,0.400684],[1368662400000,0.395423],[1368748800000,0.396573],[1368835200000,0.39579],[1368921600000,0.39579],[1369008000000,0.39579],[1369094400000,0.393301],[1369180800000,0.394045],[1369267200000,0.396231],[1369353600000,0.39478],[1369440000000,0.397882],[1369526400000,0.397882],[1369612800000,0.397882],[1369699200000,0.398265],[1369785600000,0.399449],[1369872000000,0.399727],[1369958400000,0.401091],[1370044800000,0.404329],[1370131200000,0.404329],[1370217600000,0.404329],[1370304000000,0.403731],[1370390400000,0.405992],[1370476800000,0.404103],[1370563200000,0.406751],[1370649600000,0.414514],[1370736000000,0.414514],[1370822400000,0.414514],[1370908800000,0.41136],[1370995200000,0.414208],[1371081600000,0.413574],[1371168000000,0.413661],[1371254400000,0.413449],[1371340800000,0.413449],[1371427200000,0.413449],[1371513600000,0.414409],[1371600000000,0.416271],[1371686400000,0.41717],[1371772800000,0.408849],[1371859200000,0.407929],[1371945600000,0.407929],[1372032000000,0.407929],[1372118400000,0.407929],[1372204800000,0.407089],[1372291200000,0.402587],[1372377600000,0.402336],[1372464000000,0.402336],[1372550400000,0.402336],[1372636800000,0.402336],[1372723200000,0.401096],[1372809600000,0.400434],[1372896000000,0.398083],[1372982400000,0.398392],[1373068800000,0.397966],[1373155200000,0.397966],[1373241600000,0.397966],[1373328000000,0.395983],[1373414400000,0.397163],[1373500800000,0.39498],[1373587200000,0.402582],[1373673600000,0.401452],[1373760000000,0.401452],[1373846400000,0.401452],[1373932800000,0.399865],[1374019200000,0.403899],[1374105600000,0.404329],[1374192000000,0.403673],[1374278400000,0.404505],[1374364800000,0.404505],[1374451200000,null],[1374537600000,0.405127],[1374624000000,0.405542],[1374710400000,0.408312],[1374796800000,0.406501],[1374883200000,0.40846],[1374969600000,0.40846],[1375056000000,0.40846],[1375142400000,0.409304],[1375228800000,0.410655],[1375315200000,0.410361],[1375401600000,0.407611],[1375488000000,0.406532],[1375574400000,null],[1375660800000,0.406532],[1375747200000,0.408541],[1375833600000,0.409518],[1375920000000,0.409373],[1376006400000,0.413645],[1376092800000,0.412306],[1376179200000,0.412306],[1376265600000,0.412306],[1376352000000,0.410151],[1376438400000,0.410555],[1376524800000,0.409927],[1376611200000,0.41171],[1376697600000,0.413281],[1376784000000,0.413281],[1376870400000,0.413281],[1376956800000,0.412526],[1377043200000,0.415327],[1377129600000,0.415047],[1377216000000,0.413749],[1377302400000,0.415923],[1377388800000,0.415923],[1377475200000,0.415923],[1377561600000,0.415923],[1377648000000,0.413893],[1377734400000,0.414897],[1377820800000,0.412942],[1377907200000,0.411064],[1377993600000,0.411064],[1378080000000,0.411064],[1378166400000,0.411025],[1378252800000,0.409266],[1378339200000,0.408251],[1378425600000,0.410007],[1378512000000,0.406925],[1378598400000,0.406925],[1378684800000,0.406925],[1378771200000,0.408236],[1378857600000,0.409707],[1378944000000,0.411322],[1379030400000,0.411414],[1379116800000,0.412287],[1379203200000,0.412287],[1379289600000,0.412287],[1379376000000,0.414306],[1379462400000,0.415096],[1379548800000,0.413445],[1379635200000,0.420692],[1379721600000,0.418218],[1379808000000,0.418218],[1379894400000,0.418218],[1379980800000,0.416468],[1380067200000,0.415261],[1380153600000,0.417069],[1380240000000,0.418062],[1380326400000,0.42118],[1380412800000,0.42118],[1380499200000,0.42118],[1380585600000,0.419532],[1380672000000,0.422416],[1380758400000,0.421875],[1380844800000,0.425138],[1380931200000,0.425174],[1381017600000,0.425174],[1381104000000,0.425174],[1381190400000,0.425199],[1381276800000,0.425241],[1381363200000,0.422007],[1381449600000,0.422007],[1381536000000,0.424661],[1381622400000,0.424661],[1381708800000,0.424661],[1381795200000,0.424167],[1381881600000,0.421041],[1381968000000,0.422091],[1382054400000,0.424838],[1382140800000,0.424235],[1382227200000,0.424235],[1382313600000,0.424235],[1382400000000,0.423363],[1382486400000,0.424831],[1382572800000,0.425765],[1382659200000,0.428136],[1382745600000,0.427649],[1382832000000,0.427649],[1382918400000,0.427649],[1383004800000,0.428165],[1383091200000,0.42717],[1383177600000,0.427099],[1383264000000,0.423773],[1383350400000,null],[1383436800000,0.417519],[1383523200000,0.417519],[1383609600000,0.417857],[1383696000000,0.417518],[1383782400000,0.419025],[1383868800000,0.397864],[1383955200000,0.398109],[1384041600000,0.398109],[1384128000000,0.398109],[1384214400000,0.396571],[1384300800000,0.39749],[1384387200000,0.396326],[1384473600000,0.395179],[1384560000000,0.396191],[1384646400000,0.396191],[1384732800000,0.396191],[1384819200000,0.398427],[1384905600000,0.394335],[1384992000000,0.395628],[1385078400000,0.395932],[1385164800000,0.396395],[1385251200000,0.396395],[1385337600000,0.396395],[1385424000000,0.396118],[1385510400000,0.396213],[1385596800000,0.397472],[1385683200000,0.397224],[1385769600000,0.397184],[1385856000000,0.397184],[1385942400000,0.397184],[1386028800000,0.394765],[1386115200000,0.395111],[1386201600000,0.395662],[1386288000000,0.395835],[1386374400000,0.397352],[1386460800000,0.397352],[1386547200000,0.397352],[1386633600000,0.398865],[1386720000000,0.400334],[1386806400000,0.401107],[1386892800000,0.400741],[1386979200000,0.398489],[1387065600000,0.398489],[1387152000000,0.398489],[1387238400000,0.398955],[1387324800000,0.397352],[1387411200000,0.396249],[1387497600000,0.394983],[1387584000000,0.394593],[1387670400000,0.394593],[1387756800000,0.394593],[1387843200000,0.397186],[1387929600000,0.397212],[1388016000000,0.397212],[1388102400000,0.397212],[1388188800000,0.402315],[1388275200000,0.402315],[1388361600000,0.402315]], 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, 0.415418],[1358208000000, 0.415418],[1360886400000, 0.420011],[1363305600000, 0.403928],[1365984000000, 0.402639],[1368576000000, 0.400756],[1371254400000, 0.409178],[1373846400000, 0.402697],[1376524800000, 0.412145],[1379203200000, 0.413586],[1381795200000, 0.424685],[1384473600000, 0.401285],[1387065600000, 0.397862]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });