$(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: 'Курс SGD, грн'}, 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: 'Курс SGD', data: [[1326758400000,6.22613],[1326844800000,null],[1326931200000,null],[1327017600000,6.27128],[1327104000000,6.26158],[1327190400000,6.26158],[1327276800000,6.26158],[1327363200000,6.31164],[1327449600000,6.28616],[1327536000000,6.2871],[1327622400000,6.36097],[1327708800000,6.37092],[1327795200000,6.37092],[1327881600000,6.37092],[1327968000000,6.33934],[1328054400000,6.38517],[1328140800000,6.3812],[1328227200000,6.40291],[1328313600000,6.41086],[1328400000000,6.41086],[1328486400000,6.41086],[1328572800000,6.39156],[1328659200000,6.40006],[1328745600000,6.42036],[1328832000000,6.41587],[1328918400000,6.33476],[1329004800000,6.33476],[1329091200000,6.33476],[1329177600000,6.36921],[1329264000000,6.31804],[1329350400000,6.3332],[1329436800000,6.28675],[1329523200000,6.355],[1329609600000,6.355],[1329696000000,6.355],[1329782400000,6.38134],[1329868800000,6.35703],[1329955200000,6.34803],[1330041600000,6.35824],[1330128000000,6.36061],[1330214400000,6.36061],[1330300800000,6.36061],[1330387200000,6.33861],[1330473600000,6.37855],[1330560000000,6.41906],[1330646400000,6.39128],[1330732800000,6.38818],[1330819200000,6.38818],[1330905600000,6.38818],[1330992000000,6.35846],[1331078400000,6.32776],[1331164800000,6.33056],[1331251200000,6.33056],[1331337600000,6.33056],[1331424000000,6.33056],[1331510400000,6.33056],[1331596800000,6.33003],[1331683200000,6.3257],[1331769600000,6.30285],[1331856000000,6.3138],[1331942400000,6.33621],[1332028800000,6.33621],[1332115200000,6.33621],[1332201600000,6.34496],[1332288000000,6.32114],[1332374400000,6.32042],[1332460800000,6.30382],[1332547200000,6.31399],[1332633600000,6.31399],[1332720000000,6.31399],[1332806400000,6.33573],[1332892800000,6.3589],[1332979200000,6.35435],[1333065600000,6.34537],[1333152000000,6.35984],[1333238400000,6.35984],[1333324800000,6.35984],[1333411200000,6.36651],[1333497600000,6.37873],[1333584000000,6.34302],[1333670400000,6.33531],[1333756800000,6.33531],[1333843200000,null],[1333929600000,6.33531],[1334016000000,6.33333],[1334102400000,6.3341],[1334188800000,6.34653],[1334275200000,6.36256],[1334361600000,6.40867],[1334448000000,6.40867],[1334534400000,6.40867],[1334620800000,6.40867],[1334707200000,6.38917],[1334793600000,6.38225],[1334880000000,6.37901],[1334966400000,6.3936],[1335052800000,6.3936],[1335139200000,6.3936],[1335225600000,6.39123],[1335312000000,6.40349],[1335398400000,6.4164],[1335484800000,6.4329],[1335571200000,6.4466],[1335657600000,6.4466],[1335744000000,6.4466],[1335830400000,6.4466],[1335916800000,6.4466],[1336003200000,6.4466],[1336089600000,6.42984],[1336176000000,6.43465],[1336262400000,6.43465],[1336348800000,6.43465],[1336435200000,6.40127],[1336521600000,6.40972],[1336608000000,6.40972],[1336694400000,6.39289],[1336780800000,6.38647],[1336867200000,6.38647],[1336953600000,6.38647],[1337040000000,6.35593],[1337126400000,6.36257],[1337212800000,6.30743],[1337299200000,6.30157],[1337385600000,6.27724],[1337472000000,6.27724],[1337558400000,6.27724],[1337644800000,6.28069],[1337731200000,6.29422],[1337817600000,6.25747],[1337904000000,6.26635],[1337990400000,6.25188],[1338076800000,6.25188],[1338163200000,6.25188],[1338249600000,6.26224],[1338336000000,6.25524],[1338422400000,6.23343],[1338508800000,6.21277],[1338595200000,6.17646],[1338681600000,6.17646],[1338768000000,6.17646],[1338854400000,6.17646],[1338940800000,6.20402],[1339027200000,6.25228],[1339113600000,6.28178],[1339200000000,6.21146],[1339286400000,6.21146],[1339372800000,6.21146],[1339459200000,6.24232],[1339545600000,6.22225],[1339632000000,6.20402],[1339718400000,6.2299],[1339804800000,6.27758],[1339891200000,6.27758],[1339977600000,6.27758],[1340064000000,6.28541],[1340150400000,6.31108],[1340236800000,6.30467],[1340323200000,6.28897],[1340409600000,6.2601],[1340496000000,6.2601],[1340582400000,6.2601],[1340668800000,6.22919],[1340755200000,6.23828],[1340841600000,6.25583],[1340928000000,6.25583],[1341014400000,6.25583],[1341100800000,6.25583],[1341187200000,6.25583],[1341273600000,6.30676],[1341360000000,6.32708],[1341446400000,6.32312],[1341532800000,6.3278],[1341619200000,6.30204],[1341705600000,6.30244],[1341792000000,6.30244],[1341878400000,6.2861],[1341964800000,6.30662],[1342051200000,6.32261],[1342137600000,6.28519],[1342224000000,6.30019],[1342310400000,6.30019],[1342396800000,6.30019],[1342483200000,6.30953],[1342569600000,6.33508],[1342656000000,6.34317],[1342742400000,6.37603],[1342828800000,6.3602],[1342915200000,6.3602],[1343001600000,6.3602],[1343088000000,6.33879],[1343174400000,6.34704],[1343260800000,6.35439],[1343347200000,6.38981],[1343433600000,6.38994],[1343520000000,6.38994],[1343606400000,6.38994],[1343692800000,6.41094],[1343779200000,6.42663],[1343865600000,6.41841],[1343952000000,6.42207],[1344038400000,6.41588],[1344124800000,6.41588],[1344211200000,6.41588],[1344297600000,6.43756],[1344384000000,6.44498],[1344470400000,6.41312],[1344556800000,6.41537],[1344643200000,6.40757],[1344729600000,6.40757],[1344816000000,6.40757],[1344902400000,6.42261],[1344988800000,6.41434],[1345075200000,6.3919],[1345161600000,6.38972],[1345248000000,6.38168],[1345334400000,6.38168],[1345420800000,6.38168],[1345507200000,6.37078],[1345593600000,6.39399],[1345680000000,6.38537],[1345766400000,6.41443],[1345852800000,6.41443],[1345939200000,6.41443],[1346025600000,6.41443],[1346112000000,6.39012],[1346198400000,6.3826],[1346284800000,6.37539],[1346371200000,6.37975],[1346457600000,6.40161],[1346544000000,6.40161],[1346630400000,6.40161],[1346716800000,6.40582],[1346803200000,6.41347],[1346889600000,6.40275],[1346976000000,6.41654],[1347062400000,6.4527],[1347148800000,6.4527],[1347235200000,6.4527],[1347321600000,6.46566],[1347408000000,6.49136],[1347494400000,6.50579],[1347580800000,6.50095],[1347667200000,6.55283],[1347753600000,6.55283],[1347840000000,6.55283],[1347926400000,6.52911],[1348012800000,6.51681],[1348099200000,6.52754],[1348185600000,6.52106],[1348272000000,6.532],[1348358400000,6.532],[1348444800000,6.532],[1348531200000,6.50479],[1348617600000,6.51737],[1348704000000,6.48006],[1348790400000,6.50784],[1348876800000,6.5213],[1348963200000,6.5213],[1349049600000,6.5213],[1349136000000,6.50318],[1349222400000,6.50611],[1349308800000,6.48853],[1349395200000,6.50643],[1349481600000,6.51527],[1349568000000,6.51527],[1349654400000,6.51527],[1349740800000,6.49322],[1349827200000,6.50621],[1349913600000,6.50678],[1350000000000,6.51154],[1350086400000,6.54725],[1350172800000,6.54725],[1350259200000,6.54725],[1350345600000,6.5461],[1350432000000,6.54675],[1350518400000,6.57316],[1350604800000,6.56475],[1350691200000,6.54699],[1350777600000,6.54699],[1350864000000,6.54699],[1350950400000,6.54132],[1351036800000,6.52577],[1351123200000,6.53394],[1351209600000,6.55431],[1351296000000,6.54074],[1351382400000,6.54074],[1351468800000,6.54074],[1351555200000,6.54397],[1351641600000,6.55398],[1351728000000,6.551],[1351814400000,6.55143],[1351900800000,6.53913],[1351987200000,6.53913],[1352073600000,6.53913],[1352160000000,6.52191],[1352246400000,6.53281],[1352332800000,6.53656],[1352419200000,6.5285],[1352505600000,6.51951],[1352592000000,6.51951],[1352678400000,6.51951],[1352764800000,6.53679],[1352851200000,6.53061],[1352937600000,6.54183],[1353024000000,6.52661],[1353110400000,6.51431],[1353196800000,6.51431],[1353283200000,6.51431],[1353369600000,6.5255],[1353456000000,6.52824],[1353542400000,6.52287],[1353628800000,6.52445],[1353715200000,6.52966],[1353801600000,6.52966],[1353888000000,6.52966],[1353974400000,6.53721],[1354060800000,6.54354],[1354147200000,6.53171],[1354233600000,6.54985],[1354320000000,6.545],[1354406400000,6.545],[1354492800000,6.545],[1354579200000,6.55927],[1354665600000,6.56448],[1354752000000,6.55917],[1354838400000,6.55651],[1354924800000,6.54628],[1355011200000,6.54628],[1355097600000,6.54628],[1355184000000,6.54318],[1355270400000,6.54481],[1355356800000,6.54456],[1355443200000,6.54833],[1355529600000,6.54296],[1355616000000,6.54296],[1355702400000,6.54296],[1355788800000,6.54887],[1355875200000,6.5615],[1355961600000,6.55828],[1356048000000,6.55656],[1356134400000,6.54716],[1356220800000,6.54716],[1356307200000,6.54716],[1356393600000,6.5504],[1356480000000,6.5504],[1356566400000,6.5504],[1356652800000,6.54053],[1356739200000,6.53509],[1356825600000,6.53509]], 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, 6.306164],[1326585600000, 6.306164],[1329264000000, 6.367235],[1331769600000, 6.341335],[1334448000000, 6.384142],[1337040000000, 6.342293],[1339718400000, 6.240923],[1342310400000, 6.330956],[1344988800000, 6.404768],[1347667200000, 6.485564],[1350259200000, 6.531551],[1352937600000, 6.530974],[1355529600000, 6.547958]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });