$(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: 'Курс GBP, грн'}, 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: 'Курс GBP', data: [[1326758400000,12.3053],[1326844800000,null],[1326931200000,null],[1327017600000,12.3452],[1327104000000,12.3617],[1327190400000,12.3617],[1327276800000,12.3617],[1327363200000,12.4369],[1327449600000,12.448],[1327536000000,12.4276],[1327622400000,12.5329],[1327708800000,12.55],[1327795200000,12.55],[1327881600000,12.55],[1327968000000,12.5323],[1328054400000,12.6059],[1328140800000,12.6641],[1328227200000,12.6403],[1328313600000,12.6345],[1328400000000,12.6345],[1328486400000,12.6345],[1328572800000,12.5832],[1328659200000,12.6197],[1328745600000,12.7023],[1328832000000,12.6899],[1328918400000,12.6006],[1329004800000,12.6006],[1329091200000,12.6006],[1329177600000,12.6207],[1329264000000,12.5584],[1329350400000,12.5276],[1329436800000,12.5166],[1329523200000,12.6481],[1329609600000,12.6481],[1329696000000,12.6481],[1329782400000,12.6688],[1329868800000,12.6267],[1329955200000,12.5171],[1330041600000,12.5549],[1330128000000,12.6297],[1330214400000,12.6297],[1330300800000,12.6297],[1330387200000,12.654],[1330473600000,12.6728],[1330560000000,12.7225],[1330646400000,12.7343],[1330732800000,12.6789],[1330819200000,12.6789],[1330905600000,12.6789],[1330992000000,12.6522],[1331078400000,12.6198],[1331164800000,12.5519],[1331251200000,12.5519],[1331337600000,12.5519],[1331424000000,12.5519],[1331510400000,12.5519],[1331596800000,12.4843],[1331683200000,12.475],[1331769600000,12.5435],[1331856000000,12.5079],[1331942400000,12.6258],[1332028800000,12.6258],[1332115200000,12.6258],[1332201600000,12.6746],[1332288000000,12.6635],[1332374400000,12.6477],[1332460800000,12.6182],[1332547200000,12.6446],[1332633600000,12.6446],[1332720000000,12.6446],[1332806400000,12.6942],[1332892800000,12.7376],[1332979200000,12.6943],[1333065600000,12.6824],[1333152000000,12.7937],[1333238400000,12.7937],[1333324800000,12.7937],[1333411200000,12.802],[1333497600000,12.7751],[1333584000000,12.6707],[1333670400000,12.6645],[1333756800000,12.6645],[1333843200000,null],[1333929600000,12.6645],[1334016000000,12.6605],[1334102400000,12.6636],[1334188800000,12.6946],[1334275200000,12.7351],[1334361600000,12.7288],[1334448000000,12.7288],[1334534400000,12.7288],[1334620800000,12.7288],[1334707200000,12.7349],[1334793600000,12.7629],[1334880000000,12.7892],[1334966400000,12.8669],[1335052800000,12.8669],[1335139200000,12.8669],[1335225600000,12.8443],[1335312000000,12.8926],[1335398400000,12.8735],[1335484800000,12.9296],[1335571200000,12.9644],[1335657600000,12.9644],[1335744000000,12.9644],[1335830400000,12.9644],[1335916800000,12.9644],[1336003200000,12.9644],[1336089600000,12.9247],[1336176000000,12.9224],[1336262400000,12.9224],[1336348800000,12.9224],[1336435200000,12.9102],[1336521600000,12.9029],[1336608000000,12.9029],[1336694400000,12.9157],[1336780800000,12.8747],[1336867200000,12.8747],[1336953600000,12.8747],[1337040000000,12.8469],[1337126400000,12.8253],[1337212800000,12.734],[1337299200000,12.6551],[1337385600000,12.6411],[1337472000000,12.6411],[1337558400000,12.6411],[1337644800000,12.6182],[1337731200000,12.6188],[1337817600000,12.578],[1337904000000,12.5303],[1337990400000,12.5295],[1338076800000,12.5295],[1338163200000,12.5295],[1338249600000,12.5526],[1338336000000,12.5206],[1338422400000,12.4614],[1338508800000,12.3929],[1338595200000,12.234],[1338681600000,12.234],[1338768000000,12.234],[1338854400000,12.234],[1338940800000,12.2633],[1339027200000,12.3758],[1339113600000,12.4494],[1339200000000,12.3337],[1339286400000,12.3337],[1339372800000,12.3337],[1339459200000,12.4128],[1339545600000,12.4205],[1339632000000,12.2633],[1339718400000,12.3967],[1339804800000,12.3997],[1339891200000,12.3997],[1339977600000,12.3997],[1340064000000,12.5123],[1340150400000,12.5258],[1340236800000,12.5976],[1340323200000,12.5491],[1340409600000,12.4618],[1340496000000,12.4618],[1340582400000,12.4618],[1340668800000,12.432],[1340755200000,12.4695],[1340841600000,12.4679],[1340928000000,12.4679],[1341014400000,12.4679],[1341100800000,12.4679],[1341187200000,12.4679],[1341273600000,12.517],[1341360000000,12.5202],[1341446400000,12.4982],[1341532800000,12.4392],[1341619200000,12.4197],[1341705600000,12.4205],[1341792000000,12.4205],[1341878400000,12.3813],[1341964800000,12.3967],[1342051200000,12.4334],[1342137600000,12.3432],[1342224000000,12.3676],[1342310400000,12.3676],[1342396800000,12.3676],[1342483200000,12.4083],[1342569600000,12.4864],[1342656000000,12.4727],[1342742400000,12.5428],[1342828800000,12.5284],[1342915200000,12.5284],[1343001600000,12.5284],[1343088000000,12.4077],[1343174400000,12.412],[1343260800000,12.3834],[1343347200000,12.5184],[1343433600000,12.5742],[1343520000000,12.5742],[1343606400000,12.5742],[1343692800000,12.5514],[1343779200000,12.5245],[1343865600000,12.4823],[1343952000000,12.485],[1344038400000,12.4293],[1344124800000,12.4293],[1344211200000,12.4293],[1344297600000,12.446],[1344384000000,12.5285],[1344470400000,12.5002],[1344556800000,12.4917],[1344643200000,12.4679],[1344729600000,12.4679],[1344816000000,12.4679],[1344902400000,12.5454],[1344988800000,12.561],[1345075200000,12.538],[1345161600000,12.5514],[1345248000000,12.5593],[1345334400000,12.5593],[1345420800000,12.5593],[1345507200000,12.5488],[1345593600000,12.6006],[1345680000000,12.6289],[1345766400000,12.6821],[1345852800000,12.6821],[1345939200000,12.6821],[1346025600000,12.6821],[1346112000000,12.6385],[1346198400000,12.6206],[1346284800000,12.6638],[1346371200000,12.674],[1346457600000,12.6752],[1346544000000,12.6752],[1346630400000,12.6752],[1346716800000,12.6967],[1346803200000,12.6933],[1346889600000,12.7204],[1346976000000,12.7288],[1347062400000,12.7475],[1347148800000,12.7475],[1347235200000,12.7475],[1347321600000,12.7696],[1347408000000,12.811],[1347494400000,12.8574],[1347580800000,12.8754],[1347667200000,12.9628],[1347753600000,12.9628],[1347840000000,12.9628],[1347926400000,12.9619],[1348012800000,12.9858],[1348099200000,12.9469],[1348185600000,12.9399],[1348272000000,12.9978],[1348358400000,12.9978],[1348444800000,12.9978],[1348531200000,12.9565],[1348617600000,12.9775],[1348704000000,12.9161],[1348790400000,12.9616],[1348876800000,12.9503],[1348963200000,12.9503],[1349049600000,12.9503],[1349136000000,12.8931],[1349222400000,12.909],[1349308800000,12.879],[1349395200000,12.8761],[1349481600000,12.9381],[1349568000000,12.9381],[1349654400000,12.9381],[1349740800000,12.8121],[1349827200000,12.8151],[1349913600000,12.7985],[1350000000000,12.8225],[1350086400000,12.8542],[1350172800000,12.8542],[1350259200000,12.8542],[1350345600000,12.8401],[1350432000000,12.8784],[1350518400000,12.9228],[1350604800000,12.9144],[1350691200000,12.8193],[1350777600000,12.8193],[1350864000000,12.8193],[1350950400000,12.8192],[1351036800000,12.7756],[1351123200000,12.7979],[1351209600000,12.9026],[1351296000000,12.8774],[1351382400000,12.8774],[1351468800000,12.8774],[1351555200000,12.8138],[1351641600000,12.8511],[1351728000000,12.8778],[1351814400000,12.9128],[1351900800000,12.8131],[1351987200000,12.8131],[1352073600000,12.8131],[1352160000000,12.7674],[1352246400000,12.7736],[1352332800000,12.7604],[1352419200000,12.78],[1352505600000,12.7266],[1352592000000,12.7266],[1352678400000,12.7266],[1352764800000,12.6921],[1352851200000,12.6904],[1352937600000,12.6737],[1353024000000,12.6586],[1353110400000,12.695],[1353196800000,12.695],[1353283200000,12.695],[1353369600000,12.7],[1353456000000,12.7238],[1353542400000,12.7349],[1353628800000,12.7589],[1353715200000,12.7369],[1353801600000,12.7369],[1353888000000,12.7369],[1353974400000,12.7935],[1354060800000,12.8199],[1354147200000,12.7701],[1354233600000,12.814],[1354320000000,12.8018],[1354406400000,12.8018],[1354492800000,12.8018],[1354579200000,12.8512],[1354665600000,12.8825],[1354752000000,12.8622],[1354838400000,12.8779],[1354924800000,12.7961],[1355011200000,12.7961],[1355097600000,12.7961],[1355184000000,12.848],[1355270400000,12.8627],[1355356800000,12.9036],[1355443200000,12.9035],[1355529600000,12.8843],[1355616000000,12.8843],[1355702400000,12.8843],[1355788800000,12.9542],[1355875200000,12.9591],[1355961600000,13.0282],[1356048000000,12.9972],[1356134400000,12.9673],[1356220800000,12.9673],[1356307200000,12.9673],[1356393600000,12.9237],[1356480000000,12.9237],[1356566400000,12.9237],[1356652800000,12.9327],[1356739200000,12.8982],[1356825600000,12.8982]], 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: [[1326585600000, 12.443337],[1326585600000, 12.443337],[1329264000000, 12.619371],[1331769600000, 12.630756],[1334448000000, 12.786832],[1337040000000, 12.751421],[1339718400000, 12.399548],[1342310400000, 12.461920],[1344988800000, 12.552491],[1347667200000, 12.861639],[1350259200000, 12.862536],[1352937600000, 12.753895],[1355529600000, 12.892816]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });