$(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: 'Курс EEK, грн'}, 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: 'Курс EEK', data: [[1231200000000,0.668397],[1231286400000,0.656094],[1231372800000,0.656094],[1231459200000,0.670119],[1231545600000,0.673417],[1231632000000,0.673417],[1231718400000,0.673417],[1231804800000,0.659145],[1231891200000,0.652649],[1231977600000,0.648269],[1232064000000,0.643939],[1232150400000,0.653043],[1232236800000,null],[1232323200000,0.653043],[1232409600000,0.648712],[1232496000000,0.636311],[1232582400000,0.635327],[1232668800000,0.638968],[1232755200000,0.629667],[1232841600000,0.629667],[1232928000000,0.629667],[1233014400000,0.639263],[1233100800000,0.648318],[1233187200000,0.652551],[1233273600000,0.645218],[1233360000000,0.630701],[1233446400000,0.630701],[1233532800000,0.630701],[1233619200000,0.627945],[1233705600000,0.632325],[1233792000000,0.630799],[1233878400000,0.63134],[1233964800000,0.629716],[1234051200000,0.629716],[1234137600000,0.629716],[1234224000000,0.640149],[1234310400000,0.638132],[1234396800000,0.636704],[1234483200000,0.631537],[1234569600000,null],[1234656000000,null],[1234742400000,0.631045],[1234828800000,0.628191],[1234915200000,0.621744],[1235001600000,0.619874],[1235088000000,0.625238],[1235174400000,0.619628],[1235260800000,0.619628],[1235347200000,0.619628],[1235433600000,0.629815],[1235520000000,0.628092],[1235606400000,0.629667],[1235692800000,0.629027],[1235779200000,0.622236],[1235865600000,0.622236],[1235952000000,0.622236],[1236038400000,0.619874],[1236124800000,0.620809],[1236211200000,0.617856],[1236297600000,0.617856],[1236384000000,0.622925],[1236470400000,0.622925],[1236556800000,0.622925],[1236643200000,0.622925],[1236729600000,null],[1236816000000,0.629224],[1236902400000,0.629027],[1236988800000,0.63508],[1237075200000,0.63508],[1237161600000,0.63508],[1237248000000,0.641823],[1237334400000,0.636901],[1237420800000,0.646153],[1237507200000,0.672777],[1237593600000,0.666773],[1237680000000,0.666773],[1237766400000,0.666773],[1237852800000,0.667216],[1237939200000,0.664706],[1238025600000,0.664066],[1238112000000,0.669627],[1238198400000,0.654273],[1238284800000,0.654273],[1238371200000,0.654273],[1238457600000,0.649254],[1238544000000,0.654913],[1238630400000,0.651862],[1238716800000,0.659047],[1238803200000,0.660671],[1238889600000,0.660671],[1238976000000,0.660671],[1239062400000,0.664165],[1239148800000,0.652305],[1239235200000,0.651124],[1239321600000,0.65319],[1239408000000,0.65319],[1239494400000,0.65319],[1239580800000,0.65319],[1239667200000,0.65319],[1239753600000,0.653338],[1239840000000,0.648269],[1239926400000,0.649401],[1240012800000,0.64261],[1240099200000,0.64261],[1240185600000,0.64261],[1240272000000,0.64261],[1240358400000,0.636409],[1240444800000,0.637147],[1240531200000,0.642216],[1240617600000,0.651173],[1240704000000,0.651173],[1240790400000,0.651173],[1240876800000,0.645907],[1240963200000,0.639362],[1241049600000,0.652846],[1241136000000,0.653289],[1241222400000,0.653289],[1241308800000,null],[1241395200000,0.653289],[1241481600000,0.653289],[1241568000000,0.659588],[1241654400000,0.655602],[1241740800000,0.658952],[1241827200000,0.658431],[1241913600000,0.658431],[1242000000000,0.658431],[1242086400000,0.658431],[1242172800000,0.669476],[1242259200000,0.663902],[1242345600000,0.660831],[1242432000000,0.658517],[1242518400000,0.658517],[1242604800000,0.658517],[1242691200000,0.657288],[1242777600000,0.662983],[1242864000000,0.666371],[1242950400000,0.670314],[1243036800000,0.680089],[1243123200000,0.680089],[1243209600000,0.680089],[1243296000000,0.68192],[1243382400000,0.67724],[1243468800000,0.676899],[1243555200000,0.67469],[1243641600000,0.686447],[1243728000000,0.686447],[1243814400000,0.686447],[1243900800000,0.69166],[1243987200000,0.692627],[1244073600000,0.690983],[1244160000000,0.685724],[1244246400000,0.689696],[1244332800000,0.689696],[1244419200000,0.689696],[1244505600000,0.689696],[1244592000000,0.67893],[1244678400000,0.685876],[1244764800000,0.679434],[1244851200000,0.681235],[1244937600000,0.681235],[1245024000000,0.681235],[1245110400000,0.673743],[1245196800000,0.675689],[1245283200000,0.673929],[1245369600000,0.677682],[1245456000000,0.678213],[1245542400000,0.678213],[1245628800000,0.678213],[1245715200000,0.674035],[1245801600000,0.679943],[1245888000000,0.683536],[1245974400000,0.679645],[1246060800000,0.687413],[1246147200000,0.687413],[1246233600000,0.687413],[1246320000000,0.687413],[1246406400000,0.690187],[1246492800000,0.688241],[1246579200000,0.685848],[1246665600000,0.683833],[1246752000000,0.683833],[1246838400000,0.683833],[1246924800000,0.678365],[1247011200000,0.683631],[1247097600000,0.677388],[1247184000000,0.681537],[1247270400000,0.677379],[1247356800000,0.677379],[1247443200000,0.677379],[1247529600000,0.680985],[1247616000000,0.681943],[1247702400000,0.687143],[1247788800000,0.689992],[1247875200000,0.689029],[1247961600000,0.689029],[1248048000000,0.689029],[1248134400000,0.696212],[1248220800000,0.696342],[1248307200000,0.695029],[1248393600000,0.696872],[1248480000000,0.697056],[1248566400000,0.697056],[1248652800000,0.697056],[1248739200000,0.70143],[1248825600000,0.699337],[1248912000000,0.694086],[1248998400000,0.691396],[1249084800000,0.695678],[1249171200000,0.695678],[1249257600000,0.695678],[1249344000000,0.702645],[1249430400000,0.706164],[1249516800000,0.707579],[1249603200000,0.706992],[1249689600000,0.706885],[1249776000000,0.706885],[1249862400000,0.706885],[1249948800000,0.699816],[1250035200000,0.699708],[1250121600000,0.700902],[1250208000000,0.707863],[1250294400000,0.709584],[1250380800000,0.709584],[1250467200000,0.709584],[1250553600000,0.701999],[1250640000000,0.705618],[1250726400000,0.707828],[1250812800000,0.717712],[1250899200000,0.727188],[1250985600000,0.727188],[1251072000000,0.727188],[1251158400000,0.727188],[1251244800000,0.729017],[1251331200000,0.728612],[1251417600000,0.72851],[1251504000000,0.733412],[1251590400000,0.733412],[1251676800000,0.733412],[1251763200000,0.728714],[1251849600000,0.730035],[1251936000000,0.725696],[1252022400000,0.731565],[1252108800000,0.728751],[1252195200000,0.728751],[1252281600000,0.728751],[1252368000000,0.732225],[1252454400000,0.739717],[1252540800000,0.742036],[1252627200000,0.743155],[1252713600000,0.745939],[1252800000000,0.745939],[1252886400000,0.745939],[1252972800000,0.744206],[1253059200000,0.747443],[1253145600000,0.750512],[1253232000000,0.752826],[1253318400000,0.752468],[1253404800000,0.752468],[1253491200000,0.752468],[1253577600000,0.750091],[1253664000000,0.756334],[1253750400000,0.756487],[1253836800000,0.75572],[1253923200000,0.750705],[1254009600000,0.750705],[1254096000000,0.750705],[1254182400000,0.749981],[1254268800000,0.74481],[1254355200000,0.749061],[1254441600000,0.744205],[1254528000000,0.744196],[1254614400000,0.744196],[1254700800000,0.744196],[1254787200000,0.74824],[1254873600000,0.753667],[1254960000000,0.752233],[1255046400000,0.755766],[1255132800000,0.7551],[1255219200000,0.7551],[1255305600000,0.7551],[1255392000000,0.755868],[1255478400000,0.760575],[1255564800000,0.760665],[1255651200000,0.758086],[1255737600000,0.757391],[1255824000000,0.757391],[1255910400000,0.757391],[1255996800000,0.759887],[1256083200000,0.763543],[1256169600000,0.762233],[1256256000000,0.767419],[1256342400000,0.76777],[1256428800000,0.76777],[1256515200000,0.76777],[1256601600000,0.767796],[1256688000000,0.76122],[1256774400000,0.756665],[1256860800000,0.7561],[1256947200000,0.756052],[1257033600000,0.756052],[1257120000000,0.756052],[1257206400000,0.754999],[1257292800000,0.75054],[1257379200000,0.756116],[1257465600000,0.761451],[1257552000000,0.759219],[1257638400000,0.759219],[1257724800000,0.759219],[1257811200000,0.765193],[1257897600000,0.764245],[1257984000000,0.768044],[1258070400000,0.762599],[1258156800000,0.759811],[1258243200000,0.759811],[1258329600000,0.759811],[1258416000000,0.764509],[1258502400000,0.759626],[1258588800000,0.763871],[1258675200000,0.758985],[1258761600000,0.756534],[1258848000000,0.756534],[1258934400000,0.756534],[1259020800000,0.764347],[1259107200000,0.764398],[1259193600000,0.769738],[1259280000000,0.76874],[1259366400000,0.760926],[1259452800000,0.760926],[1259539200000,0.760926],[1259625600000,0.766944],[1259712000000,0.769683],[1259798400000,0.770625],[1259884800000,0.772109],[1259971200000,0.768876],[1260057600000,0.768876],[1260144000000,0.768876],[1260230400000,0.754537],[1260316800000,0.753921],[1260403200000,0.753804],[1260489600000,0.751864],[1260576000000,0.752893],[1260662400000,0.752893],[1260748800000,0.752893],[1260835200000,0.747075],[1260921600000,0.740981],[1261008000000,0.74167],[1261094400000,0.730598],[1261180800000,0.730292],[1261267200000,0.730292],[1261353600000,0.730292],[1261440000000,0.731871],[1261526400000,0.727247],[1261612800000,0.727002],[1261699200000,0.733031],[1261785600000,0.732985],[1261872000000,0.732985],[1261958400000,0.732985],[1262044800000,0.733296],[1262131200000,0.735044]], 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: [[1231977600000, 0.649817],[1231977600000, 0.649817],[1234656000000, 0.628588],[1237075200000, 0.641724],[1239753600000, 0.650341],[1242345600000, 0.665722],[1245024000000, 0.683222],[1247616000000, 0.688318],[1250294400000, 0.712787],[1252972800000, 0.743838],[1255564800000, 0.756860],[1258243200000, 0.760633],[1260835200000, 0.746070]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });