$(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: 'Курс AZN, грн'}, 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: 'Курс AZN', data: [[1262736000000,9.9452],[1262822400000,9.94396],[1262908800000,9.94396],[1262995200000,9.94396],[1263081600000,9.94396],[1263168000000,9.94396],[1263254400000,9.95205],[1263340800000,9.96189],[1263427200000,9.96886],[1263513600000,9.96811],[1263600000000,9.96413],[1263686400000,9.96413],[1263772800000,9.96413],[1263859200000,9.96413],[1263945600000,9.96949],[1264032000000,9.96949],[1264118400000,9.97137],[1264204800000,9.96938],[1264291200000,9.96938],[1264377600000,9.96938],[1264464000000,9.96888],[1264550400000,9.96365],[1264636800000,9.96067],[1264723200000,9.95793],[1264809600000,9.9552],[1264896000000,9.9552],[1264982400000,9.9552],[1265068800000,9.95557],[1265155200000,9.95694],[1265241600000,9.95917],[1265328000000,9.95917],[1265414400000,9.95818],[1265500800000,9.95818],[1265587200000,9.95818],[1265673600000,9.96689],[1265760000000,9.96926],[1265846400000,9.97137],[1265932800000,9.97137],[1266019200000,9.96203],[1266105600000,9.96203],[1266192000000,9.96203],[1266278400000,9.96141],[1266364800000,9.96191],[1266451200000,9.96315],[1266537600000,9.95731],[1266624000000,9.95519],[1266710400000,9.95519],[1266796800000,9.95519],[1266883200000,9.94684],[1266969600000,9.94647],[1267056000000,9.94523],[1267142400000,9.94399],[1267228800000,9.94523],[1267315200000,9.94523],[1267401600000,9.94523],[1267488000000,9.94523],[1267574400000,9.93901],[1267660800000,9.939],[1267747200000,9.93925],[1267833600000,9.93752],[1267920000000,9.93752],[1268006400000,9.93752],[1268092800000,9.93752],[1268179200000,9.93777],[1268265600000,9.93577],[1268352000000,9.93328],[1268438400000,9.93153],[1268524800000,9.93153],[1268611200000,9.93153],[1268697600000,9.92991],[1268784000000,9.92991],[1268870400000,9.92904],[1268956800000,9.92904],[1269043200000,9.90937],[1269129600000,9.90937],[1269216000000,9.90937],[1269302400000,9.90215],[1269388800000,9.8968],[1269475200000,9.878],[1269561600000,9.87302],[1269648000000,9.87178],[1269734400000,9.87178],[1269820800000,9.87178],[1269907200000,9.86556],[1269993600000,9.86678],[1270080000000,9.86433],[1270166400000,9.86433],[1270252800000,9.86433],[1270339200000,9.86433],[1270425600000,9.86433],[1270512000000,9.86433],[1270598400000,9.86433],[1270684800000,9.8621],[1270771200000,9.86472],[1270857600000,9.86497],[1270944000000,9.86497],[1271030400000,9.86497],[1271116800000,9.86497],[1271203200000,9.86472],[1271289600000,9.86717],[1271376000000,9.86532],[1271462400000,9.8641],[1271548800000,9.8641],[1271635200000,9.8641],[1271721600000,9.86422],[1271808000000,9.86385],[1271894400000,9.86312],[1271980800000,9.86287],[1272067200000,9.86287],[1272153600000,9.86287],[1272240000000,9.86287],[1272326400000,9.8657],[1272412800000,9.86668],[1272499200000,9.86422],[1272585600000,9.86422],[1272672000000,9.86668],[1272758400000,9.86668],[1272844800000,9.86668],[1272931200000,9.86668],[1273017600000,9.86668],[1273104000000,9.86422],[1273190400000,9.86422],[1273276800000,9.86422],[1273363200000,9.86422],[1273449600000,9.86422],[1273536000000,9.86422],[1273622400000,9.86422],[1273708800000,9.86299],[1273795200000,9.86299],[1273881600000,9.86299],[1273968000000,null],[1274054400000,9.86299],[1274140800000,9.86299],[1274227200000,9.86299],[1274313600000,9.86152],[1274400000000,9.86274],[1274486400000,9.86372],[1274572800000,9.86372],[1274659200000,9.86372],[1274745600000,9.86372],[1274832000000,9.86249],[1274918400000,9.86237],[1275004800000,9.862],[1275091200000,9.862],[1275177600000,9.862],[1275264000000,9.862],[1275350400000,9.862],[1275436800000,9.862],[1275523200000,9.86262],[1275609600000,9.86224],[1275696000000,9.85604],[1275782400000,9.85604],[1275868800000,9.85604],[1275955200000,9.85567],[1276041600000,9.8549],[1276128000000,9.85083],[1276214400000,9.84934],[1276300800000,9.8492],[1276387200000,9.8492],[1276473600000,9.8492],[1276560000000,9.84808],[1276646400000,9.84721],[1276732800000,9.84681],[1276819200000,9.84374],[1276905600000,9.84312],[1276992000000,9.84312],[1277078400000,9.84312],[1277164800000,9.84163],[1277251200000,9.84003],[1277337600000,9.83928],[1277424000000,9.84001],[1277510400000,9.83752],[1277596800000,9.83752],[1277683200000,9.83752],[1277769600000,9.83752],[1277856000000,9.8358],[1277942400000,9.83369],[1278028800000,9.83792],[1278115200000,9.84138],[1278201600000,9.84138],[1278288000000,9.84138],[1278374400000,9.84026],[1278460800000,9.83877],[1278547200000,9.83727],[1278633600000,9.83798],[1278720000000,9.83549],[1278806400000,9.83549],[1278892800000,9.83549],[1278979200000,9.83474],[1279065600000,9.83105],[1279152000000,9.83165],[1279238400000,9.83053],[1279324800000,9.83051],[1279411200000,9.83051],[1279497600000,9.83051],[1279584000000,9.82867],[1279670400000,9.8295],[1279756800000,9.82618],[1279843200000,9.82458],[1279929600000,9.82578],[1280016000000,9.82578],[1280102400000,9.82578],[1280188800000,9.82479],[1280275200000,9.82354],[1280361600000,9.8223],[1280448000000,9.8223],[1280534400000,9.82168],[1280620800000,9.82168],[1280707200000,9.82168],[1280793600000,9.8235],[1280880000000,9.82275],[1280966400000,9.82335],[1281052800000,9.82188],[1281139200000,9.82101],[1281225600000,null],[1281312000000,9.82101],[1281398400000,9.82076],[1281484800000,9.81954],[1281571200000,9.81954],[1281657600000,9.8171],[1281744000000,9.8171],[1281830400000,9.8171],[1281916800000,9.8171],[1282003200000,9.81699],[1282089600000,9.81588],[1282176000000,9.81588],[1282262400000,9.81625],[1282348800000,9.81625],[1282435200000,null],[1282521600000,null],[1282608000000,9.81588],[1282694400000,9.81588],[1282780800000,9.81588],[1282867200000,9.8171],[1282953600000,9.81336],[1283040000000,9.81336],[1283126400000,9.81336],[1283212800000,9.81346],[1283299200000,9.81177],[1283385600000,9.81346],[1283472000000,9.82925],[1283558400000,9.84219],[1283644800000,9.84219],[1283731200000,9.84219],[1283817600000,9.84342],[1283904000000,9.84097],[1283990400000,9.83852],[1284076800000,9.83852],[1284163200000,9.83852],[1284249600000,9.83852],[1284336000000,9.83852],[1284422400000,9.83974],[1284508800000,9.85218],[1284595200000,9.85588],[1284681600000,9.85588],[1284768000000,9.85833],[1284854400000,9.85833],[1284940800000,9.85833],[1285027200000,9.85833],[1285113600000,9.85956],[1285200000000,9.86202],[1285286400000,9.85828],[1285372800000,9.84981],[1285459200000,9.84981],[1285545600000,9.84981],[1285632000000,9.85615],[1285718400000,9.85615],[1285804800000,9.8586],[1285891200000,9.85424],[1285977600000,9.85534],[1286064000000,9.85534],[1286150400000,9.85534],[1286236800000,9.8578],[1286323200000,9.8578],[1286409600000,9.86026],[1286496000000,9.86149],[1286582400000,9.86149],[1286668800000,9.86149],[1286755200000,9.86149],[1286841600000,9.86272],[1286928000000,9.86272],[1287014400000,9.86518],[1287100800000,9.8675],[1287187200000,9.86775],[1287273600000,9.86775],[1287360000000,9.86775],[1287446400000,9.87099],[1287532800000,9.87346],[1287619200000,9.87222],[1287705600000,9.87469],[1287792000000,9.87494],[1287878400000,9.87494],[1287964800000,9.87494],[1288051200000,9.87839],[1288137600000,9.87715],[1288224000000,9.87592],[1288310400000,9.87962],[1288396800000,9.88011],[1288483200000,9.88011],[1288569600000,9.88011],[1288656000000,9.89094],[1288742400000,9.89219],[1288828800000,9.89591],[1288915200000,9.89987],[1289001600000,9.89709],[1289088000000,9.89709],[1289174400000,9.89709],[1289260800000,9.89711],[1289347200000,9.88961],[1289433600000,9.8875],[1289520000000,9.90087],[1289606400000,9.91089],[1289692800000,9.91089],[1289779200000,9.91089],[1289865600000,9.91712],[1289952000000,9.92086],[1290038400000,9.92337],[1290124800000,9.91964],[1290211200000,9.92212],[1290297600000,9.92212],[1290384000000,9.92212],[1290470400000,9.92585],[1290556800000,9.92337],[1290643200000,9.92338],[1290729600000,9.92338],[1290816000000,9.9225],[1290902400000,9.9225],[1290988800000,9.9225],[1291075200000,9.92126],[1291161600000,9.91878],[1291248000000,9.91878],[1291334400000,9.925],[1291420800000,9.92998],[1291507200000,9.92998],[1291593600000,9.92998],[1291680000000,9.95472],[1291766400000,9.94622],[1291852800000,9.94795],[1291939200000,9.95169],[1292025600000,9.95382],[1292112000000,9.95382],[1292198400000,9.95382],[1292284800000,9.95257],[1292371200000,9.97008],[1292457600000,9.97008],[1292544000000,9.97058],[1292630400000,9.97058],[1292716800000,9.97058],[1292803200000,9.97058],[1292889600000,9.96933],[1292976000000,9.97058],[1293062400000,9.97058],[1293148800000,9.97058],[1293235200000,9.97057],[1293321600000,9.97057],[1293408000000,9.97057],[1293494400000,9.97007],[1293580800000,9.97382],[1293667200000,9.97069]], 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, 9.959709],[1263513600000, 9.959709],[1266192000000, 9.957425],[1268611200000, 9.916223],[1271289600000, 9.864331],[1273881600000, 9.863762],[1276560000000, 9.847912],[1279152000000, 9.831513],[1281830400000, 9.818022],[1284508800000, 9.846508],[1287100800000, 9.867449],[1289779200000, 9.909671],[1292371200000, 9.957266]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });