$(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: 'Курс SKK, грн'}, 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: 'Курс SKK', data: [[1104883200000,0.157273],[1104969600000,0.181634],[1105056000000,0.181087],[1105142400000,null],[1105228800000,0.181087],[1105315200000,null],[1105401600000,0.180411],[1105488000000,0.180475],[1105574400000,0.180103],[1105660800000,0.181868],[1105747200000,0.179993],[1105833600000,0.179993],[1105920000000,0.179993],[1106006400000,0.17978],[1106092800000,0.179284],[1106179200000,0.177392],[1106265600000,0.177392],[1106352000000,0.177854],[1106438400000,0.177854],[1106524800000,0.177854],[1106611200000,null],[1106697600000,0.178919],[1106784000000,0.179006],[1106870400000,0.179758],[1106956800000,0.180334],[1107043200000,0.180334],[1107129600000,0.181121],[1107216000000,0.181121],[1107302400000,0.181142],[1107388800000,0.181655],[1107475200000,0.180946],[1107561600000,0.18056],[1107648000000,0.18056],[1107734400000,0.18056],[1107820800000,0.178827],[1107907200000,0.177812],[1107993600000,0.177616],[1108080000000,0.177821],[1108166400000,0.17855],[1108252800000,0.17855],[1108339200000,0.17855],[1108425600000,0.180289],[1108512000000,0.181075],[1108598400000,0.181499],[1108684800000,0.181237],[1108771200000,0.18159],[1108857600000,0.18159],[1108944000000,0.18159],[1109030400000,0.181794],[1109116800000,0.183759],[1109203200000,0.184538],[1109289600000,0.18564],[1109376000000,0.184271],[1109462400000,0.184271],[1109548800000,0.184271],[1109635200000,0.18548],[1109721600000,0.185076],[1109808000000,0.183361],[1109894400000,0.183779],[1109980800000,0.183411],[1110067200000,0.183411],[1110153600000,0.183411],[1110240000000,0.183411],[1110326400000,0.183411],[1110412800000,0.188258],[1110499200000,0.188101],[1110585600000,0.18872],[1110672000000,0.18872],[1110758400000,0.18872],[1110844800000,0.187132],[1110931200000,0.187651],[1111017600000,0.184063],[1111104000000,0.182617],[1111190400000,0.183558],[1111276800000,0.183558],[1111363200000,0.183558],[1111449600000,null],[1111536000000,0.179771],[1111622400000,0.176162],[1111708800000,0.175635],[1111795200000,0.175635],[1111881600000,0.175635],[1111968000000,0.175635],[1112054400000,0.175635],[1112140800000,0.174366],[1112227200000,0.175841],[1112313600000,0.177021],[1112400000000,0.176597],[1112486400000,0.176597],[1112572800000,0.176597],[1112659200000,0.174929],[1112745600000,0.173714],[1112832000000,0.17432],[1112918400000,0.175231],[1113004800000,0.174002],[1113091200000,0.174002],[1113177600000,0.174002],[1113264000000,0.176509],[1113350400000,0.17689],[1113436800000,0.175713],[1113523200000,0.173263],[1113609600000,0.171645],[1113696000000,0.171645],[1113782400000,0.171645],[1113868800000,0.17095],[1113955200000,0.169364],[1114041600000,0.166829],[1114128000000,0.166796],[1114214400000,0.166807],[1114300800000,0.166807],[1114387200000,0.166807],[1114473600000,0.164518],[1114560000000,0.165144],[1114646400000,0.164679],[1114732800000,0.163486],[1114819200000,0.165926],[1114905600000,0.165926],[1114992000000,0.165926],[1115078400000,0.165926],[1115164800000,0.165926],[1115251200000,0.168199],[1115337600000,0.168585],[1115424000000,0.168685],[1115510400000,0.168685],[1115596800000,0.168685],[1115683200000,0.168685],[1115769600000,0.166999],[1115856000000,0.167191],[1115942400000,0.166143],[1116028800000,0.164078],[1116115200000,0.164078],[1116201600000,0.164078],[1116288000000,0.162735],[1116374400000,0.163306],[1116460800000,0.163267],[1116547200000,0.164161],[1116633600000,0.163622],[1116720000000,0.163622],[1116806400000,0.163622],[1116892800000,0.162314],[1116979200000,0.163479],[1117065600000,0.161796],[1117152000000,0.161288],[1117238400000,0.161736],[1117324800000,0.161736],[1117411200000,0.161736],[1117497600000,0.160943],[1117584000000,0.159409],[1117670400000,0.157745],[1117756800000,0.159372],[1117843200000,0.160233],[1117929600000,0.160233],[1118016000000,0.160233],[1118102400000,0.160136],[1118188800000,0.160891],[1118275200000,0.161498],[1118361600000,0.159928],[1118448000000,0.159938],[1118534400000,0.159938],[1118620800000,0.159938],[1118707200000,0.157778],[1118793600000,0.158735],[1118880000000,0.159209],[1118966400000,null],[1119052800000,0.160654],[1119139200000,0.160654],[1119225600000,0.160654],[1119312000000,null],[1119398400000,0.159018],[1119484800000,0.159788],[1119571200000,0.159165],[1119657600000,0.15938],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.158651],[1120176000000,null],[1120262400000,0.159467],[1120348800000,0.159467],[1120435200000,0.159467],[1120521600000,0.156941],[1120608000000,0.15696],[1120694400000,0.156844],[1120780800000,0.155164],[1120867200000,0.154528],[1120953600000,0.154528],[1121040000000,0.154528],[1121126400000,0.156101],[1121212800000,0.158585],[1121299200000,0.157274],[1121385600000,0.156023],[1121472000000,0.155925],[1121558400000,0.155925],[1121644800000,0.155925],[1121731200000,0.156282],[1121817600000,0.15451],[1121904000000,0.155598],[1121990400000,0.157932],[1122076800000,0.15764],[1122163200000,0.15764],[1122249600000,0.15764],[1122336000000,0.156588],[1122422400000,0.154701],[1122508800000,0.154739],[1122595200000,0.156279],[1122681600000,0.15685],[1122768000000,0.15685],[1122854400000,0.15685],[1122940800000,0.158566],[1123027200000,0.158593],[1123113600000,0.159906],[1123200000000,0.160234],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,0.162174],[1123718400000,0.162432],[1123804800000,0.162884],[1123891200000,0.163333],[1123977600000,0.163333],[1124064000000,0.163333],[1124150400000,0.162313],[1124236800000,0.161925],[1124323200000,0.160855],[1124409600000,0.159864],[1124496000000,0.159368],[1124582400000,0.159368],[1124668800000,0.159368],[1124755200000,0.160058],[1124841600000,0.159218],[1124928000000,0.159218],[1125014400000,0.159459],[1125100800000,0.160086],[1125187200000,0.160086],[1125273600000,0.160086],[1125360000000,0.159902],[1125446400000,0.158574],[1125532800000,0.158906],[1125619200000,0.162281],[1125705600000,0.164349],[1125792000000,0.164349],[1125878400000,0.164349],[1125964800000,0.165625],[1126051200000,0.164744],[1126137600000,0.164429],[1126224000000,0.164401],[1126310400000,0.164383],[1126396800000,0.164383],[1126483200000,0.164383],[1126569600000,null],[1126656000000,null],[1126742400000,0.16171],[1126828800000,null],[1126915200000,null],[1127001600000,0.161231],[1127088000000,0.161231],[1127174400000,0.159516],[1127260800000,0.159588],[1127347200000,0.160583],[1127433600000,0.160345],[1127520000000,0.158539],[1127606400000,0.158539],[1127692800000,0.158539],[1127779200000,0.157453],[1127865600000,0.157109],[1127952000000,0.156768],[1128038400000,0.156723],[1128124800000,0.156773],[1128211200000,0.156773],[1128297600000,0.156773],[1128384000000,0.155106],[1128470400000,0.155319],[1128556800000,0.155544],[1128643200000,0.156335],[1128729600000,0.157479],[1128816000000,0.157479],[1128902400000,0.157479],[1128988800000,0.157149],[1129075200000,0.156605],[1129161600000,0.156129],[1129248000000,0.155329],[1129334400000,0.155671],[1129420800000,0.155671],[1129507200000,0.155671],[1129593600000,0.15615],[1129680000000,0.154875],[1129766400000,0.154686],[1129852800000,0.155042],[1129939200000,0.155836],[1130025600000,0.155836],[1130112000000,0.155836],[1130198400000,0.155105],[1130284800000,0.155832],[1130371200000,0.155909],[1130457600000,0.156935],[1130544000000,0.156898],[1130630400000,0.156898],[1130716800000,0.156898],[1130803200000,0.155531],[1130889600000,0.155321],[1130976000000,0.155281],[1131062400000,0.156196],[1131148800000,0.154791],[1131235200000,0.154791],[1131321600000,0.154791],[1131408000000,0.153204],[1131494400000,0.152226],[1131580800000,0.152301],[1131667200000,0.152487],[1131753600000,0.151745],[1131840000000,0.151745],[1131926400000,0.151745],[1132012800000,0.152043],[1132099200000,0.151676],[1132185600000,0.152256],[1132272000000,0.152633],[1132358400000,0.152463],[1132444800000,0.152463],[1132531200000,0.152463],[1132617600000,0.154123],[1132704000000,0.152687],[1132790400000,0.154144],[1132876800000,0.154576],[1132963200000,0.154474],[1133049600000,0.154474],[1133136000000,0.154474],[1133222400000,0.15686],[1133308800000,0.157269],[1133395200000,0.156845],[1133481600000,0.156521],[1133568000000,0.156055],[1133654400000,0.156055],[1133740800000,0.156055],[1133827200000,0.157101],[1133913600000,0.157439],[1134000000000,0.15636],[1134086400000,0.156255],[1134172800000,0.156509],[1134259200000,0.156509],[1134345600000,0.156509],[1134432000000,0.158394],[1134518400000,0.15908],[1134604800000,0.160563],[1134691200000,0.159805],[1134777600000,0.159353],[1134864000000,0.159353],[1134950400000,0.159353],[1135036800000,0.159135],[1135123200000,0.159274],[1135209600000,0.158394],[1135296000000,0.158107],[1135382400000,0.158728],[1135468800000,0.158728],[1135555200000,0.158728],[1135641600000,0.158728],[1135728000000,0.158739],[1135814400000,0.159204],[1135900800000,0.157687]], 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.178783],[1105747200000, 0.178783],[1108425600000, 0.181132],[1110844800000, 0.182457],[1113523200000, 0.171414],[1116115200000, 0.164747],[1118793600000, 0.159716],[1121385600000, 0.156563],[1124064000000, 0.160422],[1126742400000, 0.161325],[1129334400000, 0.156130],[1132012800000, 0.153708],[1134604800000, 0.157986]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });