$(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: 'Курс DKK, грн'}, 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: 'Курс DKK', data: [[1262736000000,1.54968],[1262822400000,1.53997],[1262908800000,1.53997],[1262995200000,1.53997],[1263081600000,1.53997],[1263168000000,1.53997],[1263254400000,1.56007],[1263340800000,1.55668],[1263427200000,1.56659],[1263513600000,1.55804],[1263600000000,1.54541],[1263686400000,1.54541],[1263772800000,1.54541],[1263859200000,1.54491],[1263945600000,1.536],[1264032000000,1.52016],[1264118400000,1.51362],[1264204800000,1.52034],[1264291200000,1.52034],[1264377600000,1.52034],[1264464000000,1.52211],[1264550400000,1.51441],[1264636800000,1.51256],[1264723200000,1.50454],[1264809600000,1.50066],[1264896000000,1.50066],[1264982400000,1.50066],[1265068800000,1.49481],[1265155200000,1.49759],[1265241600000,1.50287],[1265328000000,1.48823],[1265414400000,1.47125],[1265500800000,1.47125],[1265587200000,1.47125],[1265673600000,1.47096],[1265760000000,1.48033],[1265846400000,1.47829],[1265932800000,1.47587],[1266019200000,1.45893],[1266105600000,1.45893],[1266192000000,1.45893],[1266278400000,1.46276],[1266364800000,1.46748],[1266451200000,1.47566],[1266537600000,1.45813],[1266624000000,1.45273],[1266710400000,1.45273],[1266796800000,1.45273],[1266883200000,1.46268],[1266969600000,1.4574],[1267056000000,1.45432],[1267142400000,1.44809],[1267228800000,1.45677],[1267315200000,1.45677],[1267401600000,1.45677],[1267488000000,1.45196],[1267574400000,1.45359],[1267660800000,1.46345],[1267747200000,1.46632],[1267833600000,1.45706],[1267920000000,1.45706],[1268006400000,1.45706],[1268092800000,1.45706],[1268179200000,1.45449],[1268265600000,1.46],[1268352000000,1.46472],[1268438400000,1.4758],[1268524800000,1.4758],[1268611200000,1.4758],[1268697600000,1.46909],[1268784000000,1.47115],[1268870400000,1.47458],[1268956800000,1.46427],[1269043200000,1.44935],[1269129600000,1.44935],[1269216000000,1.44935],[1269302400000,1.44016],[1269388800000,1.44449],[1269475200000,1.42246],[1269561600000,1.42342],[1269648000000,1.4229],[1269734400000,1.4229],[1269820800000,1.4229],[1269907200000,1.43455],[1269993600000,1.43533],[1270080000000,1.43486],[1270166400000,1.43367],[1270252800000,1.43367],[1270339200000,1.43367],[1270425600000,1.43367],[1270512000000,1.43367],[1270598400000,1.42614],[1270684800000,1.42015],[1270771200000,1.41578],[1270857600000,1.42534],[1270944000000,1.42534],[1271030400000,1.42534],[1271116800000,1.44675],[1271203200000,1.4464],[1271289600000,1.44989],[1271376000000,1.44229],[1271462400000,1.44141],[1271548800000,1.44141],[1271635200000,1.44141],[1271721600000,1.4304],[1271808000000,1.43618],[1271894400000,1.42425],[1271980800000,1.42062],[1272067200000,1.4176],[1272153600000,1.4176],[1272240000000,1.4176],[1272326400000,1.41875],[1272412800000,1.41538],[1272499200000,1.41057],[1272585600000,1.41178],[1272672000000,1.41798],[1272758400000,1.41798],[1272844800000,1.41798],[1272931200000,1.41798],[1273017600000,1.41798],[1273104000000,1.37631],[1273190400000,1.35527],[1273276800000,1.3572],[1273363200000,1.3572],[1273449600000,1.3572],[1273536000000,1.3572],[1273622400000,1.35227],[1273708800000,1.35112],[1273795200000,1.34112],[1273881600000,1.33095],[1273968000000,null],[1274054400000,1.33095],[1274140800000,1.31546],[1274227200000,1.3239],[1274313600000,1.307],[1274400000000,1.31353],[1274486400000,1.33079],[1274572800000,1.33079],[1274659200000,1.33079],[1274745600000,1.33079],[1274832000000,1.30199],[1274918400000,1.31115],[1275004800000,1.30547],[1275091200000,1.31895],[1275177600000,1.31895],[1275264000000,1.31895],[1275350400000,1.31103],[1275436800000,1.29487],[1275523200000,1.30149],[1275609600000,1.30659],[1275696000000,1.28405],[1275782400000,1.28405],[1275868800000,1.28405],[1275955200000,1.27361],[1276041600000,1.27146],[1276128000000,1.27838],[1276214400000,1.28188],[1276300800000,1.29041],[1276387200000,1.29041],[1276473600000,1.29041],[1276560000000,1.30352],[1276646400000,1.30433],[1276732800000,1.30605],[1276819200000,1.31503],[1276905600000,1.31571],[1276992000000,1.31571],[1277078400000,1.31571],[1277164800000,1.31746],[1277251200000,1.30297],[1277337600000,1.30392],[1277424000000,1.30309],[1277510400000,1.30604],[1277596800000,1.30604],[1277683200000,1.30604],[1277769600000,1.30604],[1277856000000,1.29487],[1277942400000,1.3023],[1278028800000,1.30893],[1278115200000,1.33241],[1278201600000,1.33241],[1278288000000,1.33241],[1278374400000,1.33017],[1278460800000,1.33469],[1278547200000,1.33325],[1278633600000,1.34268],[1278720000000,1.33972],[1278806400000,1.33972],[1278892800000,1.33972],[1278979200000,1.33275],[1279065600000,1.33221],[1279152000000,1.34728],[1279238400000,1.36037],[1279324800000,1.37827],[1279411200000,1.37827],[1279497600000,1.37827],[1279584000000,1.37331],[1279670400000,1.36127],[1279756800000,1.35831],[1279843200000,1.36175],[1279929600000,1.36654],[1280016000000,1.36654],[1280102400000,1.36654],[1280188800000,1.3699],[1280275200000,1.38045],[1280361600000,1.37612],[1280448000000,1.38463],[1280534400000,1.38003],[1280620800000,1.38003],[1280707200000,1.38003],[1280793600000,1.38477],[1280880000000,1.40045],[1280966400000,1.39855],[1281052800000,1.39618],[1281139200000,1.39517],[1281225600000,null],[1281312000000,1.39517],[1281398400000,1.4034],[1281484800000,1.39085],[1281571200000,1.3784],[1281657600000,1.35441],[1281744000000,1.35542],[1281830400000,1.35542],[1281916800000,1.35542],[1282003200000,1.35791],[1282089600000,1.3621],[1282176000000,1.36413],[1282262400000,1.35935],[1282348800000,1.34611],[1282435200000,null],[1282521600000,null],[1282608000000,1.34606],[1282694400000,1.34606],[1282780800000,1.33624],[1282867200000,1.34482],[1282953600000,1.34621],[1283040000000,1.34621],[1283126400000,1.34621],[1283212800000,1.34492],[1283299200000,1.34326],[1283385600000,1.35591],[1283472000000,1.35981],[1283558400000,1.36327],[1283644800000,1.36327],[1283731200000,1.36327],[1283817600000,1.36733],[1283904000000,1.35371],[1283990400000,1.34857],[1284076800000,1.35041],[1284163200000,1.35163],[1284249600000,1.35163],[1284336000000,1.35163],[1284422400000,1.35945],[1284508800000,1.36647],[1284595200000,1.38143],[1284681600000,1.39086],[1284768000000,1.38885],[1284854400000,1.38885],[1284940800000,1.38885],[1285027200000,1.39023],[1285113600000,1.39484],[1285200000000,1.42058],[1285286400000,1.41575],[1285372800000,1.42381],[1285459200000,1.42381],[1285545600000,1.42381],[1285632000000,1.43149],[1285718400000,1.42945],[1285804800000,1.44545],[1285891200000,1.4487],[1285977600000,1.45688],[1286064000000,1.45688],[1286150400000,1.45688],[1286236800000,1.4543],[1286323200000,1.4621],[1286409600000,1.47021],[1286496000000,1.48202],[1286582400000,1.47182],[1286668800000,1.47182],[1286755200000,1.47182],[1286841600000,1.4781],[1286928000000,1.46733],[1287014400000,1.48067],[1287100800000,1.49551],[1287187200000,1.49442],[1287273600000,1.49442],[1287360000000,1.49442],[1287446400000,1.47422],[1287532800000,1.47031],[1287619200000,1.47038],[1287705600000,1.48677],[1287792000000,1.47824],[1287878400000,1.47824],[1287964800000,1.47824],[1288051200000,1.48846],[1288137600000,1.47587],[1288224000000,1.46415],[1288310400000,1.4699],[1288396800000,1.47022],[1288483200000,1.47022],[1288569600000,1.47022],[1288656000000,1.47866],[1288742400000,1.48871],[1288828800000,1.4887],[1288915200000,1.51329],[1289001600000,1.49553],[1289088000000,1.49553],[1289174400000,1.49553],[1289260800000,1.47819],[1289347200000,1.47986],[1289433600000,1.46136],[1289520000000,1.45582],[1289606400000,1.45856],[1289692800000,1.45856],[1289779200000,1.45856],[1289865600000,1.45009],[1289952000000,1.44903],[1290038400000,1.43539],[1290124800000,1.45308],[1290211200000,1.45586],[1290297600000,1.45586],[1290384000000,1.45586],[1290470400000,1.45285],[1290556800000,1.43693],[1290643200000,1.42048],[1290729600000,1.41838],[1290816000000,1.40837],[1290902400000,1.40837],[1290988800000,1.40837],[1291075200000,1.3999],[1291161600000,1.3844],[1291248000000,1.39688],[1291334400000,1.40163],[1291420800000,1.41153],[1291507200000,1.41153],[1291593600000,1.41153],[1291680000000,1.41822],[1291766400000,1.42583],[1291852800000,1.40799],[1291939200000,1.40929],[1292025600000,1.41293],[1292112000000,1.41293],[1292198400000,1.41293],[1292284800000,1.41544],[1292371200000,1.43534],[1292457600000,1.42771],[1292544000000,1.41499],[1292630400000,1.41743],[1292716800000,1.41743],[1292803200000,1.41743],[1292889600000,1.40534],[1292976000000,1.40604],[1293062400000,1.40118],[1293148800000,1.39588],[1293235200000,1.39933],[1293321600000,1.39933],[1293408000000,1.39933],[1293494400000,1.40312],[1293580800000,1.40919],[1293667200000,1.40293]], 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, 1.532993],[1263513600000, 1.532993],[1266192000000, 1.469229],[1268611200000, 1.452362],[1271289600000, 1.429053],[1273881600000, 1.347174],[1276560000000, 1.298841],[1279152000000, 1.352298],[1281830400000, 1.366786],[1284508800000, 1.382922],[1287100800000, 1.473663],[1289779200000, 1.456196],[1292371200000, 1.409787]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });