$(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: 'Курс CNY, грн'}, 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: 'Курс CNY', data: [[1262736000000,1.16959],[1262822400000,1.16955],[1262908800000,1.16955],[1262995200000,1.16955],[1263081600000,1.16955],[1263168000000,1.16955],[1263254400000,1.17053],[1263340800000,1.17157],[1263427200000,1.17243],[1263513600000,1.17212],[1263600000000,1.17201],[1263686400000,1.17201],[1263772800000,1.17201],[1263859200000,1.172],[1263945600000,1.17256],[1264032000000,1.1726],[1264118400000,1.17332],[1264204800000,1.17307],[1264291200000,1.17307],[1264377600000,1.17307],[1264464000000,1.17301],[1264550400000,1.17254],[1264636800000,1.1722],[1264723200000,1.17201],[1264809600000,1.17171],[1264896000000,1.17171],[1264982400000,1.17171],[1265068800000,1.17164],[1265155200000,1.17189],[1265241600000,1.17206],[1265328000000,1.17201],[1265414400000,1.17186],[1265500800000,1.17186],[1265587200000,1.17186],[1265673600000,1.17295],[1265760000000,1.17324],[1265846400000,1.17273],[1265932800000,1.17198],[1266019200000,1.17116],[1266105600000,1.17116],[1266192000000,1.17116],[1266278400000,1.17108],[1266364800000,1.17114],[1266451200000,1.17114],[1266537600000,1.17075],[1266624000000,1.1705],[1266710400000,1.1705],[1266796800000,1.1705],[1266883200000,1.17049],[1266969600000,1.17041],[1267056000000,1.17036],[1267142400000,1.17038],[1267228800000,1.17052],[1267315200000,1.17052],[1267401600000,1.17052],[1267488000000,1.17047],[1267574400000,1.16971],[1267660800000,1.16968],[1267747200000,1.16961],[1267833600000,1.16952],[1267920000000,1.16952],[1268006400000,1.16952],[1268092800000,1.16952],[1268179200000,1.1696],[1268265600000,1.16943],[1268352000000,1.16901],[1268438400000,1.16885],[1268524800000,1.16885],[1268611200000,1.16885],[1268697600000,1.16858],[1268784000000,1.16859],[1268870400000,1.16848],[1268956800000,1.16845],[1269043200000,1.16607],[1269129600000,1.16607],[1269216000000,1.16607],[1269302400000,1.16521],[1269388800000,1.16463],[1269475200000,1.16236],[1269561600000,1.16169],[1269648000000,1.16156],[1269734400000,1.16156],[1269820800000,1.16156],[1269907200000,1.16094],[1269993600000,1.16104],[1270080000000,1.16102],[1270166400000,1.16095],[1270252800000,1.16095],[1270339200000,1.16095],[1270425600000,1.16095],[1270512000000,1.16095],[1270598400000,1.16104],[1270684800000,1.16095],[1270771200000,1.16144],[1270857600000,1.16158],[1270944000000,1.16158],[1271030400000,1.16158],[1271116800000,1.16128],[1271203200000,1.16126],[1271289600000,1.16124],[1271376000000,1.16112],[1271462400000,1.16121],[1271548800000,1.16121],[1271635200000,1.16121],[1271721600000,1.16099],[1271808000000,1.1612],[1271894400000,1.1609],[1271980800000,1.16107],[1272067200000,1.16086],[1272153600000,1.16086],[1272240000000,1.16086],[1272326400000,1.16106],[1272412800000,1.16117],[1272499200000,1.16125],[1272585600000,1.16115],[1272672000000,1.16126],[1272758400000,1.16126],[1272844800000,1.16126],[1272931200000,1.16126],[1273017600000,1.16126],[1273104000000,1.16108],[1273190400000,1.16103],[1273276800000,1.16119],[1273363200000,1.16119],[1273449600000,1.16119],[1273536000000,1.16119],[1273622400000,1.16062],[1273708800000,1.16091],[1273795200000,1.16081],[1273881600000,1.161],[1273968000000,null],[1274054400000,1.161],[1274140800000,1.16085],[1274227200000,1.1609],[1274313600000,1.16087],[1274400000000,1.16079],[1274486400000,1.16078],[1274572800000,1.16078],[1274659200000,1.16078],[1274745600000,1.16078],[1274832000000,1.16023],[1274918400000,1.16054],[1275004800000,1.16008],[1275091200000,1.16011],[1275177600000,1.16011],[1275264000000,1.16011],[1275350400000,1.16069],[1275436800000,1.1603],[1275523200000,1.16042],[1275609600000,1.16068],[1275696000000,1.15999],[1275782400000,1.15999],[1275868800000,1.15999],[1275955200000,1.15937],[1276041600000,1.15959],[1276128000000,1.15964],[1276214400000,1.159],[1276300800000,1.15859],[1276387200000,1.15859],[1276473600000,1.15859],[1276560000000,1.15845],[1276646400000,1.15822],[1276732800000,1.15816],[1276819200000,1.15863],[1276905600000,1.15905],[1276992000000,1.15905],[1277078400000,1.15905],[1277164800000,1.16375],[1277251200000,1.16097],[1277337600000,1.16109],[1277424000000,1.1632],[1277510400000,1.16457],[1277596800000,1.16457],[1277683200000,1.16457],[1277769600000,1.16457],[1277856000000,1.16319],[1277942400000,1.16573],[1278028800000,1.1663],[1278115200000,1.16827],[1278201600000,1.16827],[1278288000000,1.16827],[1278374400000,1.16732],[1278460800000,1.16641],[1278547200000,1.16674],[1278633600000,1.16672],[1278720000000,1.16687],[1278806400000,1.16687],[1278892800000,1.16687],[1278979200000,1.1672],[1279065600000,1.1669],[1279152000000,1.1664],[1279238400000,1.16556],[1279324800000,1.16602],[1279411200000,1.16602],[1279497600000,1.16602],[1279584000000,1.16543],[1279670400000,1.16522],[1279756800000,1.16532],[1279843200000,1.16475],[1279929600000,1.16454],[1280016000000,1.16454],[1280102400000,1.16454],[1280188800000,1.16457],[1280275200000,1.16458],[1280361600000,1.16453],[1280448000000,1.16486],[1280534400000,1.16497],[1280620800000,1.16497],[1280707200000,1.16497],[1280793600000,1.16504],[1280880000000,1.16515],[1280966400000,1.16521],[1281052800000,1.16524],[1281139200000,1.16576],[1281225600000,null],[1281312000000,1.16576],[1281398400000,1.16594],[1281484800000,1.16509],[1281571200000,1.16458],[1281657600000,1.16285],[1281744000000,1.16103],[1281830400000,1.16103],[1281916800000,1.16103],[1282003200000,1.15903],[1282089600000,1.16165],[1282176000000,1.16171],[1282262400000,1.16201],[1282348800000,1.16202],[1282435200000,null],[1282521600000,null],[1282608000000,1.16197],[1282694400000,1.16197],[1282780800000,1.16053],[1282867200000,1.16033],[1282953600000,1.16015],[1283040000000,1.16015],[1283126400000,1.16015],[1283212800000,1.15921],[1283299200000,1.15855],[1283385600000,1.15776],[1283472000000,1.16001],[1283558400000,1.16232],[1283644800000,1.16232],[1283731200000,1.16232],[1283817600000,1.16513],[1283904000000,1.16444],[1283990400000,1.16395],[1284076800000,1.16586],[1284163200000,1.16826],[1284249600000,1.16826],[1284336000000,1.16826],[1284422400000,1.16954],[1284508800000,1.17371],[1284595200000,1.17458],[1284681600000,1.17761],[1284768000000,1.17784],[1284854400000,1.17784],[1284940800000,1.17784],[1285027200000,1.17945],[1285113600000,1.18057],[1285200000000,1.18058],[1285286400000,1.18014],[1285372800000,1.17912],[1285459200000,1.17912],[1285545600000,1.17912],[1285632000000,1.18248],[1285718400000,1.18278],[1285804800000,1.18345],[1285891200000,1.18216],[1285977600000,1.18214],[1286064000000,1.18214],[1286150400000,1.18214],[1286236800000,1.18213],[1286323200000,1.18213],[1286409600000,1.18214],[1286496000000,1.18439],[1286582400000,1.18578],[1286668800000,1.18578],[1286755200000,1.18578],[1286841600000,1.18629],[1286928000000,1.18529],[1287014400000,1.18694],[1287100800000,1.18915],[1287187200000,1.1909],[1287273600000,1.1909],[1287360000000,1.1909],[1287446400000,1.19078],[1287532800000,1.19066],[1287619200000,1.18937],[1287705600000,1.18964],[1287792000000,1.18813],[1287878400000,1.18813],[1287964800000,1.18813],[1288051200000,1.18826],[1288137600000,1.18745],[1288224000000,1.18427],[1288310400000,1.18307],[1288396800000,1.18592],[1288483200000,1.18592],[1288569600000,1.18592],[1288656000000,1.18148],[1288742400000,1.18584],[1288828800000,1.18627],[1288915200000,1.18855],[1289001600000,1.189],[1289088000000,1.189],[1289174400000,1.189],[1289260800000,1.18547],[1289347200000,1.19065],[1289433600000,1.1924],[1289520000000,1.19545],[1289606400000,1.19477],[1289692800000,1.19477],[1289779200000,1.19477],[1289865600000,1.19398],[1289952000000,1.19552],[1290038400000,1.19498],[1290124800000,1.19659],[1290211200000,1.19552],[1290297600000,1.19552],[1290384000000,1.19552],[1290470400000,1.19515],[1290556800000,1.19455],[1290643200000,1.19301],[1290729600000,1.19365],[1290816000000,1.19055],[1290902400000,1.19055],[1290988800000,1.19055],[1291075200000,1.19179],[1291161600000,1.19064],[1291248000000,1.19129],[1291334400000,1.19196],[1291420800000,1.1919],[1291507200000,1.1919],[1291593600000,1.1919],[1291680000000,1.1971],[1291766400000,1.19676],[1291852800000,1.19361],[1291939200000,1.1948],[1292025600000,1.19494],[1292112000000,1.19494],[1292198400000,1.19494],[1292284800000,1.19291],[1292371200000,1.19654],[1292457600000,1.19648],[1292544000000,1.19512],[1292630400000,1.19653],[1292716800000,1.19653],[1292803200000,1.19653],[1292889600000,1.19312],[1292976000000,1.19592],[1293062400000,1.19822],[1293148800000,1.19877],[1293235200000,1.20137],[1293321600000,1.20137],[1293408000000,1.20137],[1293494400000,1.20063],[1293580800000,1.20172],[1293667200000,1.20214]], 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: [[1263513600000, 1.171650],[1263513600000, 1.171650],[1266192000000, 1.171341],[1268611200000, 1.166953],[1271289600000, 1.161127],[1273881600000, 1.160842],[1276560000000, 1.160550],[1279152000000, 1.166020],[1281830400000, 1.162662],[1284508800000, 1.172107],[1287100800000, 1.186349],[1289779200000, 1.191692],[1292371200000, 1.196391]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });