$(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: 'Курс USD, грн'}, 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: 'Курс USD', data: [[1262736000000,7.985],[1262822400000,7.985],[1262908800000,7.985],[1262995200000,7.985],[1263081600000,7.985],[1263168000000,7.985],[1263254400000,7.9905],[1263340800000,7.9984],[1263427200000,8.004],[1263513600000,8.0024],[1263600000000,8.0012],[1263686400000,8.0012],[1263772800000,8.0012],[1263859200000,8.0012],[1263945600000,8.0055],[1264032000000,8.0055],[1264118400000,8.01],[1264204800000,8.0084],[1264291200000,8.0084],[1264377600000,8.0084],[1264464000000,8.008],[1264550400000,8.0048],[1264636800000,8.0024],[1264723200000,8.0012],[1264809600000,7.999],[1264896000000,7.999],[1264982400000,7.999],[1265068800000,7.9993],[1265155200000,8.0004],[1265241600000,8.0012],[1265328000000,8.0012],[1265414400000,8.0004],[1265500800000,8.0004],[1265587200000,8.0004],[1265673600000,8.0074],[1265760000000,8.0093],[1265846400000,8.01],[1265932800000,8.01],[1266019200000,8.0025],[1266105600000,8.0025],[1266192000000,8.0025],[1266278400000,8.002],[1266364800000,8.0024],[1266451200000,8.0024],[1266537600000,7.9997],[1266624000000,7.998],[1266710400000,7.998],[1266796800000,7.998],[1266883200000,7.9903],[1266969600000,7.99],[1267056000000,7.99],[1267142400000,7.99],[1267228800000,7.99],[1267315200000,7.99],[1267401600000,7.99],[1267488000000,7.99],[1267574400000,7.985],[1267660800000,7.984],[1267747200000,7.9842],[1267833600000,7.9838],[1267920000000,7.9838],[1268006400000,7.9838],[1268092800000,7.9838],[1268179200000,7.984],[1268265600000,7.9824],[1268352000000,7.9804],[1268438400000,7.978],[1268524800000,7.978],[1268611200000,7.978],[1268697600000,7.9767],[1268784000000,7.9767],[1268870400000,7.976],[1268956800000,7.976],[1269043200000,7.9602],[1269129600000,7.9602],[1269216000000,7.9602],[1269302400000,7.9544],[1269388800000,7.9501],[1269475200000,7.935],[1269561600000,7.931],[1269648000000,7.93],[1269734400000,7.93],[1269820800000,7.93],[1269907200000,7.925],[1269993600000,7.925],[1270080000000,7.925],[1270166400000,7.925],[1270252800000,7.925],[1270339200000,7.925],[1270425600000,7.925],[1270512000000,7.925],[1270598400000,7.925],[1270684800000,7.9242],[1270771200000,7.9263],[1270857600000,7.9265],[1270944000000,7.9265],[1271030400000,7.9265],[1271116800000,7.9265],[1271203200000,7.9263],[1271289600000,7.9263],[1271376000000,7.9258],[1271462400000,7.9258],[1271548800000,7.9258],[1271635200000,7.9258],[1271721600000,7.9259],[1271808000000,7.9256],[1271894400000,7.926],[1271980800000,7.9258],[1272067200000,7.9258],[1272153600000,7.9258],[1272240000000,7.9258],[1272326400000,7.9261],[1272412800000,7.9259],[1272499200000,7.9259],[1272585600000,7.9259],[1272672000000,7.9259],[1272758400000,7.9259],[1272844800000,7.9259],[1272931200000,7.9259],[1273017600000,7.9259],[1273104000000,7.9259],[1273190400000,7.9259],[1273276800000,7.9259],[1273363200000,7.9259],[1273449600000,7.9259],[1273536000000,7.9259],[1273622400000,7.9259],[1273708800000,7.9259],[1273795200000,7.9259],[1273881600000,7.9259],[1273968000000,null],[1274054400000,7.9259],[1274140800000,7.9259],[1274227200000,7.9259],[1274313600000,7.9257],[1274400000000,7.9257],[1274486400000,7.9255],[1274572800000,7.9255],[1274659200000,7.9255],[1274745600000,7.9255],[1274832000000,7.9255],[1274918400000,7.9254],[1275004800000,7.9251],[1275091200000,7.9251],[1275177600000,7.9251],[1275264000000,7.9251],[1275350400000,7.9251],[1275436800000,7.9251],[1275523200000,7.9256],[1275609600000,7.9253],[1275696000000,7.9213],[1275782400000,7.9213],[1275868800000,7.9213],[1275955200000,7.921],[1276041600000,7.9194],[1276128000000,7.9181],[1276214400000,7.9169],[1276300800000,7.9158],[1276387200000,7.9158],[1276473600000,7.9158],[1276560000000,7.9149],[1276646400000,7.9142],[1276732800000,7.9129],[1276819200000,7.9124],[1276905600000,7.9119],[1276992000000,7.9119],[1277078400000,7.9119],[1277164800000,7.9107],[1277251200000,7.9104],[1277337600000,7.9098],[1277424000000,7.9094],[1277510400000,7.9074],[1277596800000,7.9074],[1277683200000,7.9074],[1277769600000,7.9074],[1277856000000,7.907],[1277942400000,7.9053],[1278028800000,7.9087],[1278115200000,7.9105],[1278201600000,7.9105],[1278288000000,7.9105],[1278374400000,7.9096],[1278460800000,7.9084],[1278547200000,7.9072],[1278633600000,7.9058],[1278720000000,7.9038],[1278806400000,7.9038],[1278892800000,7.9038],[1278979200000,7.9032],[1279065600000,7.9022],[1279152000000,7.9017],[1279238400000,7.9008],[1279324800000,7.8998],[1279411200000,7.8998],[1279497600000,7.8998],[1279584000000,7.8993],[1279670400000,7.898],[1279756800000,7.8973],[1279843200000,7.897],[1279929600000,7.896],[1280016000000,7.896],[1280102400000,7.896],[1280188800000,7.8952],[1280275200000,7.8942],[1280361600000,7.8932],[1280448000000,7.8932],[1280534400000,7.8927],[1280620800000,7.8927],[1280707200000,7.8927],[1280793600000,7.8922],[1280880000000,7.8916],[1280966400000,7.8911],[1281052800000,7.8909],[1281139200000,7.8902],[1281225600000,null],[1281312000000,7.8902],[1281398400000,7.89],[1281484800000,7.89],[1281571200000,7.89],[1281657600000,7.89],[1281744000000,7.89],[1281830400000,7.89],[1281916800000,7.89],[1282003200000,7.8909],[1282089600000,7.89],[1282176000000,7.89],[1282262400000,7.8903],[1282348800000,7.8903],[1282435200000,null],[1282521600000,null],[1282608000000,7.89],[1282694400000,7.89],[1282780800000,7.89],[1282867200000,7.89],[1282953600000,7.887],[1283040000000,7.887],[1283126400000,7.887],[1283212800000,7.8861],[1283299200000,7.8867],[1283385600000,7.8861],[1283472000000,7.8978],[1283558400000,7.9082],[1283644800000,7.9082],[1283731200000,7.9082],[1283817600000,7.9082],[1283904000000,7.9082],[1283990400000,7.9082],[1284076800000,7.9082],[1284163200000,7.9082],[1284249600000,7.9082],[1284336000000,7.9082],[1284422400000,7.9082],[1284508800000,7.9182],[1284595200000,7.9192],[1284681600000,7.9192],[1284768000000,7.9192],[1284854400000,7.9192],[1284940800000,7.9192],[1285027200000,7.9192],[1285113600000,7.9192],[1285200000000,7.9192],[1285286400000,7.9162],[1285372800000,7.9094],[1285459200000,7.9094],[1285545600000,7.9094],[1285632000000,7.9135],[1285718400000,7.9135],[1285804800000,7.9135],[1285891200000,7.91],[1285977600000,7.9099],[1286064000000,7.9099],[1286150400000,7.9099],[1286236800000,7.9099],[1286323200000,7.9099],[1286409600000,7.9099],[1286496000000,7.9099],[1286582400000,7.9099],[1286668800000,7.9099],[1286755200000,7.9099],[1286841600000,7.9099],[1286928000000,7.9099],[1287014400000,7.9099],[1287100800000,7.9088],[1287187200000,7.909],[1287273600000,7.909],[1287360000000,7.909],[1287446400000,7.9116],[1287532800000,7.9116],[1287619200000,7.9116],[1287705600000,7.9116],[1287792000000,7.9118],[1287878400000,7.9118],[1287964800000,7.9118],[1288051200000,7.9116],[1288137600000,7.9116],[1288224000000,7.9116],[1288310400000,7.9116],[1288396800000,7.911],[1288483200000,7.911],[1288569600000,7.911],[1288656000000,7.9177],[1288742400000,7.9187],[1288828800000,7.9197],[1288915200000,7.9199],[1289001600000,7.9147],[1289088000000,7.9147],[1289174400000,7.9147],[1289260800000,7.9167],[1289347200000,7.9107],[1289433600000,7.91],[1289520000000,7.9207],[1289606400000,7.9297],[1289692800000,7.9297],[1289779200000,7.9297],[1289865600000,7.9327],[1289952000000,7.9357],[1290038400000,7.9377],[1290124800000,7.9377],[1290211200000,7.9377],[1290297600000,7.9377],[1290384000000,7.9377],[1290470400000,7.9377],[1290556800000,7.9377],[1290643200000,7.9387],[1290729600000,7.9387],[1290816000000,7.938],[1290902400000,7.938],[1290988800000,7.938],[1291075200000,7.938],[1291161600000,7.938],[1291248000000,7.938],[1291334400000,7.94],[1291420800000,7.942],[1291507200000,7.942],[1291593600000,7.942],[1291680000000,7.9588],[1291766400000,7.952],[1291852800000,7.9514],[1291939200000,7.9514],[1292025600000,7.9531],[1292112000000,7.9531],[1292198400000,7.9531],[1292284800000,7.9531],[1292371200000,7.9631],[1292457600000,7.9631],[1292544000000,7.9635],[1292630400000,7.9635],[1292716800000,7.9635],[1292803200000,7.9635],[1292889600000,7.9635],[1292976000000,7.9635],[1293062400000,7.9635],[1293148800000,7.9635],[1293235200000,7.9615],[1293321600000,7.9615],[1293408000000,7.9615],[1293494400000,7.9611],[1293580800000,7.9611],[1293667200000,7.9596]], 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, 7.998873],[1263513600000, 7.998873],[1266192000000, 7.999546],[1268611200000, 7.965990],[1271289600000, 7.925727],[1273881600000, 7.925697],[1276560000000, 7.915160],[1279152000000, 7.901397],[1281830400000, 7.890007],[1284508800000, 7.910583],[1287100800000, 7.910474],[1289779200000, 7.928000],[1292371200000, 7.955813]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });