$(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: 'Курс LVL, грн'}, 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: 'Курс LVL', data: [[1262736000000,16.2559],[1262822400000,16.1501],[1262908800000,16.1501],[1262995200000,16.1501],[1263081600000,16.1501],[1263168000000,16.1501],[1263254400000,16.3663],[1263340800000,16.3295],[1263427200000,16.4404],[1263513600000,16.3571],[1263600000000,16.2328],[1263686400000,16.2328],[1263772800000,16.2328],[1263859200000,16.2271],[1263945600000,16.1342],[1264032000000,15.9681],[1264118400000,15.8934],[1264204800000,15.984],[1264291200000,15.984],[1264377600000,15.984],[1264464000000,15.999],[1264550400000,15.9203],[1264636800000,15.9076],[1264723200000,15.8138],[1264809600000,15.7632],[1264896000000,15.7632],[1264982400000,15.7632],[1265068800000,15.704],[1265155200000,15.7333],[1265241600000,15.7834],[1265328000000,15.6244],[1265414400000,15.4555],[1265500800000,15.4555],[1265587200000,15.4555],[1265673600000,15.4488],[1265760000000,15.5398],[1265846400000,15.5207],[1265932800000,15.4893],[1266019200000,15.3166],[1266105600000,15.3166],[1266192000000,15.3166],[1266278400000,15.3681],[1266364800000,15.4142],[1266451200000,15.488],[1266537600000,15.3077],[1266624000000,15.246],[1266710400000,15.246],[1266796800000,15.246],[1266883200000,15.3498],[1266969600000,15.294],[1267056000000,15.2602],[1267142400000,15.1949],[1267228800000,15.2883],[1267315200000,15.2883],[1267401600000,15.2883],[1267488000000,15.2376],[1267574400000,15.2518],[1267660800000,15.3545],[1267747200000,15.3897],[1267833600000,15.2964],[1267920000000,15.2964],[1268006400000,15.2964],[1268092800000,15.2964],[1268179200000,15.2794],[1268265600000,15.3447],[1268352000000,15.3938],[1268438400000,15.5065],[1268524800000,15.5065],[1268611200000,15.5065],[1268697600000,15.4495],[1268784000000,15.4676],[1268870400000,15.5013],[1268956800000,15.3865],[1269043200000,15.2345],[1269129600000,15.2345],[1269216000000,15.2345],[1269302400000,15.1347],[1269388800000,15.1783],[1269475200000,14.9508],[1269561600000,14.9741],[1269648000000,14.9603],[1269734400000,14.9603],[1269820800000,14.9603],[1269907200000,15.0788],[1269993600000,15.074],[1270080000000,15.0771],[1270166400000,15.0563],[1270252800000,15.0563],[1270339200000,15.0563],[1270425600000,15.0563],[1270512000000,15.0563],[1270598400000,15.0033],[1270684800000,14.9517],[1270771200000,14.9106],[1270857600000,15.0182],[1270944000000,15.0182],[1271030400000,15.0182],[1271116800000,15.2415],[1271203200000,15.2368],[1271289600000,15.2381],[1271376000000,15.1577],[1271462400000,15.1498],[1271548800000,15.1498],[1271635200000,15.1498],[1271721600000,15.0368],[1271808000000,15.1095],[1271894400000,14.9773],[1271980800000,14.9431],[1272067200000,14.9075],[1272153600000,14.9075],[1272240000000,14.9075],[1272326400000,14.9193],[1272412800000,14.8779],[1272499200000,14.8275],[1272585600000,14.8377],[1272672000000,14.9185],[1272758400000,14.9185],[1272844800000,14.9185],[1272931200000,14.9185],[1273017600000,14.9185],[1273104000000,14.4947],[1273190400000,14.2637],[1273276800000,14.285],[1273363200000,14.285],[1273449600000,14.285],[1273536000000,14.285],[1273622400000,14.2232],[1273708800000,14.1977],[1273795200000,14.1008],[1273881600000,13.9944],[1273968000000,null],[1274054400000,13.9944],[1274140800000,13.8362],[1274227200000,13.9247],[1274313600000,13.7473],[1274400000000,13.819],[1274486400000,14.0013],[1274572800000,14.0013],[1274659200000,14.0013],[1274745600000,14.0013],[1274832000000,13.6943],[1274918400000,13.7749],[1275004800000,13.7197],[1275091200000,13.8622],[1275177600000,13.8622],[1275264000000,13.8622],[1275350400000,13.7566],[1275436800000,13.5809],[1275523200000,13.658],[1275609600000,13.723],[1275696000000,13.4854],[1275782400000,13.4854],[1275868800000,13.4854],[1275955200000,13.3739],[1276041600000,13.3673],[1276128000000,13.4412],[1276214400000,13.4745],[1276300800000,13.5663],[1276387200000,13.5663],[1276473600000,13.5663],[1276560000000,13.7012],[1276646400000,13.71],[1276732800000,13.7349],[1276819200000,13.8243],[1276905600000,13.8335],[1276992000000,13.8335],[1277078400000,13.8335],[1277164800000,13.839],[1277251200000,13.688],[1277337600000,13.7015],[1277424000000,13.6888],[1277510400000,13.721],[1277596800000,13.721],[1277683200000,13.721],[1277769600000,13.721],[1277856000000,13.5979],[1277942400000,13.6763],[1278028800000,13.7457],[1278115200000,13.9863],[1278201600000,13.9863],[1278288000000,13.9863],[1278374400000,13.9737],[1278460800000,14.029],[1278547200000,14.0056],[1278633600000,14.1127],[1278720000000,14.0915],[1278806400000,14.0915],[1278892800000,14.0915],[1278979200000,14.0199],[1279065600000,14.0148],[1279152000000,14.1633],[1279238400000,14.297],[1279324800000,14.4828],[1279411200000,14.4828],[1279497600000,14.4828],[1279584000000,14.4401],[1279670400000,14.3098],[1279756800000,14.2804],[1279843200000,14.3146],[1279929600000,14.3611],[1280016000000,14.3611],[1280102400000,14.3611],[1280188800000,14.4036],[1280275200000,14.5072],[1280361600000,14.4618],[1280448000000,14.5434],[1280534400000,14.5071],[1280620800000,14.5071],[1280707200000,14.5071],[1280793600000,14.5624],[1280880000000,14.7282],[1280966400000,14.7064],[1281052800000,14.6878],[1281139200000,14.6776],[1281225600000,null],[1281312000000,14.6776],[1281398400000,14.7505],[1281484800000,14.6334],[1281571200000,14.499],[1281657600000,14.2452],[1281744000000,14.2472],[1281830400000,14.2472],[1281916800000,14.2472],[1282003200000,14.2782],[1282089600000,14.3212],[1282176000000,14.3455],[1282262400000,14.299],[1282348800000,14.1598],[1282435200000,null],[1282521600000,null],[1282608000000,14.1592],[1282694400000,14.1592],[1282780800000,14.0481],[1282867200000,14.1352],[1282953600000,14.1461],[1283040000000,14.1461],[1283126400000,14.1461],[1283212800000,14.132],[1283299200000,14.0989],[1283385600000,14.2352],[1283472000000,14.2845],[1283558400000,14.3252],[1283644800000,14.3252],[1283731200000,14.3252],[1283817600000,14.3536],[1283904000000,14.2107],[1283990400000,14.1623],[1284076800000,14.1863],[1284163200000,14.1975],[1284249600000,14.1975],[1284336000000,14.1975],[1284422400000,14.2823],[1284508800000,14.3551],[1284595200000,14.5081],[1284681600000,14.6158],[1284768000000,14.5936],[1284854400000,14.5936],[1284940800000,14.5936],[1285027200000,14.601],[1285113600000,14.6482],[1285200000000,14.9164],[1285286400000,14.8692],[1285372800000,14.9515],[1285459200000,14.9515],[1285545600000,14.9515],[1285632000000,15.0296],[1285718400000,15.0064],[1285804800000,15.1876],[1285891200000,15.2179],[1285977600000,15.309],[1286064000000,15.309],[1286150400000,15.309],[1286236800000,15.2856],[1286323200000,15.3692],[1286409600000,15.4562],[1286496000000,15.5855],[1286582400000,15.4762],[1286668800000,15.4762],[1286755200000,15.4762],[1286841600000,15.5476],[1286928000000,15.4305],[1287014400000,15.5612],[1287100800000,15.7184],[1287187200000,15.701],[1287273600000,15.701],[1287360000000,15.701],[1287446400000,15.5019],[1287532800000,15.4454],[1287619200000,15.4563],[1287705600000,15.6226],[1287792000000,15.5337],[1287878400000,15.5337],[1287964800000,15.5337],[1288051200000,15.6459],[1288137600000,15.5088],[1288224000000,15.396],[1288310400000,15.4453],[1288396800000,15.4463],[1288483200000,15.4463],[1288569600000,15.4463],[1288656000000,15.5364],[1288742400000,15.641],[1288828800000,15.6385],[1288915200000,15.8956],[1289001600000,15.7067],[1289088000000,15.7067],[1289174400000,15.7067],[1289260800000,15.5332],[1289347200000,15.5548],[1289433600000,15.3561],[1289520000000,15.2987],[1289606400000,15.3305],[1289692800000,15.3305],[1289779200000,15.3305],[1289865600000,15.2413],[1289952000000,15.2314],[1290038400000,15.0822],[1290124800000,15.2722],[1290211200000,15.3024],[1290297600000,15.3024],[1290384000000,15.3024],[1290470400000,15.2722],[1290556800000,15.0968],[1290643200000,14.9273],[1290729600000,14.9093],[1290816000000,14.7943],[1290902400000,14.7943],[1290988800000,14.7943],[1291075200000,14.7059],[1291161600000,14.5465],[1291248000000,14.6691],[1291334400000,14.7176],[1291420800000,14.8231],[1291507200000,14.8231],[1291593600000,14.8231],[1291680000000,14.8905],[1291766400000,14.9708],[1291852800000,14.7891],[1291939200000,14.8048],[1292025600000,14.8416],[1292112000000,14.8416],[1292198400000,14.8416],[1292284800000,14.8716],[1292371200000,15.0746],[1292457600000,14.9904],[1292544000000,14.8522],[1292630400000,14.8769],[1292716800000,14.8769],[1292803200000,14.8769],[1292889600000,14.7584],[1292976000000,14.7695],[1293062400000,14.7108],[1293148800000,14.6652],[1293235200000,14.7008],[1293321600000,14.7008],[1293408000000,14.7008],[1293494400000,14.7458],[1293580800000,14.7995],[1293667200000,14.7326]], 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, 16.097683],[1263513600000, 16.097683],[1266192000000, 15.425529],[1268611200000, 15.258863],[1271289600000, 15.028452],[1273881600000, 14.170302],[1276560000000, 13.646691],[1279152000000, 14.211969],[1281830400000, 14.371409],[1284508800000, 14.525152],[1287100800000, 15.488605],[1289779200000, 15.301366],[1292371200000, 14.805877]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });