$(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: [[1136246400000,0.798537],[1136332800000,0.798537],[1136419200000,0.798537],[1136505600000,0.81818],[1136592000000,0.818584],[1136678400000,0.818584],[1136764800000,0.818584],[1136851200000,0.818584],[1136937600000,0.816829],[1137024000000,0.818586],[1137110400000,0.819949],[1137196800000,0.81506],[1137283200000,0.81506],[1137369600000,0.81506],[1137456000000,0.819771],[1137542400000,0.817322],[1137628800000,0.820695],[1137715200000,0.817],[1137801600000,0.816673],[1137888000000,0.816673],[1137974400000,0.816673],[1138060800000,0.830861],[1138147200000,0.830656],[1138233600000,0.831956],[1138320000000,0.829171],[1138406400000,0.823645],[1138492800000,0.823645],[1138579200000,0.823645],[1138665600000,0.817456],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,0.810318],[1139270400000,0.810318],[1139356800000,0.809702],[1139443200000,0.808087],[1139529600000,0.809862],[1139616000000,0.80977],[1139702400000,0.80977],[1139788800000,0.80977],[1139875200000,0.804222],[1139961600000,0.804899],[1140048000000,0.805251],[1140134400000,0.802043],[1140220800000,0.802488],[1140307200000,0.802488],[1140393600000,0.802488],[1140480000000,0.807426],[1140566400000,0.805699],[1140652800000,0.803655],[1140739200000,0.809313],[1140825600000,0.805249],[1140912000000,0.805249],[1140998400000,0.805249],[1141084800000,0.802335],[1141171200000,0.803763],[1141257600000,0.809175],[1141344000000,0.806952],[1141430400000,0.81349],[1141516800000,0.81349],[1141603200000,0.81349],[1141689600000,0.813243],[1141776000000,0.806465],[1141862400000,0.806465],[1141948800000,0.80696],[1142035200000,0.806838],[1142121600000,0.806838],[1142208000000,0.806838],[1142294400000,0.807052],[1142380800000,0.808715],[1142467200000,0.813896],[1142553600000,0.816828],[1142640000000,0.824679],[1142726400000,0.824679],[1142812800000,0.824679],[1142899200000,0.82389],[1142985600000,0.821772],[1143072000000,0.816817],[1143158400000,0.815903],[1143244800000,0.810125],[1143331200000,0.810125],[1143417600000,0.810125],[1143504000000,0.813839],[1143590400000,0.817843],[1143676800000,0.81296],[1143763200000,0.818634],[1143849600000,0.819109],[1143936000000,0.819109],[1144022400000,0.819109],[1144108800000,0.816345],[1144195200000,0.826712],[1144281600000,0.829746],[1144368000000,0.833107],[1144454400000,0.824085],[1144540800000,0.824085],[1144627200000,0.824085],[1144713600000,0.818826],[1144800000000,0.819144],[1144886400000,0.82053],[1144972800000,0.818432],[1145059200000,0.818432],[1145145600000,0.818432],[1145232000000,0.818432],[1145318400000,0.818432],[1145404800000,0.829158],[1145491200000,0.835654],[1145577600000,0.835687],[1145664000000,0.833489],[1145750400000,0.833489],[1145836800000,0.833489],[1145923200000,0.833489],[1146009600000,0.84099],[1146096000000,0.841091],[1146182400000,0.840335],[1146268800000,0.848593],[1146355200000,0.848593],[1146441600000,0.848593],[1146528000000,0.848593],[1146614400000,0.848593],[1146700800000,0.854771],[1146787200000,0.852739],[1146873600000,0.859252],[1146960000000,0.859252],[1147046400000,0.859252],[1147132800000,0.859252],[1147219200000,0.859252],[1147305600000,0.865322],[1147392000000,0.861136],[1147478400000,0.874744],[1147564800000,0.874744],[1147651200000,0.874744],[1147737600000,0.868912],[1147824000000,0.868127],[1147910400000,0.872577],[1147996800000,0.865292],[1148083200000,0.864799],[1148169600000,0.864799],[1148256000000,0.864799],[1148342400000,0.863793],[1148428800000,0.869788],[1148515200000,0.870372],[1148601600000,0.863696],[1148688000000,0.866517],[1148774400000,0.866517],[1148860800000,0.866517],[1148947200000,0.863934],[1149033600000,0.869443],[1149120000000,0.871348],[1149206400000,0.862364],[1149292800000,0.867678],[1149379200000,0.867678],[1149465600000,0.867678],[1149552000000,0.877348],[1149638400000,0.869763],[1149724800000,0.865894],[1149811200000,0.86225],[1149897600000,0.857357],[1149984000000,0.857357],[1150070400000,0.857357],[1150156800000,0.857357],[1150243200000,0.851625],[1150329600000,0.851072],[1150416000000,0.854233],[1150502400000,0.857091],[1150588800000,0.857091],[1150675200000,0.857091],[1150761600000,0.852946],[1150848000000,0.849863],[1150934400000,0.855872],[1151020800000,0.85221],[1151107200000,0.846724],[1151193600000,0.846724],[1151280000000,0.846724],[1151366400000,0.850742],[1151452800000,0.851035],[1151539200000,0.851035],[1151625600000,0.848336],[1151712000000,0.860691],[1151798400000,0.860691],[1151884800000,0.860691],[1151971200000,0.865846],[1152057600000,0.865821],[1152144000000,0.866059],[1152230400000,0.862134],[1152316800000,0.865103],[1152403200000,0.865103],[1152489600000,0.865103],[1152576000000,0.863331],[1152662400000,0.862225],[1152748800000,0.861277],[1152835200000,0.859211],[1152921600000,0.857497],[1153008000000,0.857497],[1153094400000,0.857497],[1153180800000,0.849103],[1153267200000,0.848301],[1153353600000,0.844848],[1153440000000,0.855848],[1153526400000,0.858365],[1153612800000,0.858365],[1153699200000,0.858365],[1153785600000,0.855137],[1153872000000,0.855248],[1153958400000,0.851955],[1154044800000,0.862061],[1154131200000,0.857063],[1154217600000,0.857063],[1154304000000,0.857063],[1154390400000,0.864046],[1154476800000,0.863481],[1154563200000,0.866225],[1154649600000,0.865074],[1154736000000,0.865772],[1154822400000,0.865772],[1154908800000,0.865772],[1154995200000,0.869721],[1155081600000,0.868965],[1155168000000,0.871766],[1155254400000,0.870277],[1155340800000,0.864714],[1155427200000,0.864714],[1155513600000,0.864714],[1155600000000,0.860845],[1155686400000,0.861318],[1155772800000,0.865933],[1155859200000,0.871649],[1155945600000,0.866461],[1156032000000,0.866461],[1156118400000,0.866461],[1156204800000,0.874403],[1156291200000,0.867184],[1156377600000,0.867126],[1156464000000,0.867126],[1156550400000,0.867126],[1156636800000,0.867126],[1156723200000,0.867126],[1156809600000,0.86643],[1156896000000,0.866925],[1156982400000,0.867741],[1157068800000,0.87001],[1157155200000,0.86765],[1157241600000,0.86765],[1157328000000,0.86765],[1157414400000,0.869938],[1157500800000,0.867177],[1157587200000,0.865968],[1157673600000,0.861725],[1157760000000,0.860518],[1157846400000,0.860518],[1157932800000,0.860518],[1158019200000,0.860472],[1158105600000,0.860259],[1158192000000,0.858196],[1158278400000,0.861252],[1158364800000,0.857957],[1158451200000,0.857957],[1158537600000,0.857957],[1158624000000,0.857269],[1158710400000,0.856455],[1158796800000,0.858036],[1158883200000,0.861886],[1158969600000,0.867615],[1159056000000,0.867615],[1159142400000,0.867615],[1159228800000,0.86438],[1159315200000,0.859484],[1159401600000,0.858693],[1159488000000,0.860599],[1159574400000,0.857287],[1159660800000,0.857287],[1159747200000,0.857287],[1159833600000,0.859026],[1159920000000,0.862628],[1160006400000,0.859027],[1160092800000,0.861544],[1160179200000,0.857753],[1160265600000,0.857753],[1160352000000,0.857753],[1160438400000,0.853541],[1160524800000,0.849253],[1160611200000,0.849603],[1160697600000,0.848767],[1160784000000,0.850168],[1160870400000,0.850168],[1160956800000,0.850168],[1161043200000,0.847706],[1161129600000,0.848305],[1161216000000,0.849546],[1161302400000,0.850856],[1161388800000,0.854718],[1161475200000,0.854718],[1161561600000,0.854718],[1161648000000,0.850461],[1161734400000,0.849502],[1161820800000,0.852155],[1161907200000,0.857157],[1161993600000,0.859178],[1162080000000,0.859178],[1162166400000,0.859178],[1162252800000,0.861528],[1162339200000,0.860163],[1162425600000,0.864191],[1162512000000,0.864915],[1162598400000,0.864371],[1162684800000,0.864371],[1162771200000,0.864371],[1162857600000,0.860223],[1162944000000,0.863627],[1163030400000,0.865234],[1163116800000,0.866415],[1163203200000,0.871101],[1163289600000,0.871101],[1163376000000,0.871101],[1163462400000,0.868798],[1163548800000,0.868241],[1163635200000,0.866039],[1163721600000,0.866956],[1163808000000,0.864937],[1163894400000,0.864937],[1163980800000,0.864937],[1164067200000,0.86952],[1164153600000,0.867831],[1164240000000,0.872848],[1164326400000,0.877469],[1164412800000,0.885996],[1164499200000,0.885996],[1164585600000,0.885996],[1164672000000,0.888351],[1164758400000,0.890635],[1164844800000,0.891288],[1164931200000,0.894213],[1165017600000,0.89723],[1165104000000,0.89723],[1165190400000,0.89723],[1165276800000,0.901222],[1165363200000,0.90293],[1165449600000,0.899045],[1165536000000,0.900687],[1165622400000,0.899181],[1165708800000,0.899181],[1165795200000,0.899181],[1165881600000,0.892595],[1165968000000,0.897158],[1166054400000,0.898761],[1166140800000,0.893695],[1166227200000,0.887857],[1166313600000,0.887857],[1166400000000,0.887857],[1166486400000,0.887207],[1166572800000,0.891463],[1166659200000,0.89462],[1166745600000,0.892735],[1166832000000,0.893791],[1166918400000,0.893791],[1167004800000,0.893791],[1167091200000,0.893791],[1167177600000,0.893791],[1167264000000,0.891471],[1167350400000,0.892061],[1167436800000,0.892013]], 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: [[1137283200000, 0.818087],[1137283200000, 0.818087],[1139961600000, 0.806333],[1142380800000, 0.813115],[1145059200000, 0.828007],[1147651200000, 0.863552],[1150329600000, 0.857395],[1152921600000, 0.858857],[1155600000000, 0.866724],[1158278400000, 0.862344],[1160870400000, 0.854536],[1163548800000, 0.871065],[1166140800000, 0.894788]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });