$(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: [[1262736000000,5.72532],[1262822400000,5.72094],[1262908800000,5.72094],[1262995200000,5.72094],[1263081600000,5.72094],[1263168000000,5.72094],[1263254400000,5.75738],[1263340800000,5.75298],[1263427200000,5.76784],[1263513600000,5.76788],[1263600000000,5.75507],[1263686400000,5.75507],[1263772800000,5.75507],[1263859200000,5.75854],[1263945600000,5.75263],[1264032000000,5.72452],[1264118400000,5.71116],[1264204800000,5.70587],[1264291200000,5.70587],[1264377600000,5.70587],[1264464000000,5.7204],[1264550400000,5.70008],[1264636800000,5.69859],[1264723200000,5.70804],[1264809600000,5.69708],[1264896000000,5.69708],[1264982400000,5.69708],[1265068800000,5.66383],[1265155200000,5.67698],[1265241600000,5.67877],[1265328000000,5.65355],[1265414400000,5.62431],[1265500800000,5.62431],[1265587200000,5.62431],[1265673600000,5.62988],[1265760000000,5.6485],[1265846400000,5.64889],[1265932800000,5.6707],[1266019200000,5.65736],[1266105600000,5.65736],[1266192000000,5.65736],[1266278400000,5.67012],[1266364800000,5.68731],[1266451200000,5.70188],[1266537600000,5.68171],[1266624000000,5.65359],[1266710400000,5.65359],[1266796800000,5.65359],[1266883200000,5.67416],[1266969600000,5.67217],[1267056000000,5.66734],[1267142400000,5.66383],[1267228800000,5.67964],[1267315200000,5.67964],[1267401600000,5.67964],[1267488000000,5.67985],[1267574400000,5.68923],[1267660800000,5.70089],[1267747200000,5.71082],[1267833600000,5.70596],[1267920000000,5.70596],[1268006400000,5.70596],[1268092800000,5.70596],[1268179200000,5.69979],[1268265600000,5.70711],[1268352000000,5.70769],[1268438400000,5.72621],[1268524800000,5.72621],[1268611200000,5.72621],[1268697600000,5.70984],[1268784000000,5.71466],[1268870400000,5.72491],[1268956800000,5.72228],[1269043200000,5.70426],[1269129600000,5.70426],[1269216000000,5.70426],[1269302400000,5.66262],[1269388800000,5.67223],[1269475200000,5.64795],[1269561600000,5.64489],[1269648000000,5.64562],[1269734400000,5.64562],[1269820800000,5.64562],[1269907200000,5.66504],[1269993600000,5.66425],[1270080000000,5.66329],[1270166400000,5.66949],[1270252800000,5.66949],[1270339200000,5.66949],[1270425600000,5.66949],[1270512000000,5.66949],[1270598400000,5.67081],[1270684800000,5.67747],[1270771200000,5.67793],[1270857600000,5.6954],[1270944000000,5.6954],[1271030400000,5.6954],[1271116800000,5.69804],[1271203200000,5.69163],[1271289600000,5.76047],[1271376000000,5.76762],[1271462400000,5.77745],[1271548800000,5.77745],[1271635200000,5.77745],[1271721600000,5.73788],[1271808000000,5.76166],[1271894400000,5.77123],[1271980800000,5.7737],[1272067200000,5.77767],[1272153600000,5.77767],[1272240000000,5.77767],[1272326400000,5.79493],[1272412800000,5.78606],[1272499200000,5.76869],[1272585600000,5.79034],[1272672000000,5.79312],[1272758400000,5.79312],[1272844800000,5.79312],[1272931200000,5.79312],[1273017600000,5.79312],[1273104000000,5.72131],[1273190400000,5.69421],[1273276800000,5.68282],[1273363200000,5.68282],[1273449600000,5.68282],[1273536000000,5.68282],[1273622400000,5.71608],[1273708800000,5.74396],[1273795200000,5.74045],[1273881600000,5.73209],[1273968000000,null],[1274054400000,5.73209],[1274140800000,5.70312],[1274227200000,5.71795],[1274313600000,5.67476],[1274400000000,5.62169],[1274486400000,5.62756],[1274572800000,5.62756],[1274659200000,5.62756],[1274745600000,5.62756],[1274832000000,5.58509],[1274918400000,5.63601],[1275004800000,5.6404],[1275091200000,5.66916],[1275177600000,5.66916],[1275264000000,5.66916],[1275350400000,5.66236],[1275436800000,5.60284],[1275523200000,5.62014],[1275609600000,5.64522],[1275696000000,5.62112],[1275782400000,5.62112],[1275868800000,5.62112],[1275955200000,5.59028],[1276041600000,5.59209],[1276128000000,5.60478],[1276214400000,5.612],[1276300800000,5.64709],[1276387200000,5.64709],[1276473600000,5.64709],[1276560000000,5.67123],[1276646400000,5.66992],[1276732800000,5.6675],[1276819200000,5.68562],[1276905600000,5.70099],[1276992000000,5.70099],[1277078400000,5.70099],[1277164800000,5.75108],[1277251200000,5.72238],[1277337600000,5.68807],[1277424000000,5.67629],[1277510400000,5.68069],[1277596800000,5.68069],[1277683200000,5.68069],[1277769600000,5.68069],[1277856000000,5.64858],[1277942400000,5.65303],[1278028800000,5.66029],[1278115200000,5.67725],[1278201600000,5.67725],[1278288000000,5.67725],[1278374400000,5.6754],[1278460800000,5.69171],[1278547200000,5.68477],[1278633600000,5.72222],[1278720000000,5.72413],[1278806400000,5.72413],[1278892800000,5.72413],[1278979200000,5.71686],[1279065600000,5.72235],[1279152000000,5.74295],[1279238400000,5.75044],[1279324800000,5.73953],[1279411200000,5.73953],[1279497600000,5.73953],[1279584000000,5.73043],[1279670400000,5.73766],[1279756800000,5.74883],[1279843200000,5.75002],[1279929600000,5.75923],[1280016000000,5.75923],[1280102400000,5.75923],[1280188800000,5.78102],[1280275200000,5.80255],[1280361600000,5.78063],[1280448000000,5.79529],[1280534400000,5.79857],[1280620800000,5.79857],[1280707200000,5.79857],[1280793600000,5.82776],[1280880000000,5.84149],[1280966400000,5.83482],[1281052800000,5.83508],[1281139200000,5.83954],[1281225600000,null],[1281312000000,5.83954],[1281398400000,5.85674],[1281484800000,5.81935],[1281571200000,5.80172],[1281657600000,5.78929],[1281744000000,5.79203],[1281830400000,5.79203],[1281916800000,5.79203],[1282003200000,5.79256],[1282089600000,5.82331],[1282176000000,5.85084],[1282262400000,5.83981],[1282348800000,5.80604],[1282435200000,null],[1282521600000,null],[1282608000000,5.80582],[1282694400000,5.80582],[1282780800000,5.79629],[1282867200000,5.81477],[1282953600000,5.81092],[1283040000000,5.81092],[1283126400000,5.81092],[1283212800000,5.82626],[1283299200000,5.81652],[1283385600000,5.84257],[1283472000000,5.86456],[1283558400000,5.87621],[1283644800000,5.87621],[1283731200000,5.87621],[1283817600000,5.87819],[1283904000000,5.86659],[1283990400000,5.88055],[1284076800000,5.89407],[1284163200000,5.90078],[1284249600000,5.90078],[1284336000000,5.90078],[1284422400000,5.90692],[1284508800000,5.91735],[1284595200000,5.92014],[1284681600000,5.92694],[1284768000000,5.92964],[1284854400000,5.92964],[1284940800000,5.92964],[1285027200000,5.93872],[1285113600000,5.94563],[1285200000000,5.97348],[1285286400000,5.95727],[1285372800000,5.9737],[1285459200000,5.9737],[1285545600000,5.9737],[1285632000000,5.98957],[1285718400000,5.99143],[1285804800000,6.01265],[1285891200000,6.01693],[1285977600000,6.02638],[1286064000000,6.02638],[1286150400000,6.02638],[1286236800000,6.02084],[1286323200000,6.02767],[1286409600000,6.03688],[1286496000000,6.05619],[1286582400000,6.03044],[1286668800000,6.03044],[1286755200000,6.03044],[1286841600000,6.05772],[1286928000000,6.05086],[1287014400000,6.07262],[1287100800000,6.11146],[1287187200000,6.10776],[1287273600000,6.10776],[1287360000000,6.10776],[1287446400000,6.07703],[1287532800000,6.04915],[1287619200000,6.05336],[1287705600000,6.09548],[1287792000000,6.07835],[1287878400000,6.07835],[1287964800000,6.07835],[1288051200000,6.12625],[1288137600000,6.09684],[1288224000000,6.07566],[1288310400000,6.09264],[1288396800000,6.101],[1288483200000,6.101],[1288569600000,6.101],[1288656000000,6.12941],[1288742400000,6.14744],[1288828800000,6.14919],[1288915200000,6.17128],[1289001600000,6.15656],[1289088000000,6.15656],[1289174400000,6.15656],[1289260800000,6.14757],[1289347200000,6.16111],[1289433600000,6.14053],[1289520000000,6.14947],[1289606400000,6.12668],[1289692800000,6.12668],[1289779200000,6.12668],[1289865600000,6.0886],[1289952000000,6.10908],[1290038400000,6.0769],[1290124800000,6.1298],[1290211200000,6.117],[1290297600000,6.117],[1290384000000,6.117],[1290470400000,6.11354],[1290556800000,6.04794],[1290643200000,6.05941],[1290729600000,6.0679],[1290816000000,6.01433],[1290902400000,6.01433],[1290988800000,6.01433],[1291075200000,6.01458],[1291161600000,5.99211],[1291248000000,6.06118],[1291334400000,6.05581],[1291420800000,6.07564],[1291507200000,6.07564],[1291593600000,6.07564],[1291680000000,6.09356],[1291766400000,6.10529],[1291852800000,6.03626],[1291939200000,6.05729],[1292025600000,6.08181],[1292112000000,6.08181],[1292198400000,6.08181],[1292284800000,6.08043],[1292371200000,6.12844],[1292457600000,6.07856],[1292544000000,6.05658],[1292630400000,6.05933],[1292716800000,6.05933],[1292803200000,6.05933],[1292889600000,6.04656],[1292976000000,6.06354],[1293062400000,6.08209],[1293148800000,6.09498],[1293235200000,6.12556],[1293321600000,6.12556],[1293408000000,6.12556],[1293494400000,6.1174],[1293580800000,6.14632],[1293667200000,6.13527]], 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, 5.727963],[1263513600000, 5.727963],[1266192000000, 5.662563],[1268611200000, 5.692122],[1271289600000, 5.729694],[1273881600000, 5.695794],[1276560000000, 5.658024],[1279152000000, 5.730498],[1281830400000, 5.816174],[1284508800000, 5.918803],[1287100800000, 6.066076],[1289779200000, 6.108282],[1292371200000, 6.084849]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });