$(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: [[1104883200000,0.798537],[1104969600000,0.943007],[1105056000000,0.939998],[1105142400000,null],[1105228800000,0.939998],[1105315200000,null],[1105401600000,0.93422],[1105488000000,0.937148],[1105574400000,0.936762],[1105660800000,0.943387],[1105747200000,0.933375],[1105833600000,0.933375],[1105920000000,0.933375],[1106006400000,0.932822],[1106092800000,0.931084],[1106179200000,0.922036],[1106265600000,0.922036],[1106352000000,0.92396],[1106438400000,0.92396],[1106524800000,0.92396],[1106611200000,null],[1106697600000,0.928287],[1106784000000,0.926812],[1106870400000,0.928328],[1106956800000,0.929015],[1107043200000,0.929015],[1107129600000,0.929005],[1107216000000,0.929005],[1107302400000,0.928544],[1107388800000,0.930537],[1107475200000,0.925901],[1107561600000,0.922823],[1107648000000,0.922823],[1107734400000,0.922823],[1107820800000,0.914594],[1107907200000,0.90911],[1107993600000,0.908867],[1108080000000,0.909906],[1108166400000,0.915384],[1108252800000,0.915384],[1108339200000,0.915384],[1108425600000,0.923136],[1108512000000,0.926562],[1108598400000,0.928405],[1108684800000,0.928389],[1108771200000,0.928247],[1108857600000,0.928247],[1108944000000,0.928247],[1109030400000,0.929336],[1109116800000,0.93926],[1109203200000,0.940174],[1109289600000,0.944254],[1109376000000,0.937426],[1109462400000,0.937426],[1109548800000,0.937426],[1109635200000,0.943824],[1109721600000,0.940996],[1109808000000,0.93261],[1109894400000,0.935633],[1109980800000,0.933438],[1110067200000,0.933438],[1110153600000,0.933438],[1110240000000,0.933438],[1110326400000,0.933438],[1110412800000,0.949483],[1110499200000,0.953932],[1110585600000,0.954193],[1110672000000,0.954193],[1110758400000,0.954193],[1110844800000,0.950802],[1110931200000,0.951333],[1111017600000,0.950594],[1111104000000,0.950798],[1111190400000,0.943444],[1111276800000,0.943444],[1111363200000,0.943444],[1111449600000,null],[1111536000000,0.935906],[1111622400000,0.925138],[1111708800000,0.920295],[1111795200000,0.920295],[1111881600000,0.920295],[1111968000000,0.920295],[1112054400000,0.920295],[1112140800000,0.91634],[1112227200000,0.917528],[1112313600000,0.918957],[1112400000000,0.918516],[1112486400000,0.918516],[1112572800000,0.918516],[1112659200000,0.913008],[1112745600000,0.907859],[1112832000000,0.910557],[1112918400000,0.915052],[1113004800000,0.906928],[1113091200000,0.906928],[1113177600000,0.906928],[1113264000000,0.917483],[1113350400000,0.917902],[1113436800000,0.912432],[1113523200000,0.904249],[1113609600000,0.903838],[1113696000000,0.903838],[1113782400000,0.903838],[1113868800000,0.908121],[1113955200000,0.905007],[1114041600000,0.884316],[1114128000000,0.885211],[1114214400000,0.886463],[1114300800000,0.886463],[1114387200000,0.886463],[1114473600000,0.879021],[1114560000000,0.88005],[1114646400000,0.876115],[1114732800000,0.875121],[1114819200000,0.878765],[1114905600000,0.878765],[1114992000000,0.878765],[1115078400000,0.878765],[1115164800000,0.878765],[1115251200000,0.878742],[1115337600000,0.878691],[1115424000000,0.878405],[1115510400000,0.878405],[1115596800000,0.878405],[1115683200000,0.878405],[1115769600000,0.87226],[1115856000000,0.873995],[1115942400000,0.866523],[1116028800000,0.857306],[1116115200000,0.857306],[1116201600000,0.857306],[1116288000000,0.856052],[1116374400000,0.85734],[1116460800000,0.856012],[1116547200000,0.857378],[1116633600000,0.854913],[1116720000000,0.854913],[1116806400000,0.854913],[1116892800000,0.850672],[1116979200000,0.85543],[1117065600000,0.85202],[1117152000000,0.849582],[1117238400000,0.851527],[1117324800000,0.851527],[1117411200000,0.851527],[1117497600000,0.846247],[1117584000000,0.836725],[1117670400000,0.830769],[1117756800000,0.833136],[1117843200000,0.834969],[1117929600000,0.834969],[1118016000000,0.834969],[1118102400000,0.833859],[1118188800000,0.834384],[1118275200000,0.836819],[1118361600000,0.830924],[1118448000000,0.830346],[1118534400000,0.830346],[1118620800000,0.830346],[1118707200000,0.819403],[1118793600000,0.822719],[1118880000000,0.819592],[1118966400000,null],[1119052800000,0.826771],[1119139200000,0.826771],[1119225600000,0.826771],[1119312000000,null],[1119398400000,0.820812],[1119484800000,0.822102],[1119571200000,0.818893],[1119657600000,0.820012],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.817991],[1120176000000,null],[1120262400000,0.81968],[1120348800000,0.81968],[1120435200000,0.81968],[1120521600000,0.806776],[1120608000000,0.805987],[1120694400000,0.807956],[1120780800000,0.810864],[1120867200000,0.807216],[1120953600000,0.807216],[1121040000000,0.807216],[1121126400000,0.813969],[1121212800000,0.824695],[1121299200000,0.825494],[1121385600000,0.81783],[1121472000000,0.818127],[1121558400000,0.818127],[1121644800000,0.818127],[1121731200000,0.816752],[1121817600000,0.810548],[1121904000000,0.816291],[1121990400000,0.824571],[1122076800000,0.821847],[1122163200000,0.821847],[1122249600000,0.821847],[1122336000000,0.816689],[1122422400000,0.811409],[1122508800000,0.811481],[1122595200000,0.818992],[1122681600000,0.818727],[1122768000000,0.818727],[1122854400000,0.818727],[1122940800000,0.827102],[1123027200000,0.827022],[1123113600000,0.833071],[1123200000000,0.833826],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,0.836986],[1123718400000,0.83764],[1123804800000,0.839625],[1123891200000,0.843065],[1123977600000,0.843065],[1124064000000,0.843065],[1124150400000,0.837437],[1124236800000,0.833331],[1124323200000,0.832504],[1124409600000,0.827206],[1124496000000,0.825263],[1124582400000,0.825263],[1124668800000,0.825263],[1124755200000,0.828414],[1124841600000,0.828316],[1124928000000,0.828316],[1125014400000,0.831046],[1125100800000,0.833316],[1125187200000,0.833316],[1125273600000,0.833316],[1125360000000,0.831818],[1125446400000,0.824762],[1125532800000,0.825935],[1125619200000,0.838778],[1125705600000,0.849342],[1125792000000,0.849342],[1125878400000,0.849342],[1125964800000,0.849207],[1126051200000,0.845471],[1126137600000,0.843156],[1126224000000,0.841035],[1126310400000,0.841057],[1126396800000,0.841057],[1126483200000,0.841057],[1126569600000,null],[1126656000000,null],[1126742400000,0.833991],[1126828800000,null],[1126915200000,null],[1127001600000,0.829071],[1127088000000,0.829071],[1127174400000,0.821973],[1127260800000,0.822824],[1127347200000,0.827664],[1127433600000,0.827407],[1127520000000,0.820199],[1127606400000,0.820199],[1127692800000,0.820199],[1127779200000,0.814245],[1127865600000,0.812431],[1127952000000,0.814651],[1128038400000,0.816313],[1128124800000,0.814913],[1128211200000,0.814913],[1128297600000,0.814913],[1128384000000,0.807494],[1128470400000,0.807843],[1128556800000,0.808485],[1128643200000,0.81632],[1128729600000,0.821882],[1128816000000,0.821882],[1128902400000,0.821882],[1128988800000,0.818026],[1129075200000,0.813582],[1129161600000,0.81258],[1129248000000,0.810696],[1129334400000,0.811927],[1129420800000,0.811927],[1129507200000,0.811927],[1129593600000,0.813484],[1129680000000,0.807721],[1129766400000,0.808644],[1129852800000,0.808836],[1129939200000,0.813014],[1130025600000,0.813014],[1130112000000,0.813014],[1130198400000,0.808531],[1130284800000,0.813549],[1130371200000,0.816315],[1130457600000,0.821045],[1130544000000,0.821531],[1130630400000,0.821531],[1130716800000,0.821531],[1130803200000,0.813639],[1130889600000,0.812591],[1130976000000,0.81141],[1131062400000,0.814671],[1131148800000,0.807364],[1131235200000,0.807364],[1131321600000,0.807364],[1131408000000,0.799989],[1131494400000,0.794459],[1131580800000,0.794458],[1131667200000,0.796296],[1131753600000,0.792055],[1131840000000,0.792055],[1131926400000,0.792055],[1132012800000,0.793255],[1132099200000,0.790087],[1132185600000,0.790775],[1132272000000,0.791907],[1132358400000,0.790995],[1132444800000,0.790995],[1132531200000,0.790995],[1132617600000,0.799603],[1132704000000,0.792039],[1132790400000,0.797062],[1132876800000,0.797472],[1132963200000,0.796289],[1133049600000,0.796289],[1133136000000,0.796289],[1133222400000,0.794104],[1133308800000,0.798844],[1133395200000,0.797368],[1133481600000,0.795753],[1133568000000,0.792629],[1133654400000,0.792629],[1133740800000,0.792629],[1133827200000,0.797404],[1133913600000,0.798671],[1134000000000,0.79384],[1134086400000,0.797522],[1134172800000,0.798903],[1134259200000,0.798903],[1134345600000,0.798903],[1134432000000,0.80848],[1134518400000,0.808371],[1134604800000,0.814757],[1134691200000,0.813169],[1134777600000,0.812042],[1134864000000,0.812042],[1134950400000,0.812042],[1135036800000,0.811319],[1135123200000,0.80959],[1135209600000,0.803937],[1135296000000,0.800401],[1135382400000,0.802917],[1135468800000,0.802917],[1135555200000,0.802917],[1135641600000,0.802917],[1135728000000,0.80226],[1135814400000,0.806538],[1135900800000,0.800625]], 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: [[1105747200000, 0.925979],[1105747200000, 0.925979],[1108425600000, 0.925986],[1110844800000, 0.937216],[1113523200000, 0.901215],[1116115200000, 0.863576],[1118793600000, 0.828100],[1121385600000, 0.815946],[1124064000000, 0.831929],[1126742400000, 0.831731],[1129334400000, 0.814289],[1132012800000, 0.798092],[1134604800000, 0.802747]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });