$(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: [[1483228800000,1.05187],[1483315200000,1.05187],[1483401600000,1.05187],[1483488000000,1.05187],[1483574400000,1.03101],[1483660800000,1.03101],[1483747200000,1.0589],[1483833600000,1.0589],[1483920000000,1.0589],[1484006400000,1.0589],[1484092800000,1.06319],[1484179200000,1.05388],[1484265600000,1.07702],[1484352000000,null],[1484438400000,1.09168],[1484524800000,1.09168],[1484611200000,1.08687],[1484697600000,1.09247],[1484784000000,1.08498],[1484870400000,1.08343],[1484956800000,1.07923],[1485043200000,1.07923],[1485129600000,1.07923],[1485216000000,1.08361],[1485302400000,1.08319],[1485388800000,1.0817],[1485475200000,1.07761],[1485561600000,1.07487],[1485648000000,1.07487],[1485734400000,1.07487],[1485820800000,1.06682],[1485907200000,1.07783],[1485993600000,1.07811],[1486080000000,1.0794],[1486166400000,1.07637],[1486252800000,1.07637],[1486339200000,1.07637],[1486425600000,1.08078],[1486512000000,1.06793],[1486598400000,1.06222],[1486684800000,1.06936],[1486771200000,1.07021],[1486857600000,1.07021],[1486944000000,1.07021],[1487030400000,1.06857],[1487116800000,1.07054],[1487203200000,1.05443],[1487289600000,1.06393],[1487376000000,1.0652],[1487462400000,1.0652],[1487548800000,1.0652],[1487635200000,1.06177],[1487721600000,1.05454],[1487808000000,1.04943],[1487894400000,1.05281],[1487980800000,1.05916],[1488067200000,1.05916],[1488153600000,1.05916],[1488240000000,1.05998],[1488326400000,1.0653],[1488412800000,1.05952],[1488499200000,1.05414],[1488585600000,1.06034],[1488672000000,1.06034],[1488758400000,1.06034],[1488844800000,1.05921],[1488931200000,1.05519],[1489017600000,1.05519],[1489104000000,1.05071],[1489190400000,1.05232],[1489276800000,1.05232],[1489363200000,1.05232],[1489449600000,1.06131],[1489536000000,1.05851],[1489622400000,1.05669],[1489708800000,1.07093],[1489795200000,1.06926],[1489881600000,1.06926],[1489968000000,1.06926],[1490054400000,1.0699],[1490140800000,1.07341],[1490227200000,1.07666],[1490313600000,1.08007],[1490400000000,1.08464],[1490486400000,1.08464],[1490572800000,1.08464],[1490659200000,1.09424],[1490745600000,1.0899],[1490832000000,1.07556],[1490918400000,1.07187],[1491004800000,1.06877],[1491091200000,1.06877],[1491177600000,1.06877],[1491264000000,1.06534],[1491350400000,1.06766],[1491436800000,1.07171],[1491523200000,1.08113],[1491609600000,1.07945],[1491696000000,1.07945],[1491782400000,1.07945],[1491868800000,1.07396],[1491955200000,1.07099],[1492041600000,1.0676],[1492128000000,1.06938],[1492214400000,1.0673],[1492300800000,1.0673],[1492387200000,1.0673],[1492473600000,1.0673],[1492560000000,1.07163],[1492646400000,1.07222],[1492732800000,1.0685],[1492819200000,1.06185],[1492905600000,1.06185],[1492992000000,1.06185],[1493078400000,1.07997],[1493164800000,1.08344],[1493251200000,1.07482],[1493337600000,1.07253],[1493424000000,1.07834],[1493510400000,1.07834],[1493596800000,1.07834],[1493683200000,1.07834],[1493769600000,1.07834],[1493856000000,1.07778],[1493942400000,1.08122],[1494028800000,1.08498],[1494115200000,1.08498],[1494201600000,1.08498],[1494288000000,1.08498],[1494374400000,1.08498],[1494460800000,1.0806],[1494547200000,1.0791],[1494633600000,1.08344],[1494720000000,1.08344],[1494806400000,1.08344],[1494892800000,1.09724],[1494979200000,1.10646],[1495065600000,1.11096],[1495152000000,1.10293],[1495238400000,1.11228],[1495324800000,1.11228],[1495411200000,1.11228],[1495497600000,1.1181],[1495584000000,1.11394],[1495670400000,1.11097],[1495756800000,1.11561],[1495843200000,1.11585],[1495929600000,1.11585],[1496016000000,1.11585],[1496102400000,1.1168],[1496188800000,1.11248],[1496275200000,1.11736],[1496361600000,1.11654],[1496448000000,1.11834],[1496534400000,1.11834],[1496620800000,1.11834],[1496707200000,1.11834],[1496793600000,1.12198],[1496880000000,1.11699],[1496966400000,1.11782],[1497052800000,1.11341],[1497139200000,1.11341],[1497225600000,1.11341],[1497312000000,1.11665],[1497398400000,1.11519],[1497484800000,1.11396],[1497571200000,1.10783],[1497657600000,1.10771],[1497744000000,1.10771],[1497830400000,1.10771],[1497916800000,1.11353],[1498003200000,1.10465],[1498089600000,1.10441],[1498176000000,1.10651],[1498262400000,1.106],[1498348800000,1.106],[1498435200000,1.106],[1498521600000,1.1099],[1498608000000,1.11965],[1498694400000,1.11965],[1498780800000,1.13258],[1498867200000,1.13364],[1498953600000,1.13364],[1499040000000,1.13364],[1499126400000,1.13057],[1499212800000,1.13032],[1499299200000,1.13335],[1499385600000,1.13472],[1499472000000,1.13875],[1499558400000,1.13875],[1499644800000,1.13875],[1499731200000,1.13469],[1499817600000,1.13386],[1499904000000,1.13616],[1499990400000,1.13508],[1500076800000,1.13899],[1500163200000,1.13899],[1500249600000,1.13899],[1500336000000,1.1407],[1500422400000,1.14886],[1500508800000,1.14928],[1500595200000,1.14358],[1500681600000,1.1585],[1500768000000,1.1585],[1500854400000,1.1585],[1500940800000,1.15579],[1501027200000,1.16179],[1501113600000,1.15715],[1501200000000,1.16291],[1501286400000,1.16694],[1501372800000,1.16694],[1501459200000,1.16694],[1501545600000,1.16262],[1501632000000,1.16877],[1501718400000,1.17277],[1501804800000,1.18238],[1501891200000,1.17655],[1501977600000,1.17655],[1502064000000,1.17655],[1502150400000,1.16474],[1502236800000,1.16254],[1502323200000,1.15357],[1502409600000,1.15236],[1502496000000,1.15584],[1502582400000,1.15584],[1502668800000,1.15584],[1502755200000,1.15769],[1502841600000,1.14997],[1502928000000,1.14981],[1503014400000,1.14697],[1503100800000,1.14623],[1503187200000,1.14623],[1503273600000,1.14623],[1503360000000,null],[1503446400000,1.14861],[1503532800000,1.15377],[1503619200000,1.15377],[1503705600000,1.15377],[1503792000000,1.15377],[1503878400000,1.15377],[1503964800000,1.16572],[1504051200000,1.17247],[1504137600000,1.1703],[1504224000000,1.16406],[1504310400000,1.17698],[1504396800000,1.17698],[1504483200000,1.17698],[1504569600000,1.18338],[1504656000000,1.1834],[1504742400000,1.18717],[1504828800000,1.19207],[1504915200000,1.2048],[1505001600000,1.2048],[1505088000000,1.2048],[1505174400000,1.19656],[1505260800000,1.18937],[1505347200000,1.19692],[1505433600000,1.19119],[1505520000000,1.20288],[1505606400000,1.20288],[1505692800000,1.20288],[1505779200000,1.19891],[1505865600000,1.19827],[1505952000000,null],[1506038400000,null],[1506124800000,null],[1506211200000,null],[1506297600000,null],[1506384000000,null],[1506470400000,null],[1506556800000,null],[1506643200000,1.19951],[1506729600000,1.20775],[1506816000000,1.20775],[1506902400000,1.20775],[1506988800000,1.2042],[1507075200000,1.2103],[1507161600000,1.22072],[1507248000000,1.21795],[1507334400000,1.2126],[1507420800000,1.2126],[1507507200000,1.2126],[1507593600000,1.20448],[1507680000000,1.21095],[1507766400000,1.21291],[1507852800000,1.21965],[1507939200000,1.21965],[1508025600000,1.21965],[1508112000000,1.21965],[1508198400000,1.21965],[1508284800000,1.21023],[1508371200000,1.20783],[1508457600000,1.21905],[1508544000000,1.22085],[1508630400000,1.22085],[1508716800000,1.22085],[1508803200000,null],[1508889600000,1.22607],[1508976000000,1.23289],[1509062400000,1.23214],[1509148800000,1.21487],[1509235200000,1.21487],[1509321600000,1.21487],[1509408000000,1.21483],[1509494400000,1.21789],[1509580800000,1.22124],[1509667200000,1.22818],[1509753600000,1.22526],[1509840000000,1.22526],[1509926400000,1.22526],[1510012800000,1.21504],[1510099200000,1.20862],[1510185600000,1.2078],[1510272000000,1.20995],[1510358400000,1.20983],[1510444800000,1.20983],[1510531200000,1.20983],[1510617600000,1.20759],[1510704000000,1.21724],[1510790400000,1.22151],[1510876800000,1.21935],[1510963200000,1.2215],[1511049600000,1.2215],[1511136000000,1.2215],[1511222400000,1.21999],[1511308800000,1.21582],[1511395200000,1.22927],[1511481600000,1.24992],[1511568000000,1.25783],[1511654400000,1.25783],[1511740800000,1.25783],[1511827200000,1.2612],[1511913600000,1.25457],[1512000000000,1.25419],[1512086400000,1.26229],[1512172800000,1.25976],[1512259200000,1.25976],[1512345600000,1.25976],[1512432000000,1.26349],[1512518400000,1.2545],[1512604800000,1.24961],[1512691200000,1.24801],[1512777600000,1.24562],[1512864000000,1.24562],[1512950400000,1.24562],[1513036800000,1.25031],[1513123200000,1.24928],[1513209600000,1.24761],[1513296000000,1.26356],[1513382400000,1.27058],[1513468800000,1.27058],[1513555200000,1.27058],[1513641600000,1.28001],[1513728000000,1.28469],[1513814400000,1.28539],[1513900800000,1.28463],[1513987200000,1.28661],[1514073600000,1.28661],[1514160000000,1.28661],[1514246400000,1.28661],[1514332800000,1.28632],[1514419200000,1.28656],[1514505600000,1.30612],[1514592000000,1.30612]], 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: [[1484438400000, 1.069517],[1484438400000, 1.069517],[1487116800000, 1.066586],[1489536000000, 1.067033],[1492214400000, 1.071565],[1494806400000, 1.097381],[1497484800000, 1.113664],[1500076800000, 1.145138],[1502755200000, 1.159534],[1505433600000, 1.192842],[1508025600000, 1.216110],[1510704000000, 1.226754],[1513296000000, 1.270610]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });