$(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: 'Курс LVL, грн'}, 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: 'Курс LVL', data: [[1136246400000,8.53041],[1136332800000,8.53041],[1136419200000,8.53041],[1136505600000,8.69191],[1136592000000,8.69191],[1136678400000,8.69191],[1136764800000,8.69191],[1136851200000,8.69191],[1136937600000,8.66209],[1137024000000,8.66209],[1137110400000,8.73702],[1137196800000,8.66209],[1137283200000,8.66209],[1137369600000,8.66209],[1137456000000,8.72193],[1137542400000,8.7069],[1137628800000,8.69191],[1137715200000,8.7069],[1137801600000,8.67698],[1137888000000,8.67698],[1137974400000,8.67698],[1138060800000,8.79791],[1138147200000,8.84413],[1138233600000,8.81326],[1138320000000,8.79791],[1138406400000,8.76736],[1138492800000,8.76736],[1138579200000,8.76736],[1138665600000,8.69191],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,8.63248],[1139270400000,8.63248],[1139356800000,8.60307],[1139443200000,8.60307],[1139529600000,8.60307],[1139616000000,8.61775],[1139702400000,8.61775],[1139788800000,8.61775],[1139875200000,8.55932],[1139961600000,8.55932],[1140048000000,8.55932],[1140134400000,8.54484],[1140220800000,8.54484],[1140307200000,8.54484],[1140393600000,8.54484],[1140480000000,8.60307],[1140566400000,8.57385],[1140652800000,8.57385],[1140739200000,8.55932],[1140825600000,8.55932],[1140912000000,8.55932],[1140998400000,8.55932],[1141084800000,8.51602],[1141171200000,8.51602],[1141257600000,8.57385],[1141344000000,8.57385],[1141430400000,8.63248],[1141516800000,8.63248],[1141603200000,8.63248],[1141689600000,8.67698],[1141776000000,8.60307],[1141862400000,8.60307],[1141948800000,8.55932],[1142035200000,8.55932],[1142121600000,8.55932],[1142208000000,8.55932],[1142294400000,8.57385],[1142380800000,8.60307],[1142467200000,8.64726],[1142553600000,8.66209],[1142640000000,8.73702],[1142726400000,8.73702],[1142812800000,8.73702],[1142899200000,8.73702],[1142985600000,8.72193],[1143072000000,8.69191],[1143158400000,8.66209],[1143244800000,8.60307],[1143331200000,8.60307],[1143417600000,8.60307],[1143504000000,8.66209],[1143590400000,8.63248],[1143676800000,8.63248],[1143763200000,8.67698],[1143849600000,8.73702],[1143936000000,8.73702],[1144022400000,8.73702],[1144108800000,8.66209],[1144195200000,8.73702],[1144281600000,8.82867],[1144368000000,8.82867],[1144454400000,8.76736],[1144540800000,8.76736],[1144627200000,8.76736],[1144713600000,8.77747],[1144800000000,8.78308],[1144886400000,8.79633],[1144972800000,8.77384],[1145059200000,8.77384],[1145145600000,8.77384],[1145232000000,8.77384],[1145318400000,8.77384],[1145404800000,8.88974],[1145491200000,8.95795],[1145577600000,8.95795],[1145664000000,8.93417],[1145750400000,8.93417],[1145836800000,8.93417],[1145923200000,8.93417],[1146009600000,9.01397],[1146096000000,9.01527],[1146182400000,9.00599],[1146268800000,9.09522],[1146355200000,9.09522],[1146441600000,9.09522],[1146528000000,9.09522],[1146614400000,9.09522],[1146700800000,9.15689],[1146787200000,9.13381],[1146873600000,9.20609],[1146960000000,9.20609],[1147046400000,9.20609],[1147132800000,9.20609],[1147219200000,9.20609],[1147305600000,9.26946],[1147392000000,9.22243],[1147478400000,9.37007],[1147564800000,9.37007],[1147651200000,9.37007],[1147737600000,9.30622],[1147824000000,9.29969],[1147910400000,9.34685],[1147996800000,9.26559],[1148083200000,9.26208],[1148169600000,9.26208],[1148256000000,9.26208],[1148342400000,9.25325],[1148428800000,9.3171],[1148515200000,9.32436],[1148601600000,9.2547],[1148688000000,9.28385],[1148774400000,9.28385],[1148860800000,9.28385],[1148947200000,9.25688],[1149033600000,9.31699],[1149120000000,9.3367],[1149206400000,9.24092],[1149292800000,9.29824],[1149379200000,9.29824],[1149465600000,9.29824],[1149552000000,9.402],[1149638400000,9.32146],[1149724800000,9.27804],[1149811200000,9.24019],[1149897600000,9.18373],[1149984000000,9.18373],[1150070400000,9.18373],[1150156800000,9.18373],[1150243200000,9.11989],[1150329600000,9.11409],[1150416000000,9.1495],[1150502400000,9.17925],[1150588800000,9.17925],[1150675200000,9.17925],[1150761600000,9.1344],[1150848000000,9.10175],[1150934400000,9.16678],[1151020800000,9.12918],[1151107200000,9.07113],[1151193600000,9.07113],[1151280000000,9.07113],[1151366400000,9.11394],[1151452800000,9.1183],[1151539200000,9.1183],[1151625600000,9.09073],[1151712000000,9.22291],[1151798400000,9.22291],[1151884800000,9.22291],[1151971200000,9.2801],[1152057600000,9.28083],[1152144000000,9.28167],[1152230400000,9.24019],[1152316800000,9.27006],[1152403200000,9.27006],[1152489600000,9.27006],[1152576000000,9.25253],[1152662400000,9.24225],[1152748800000,9.22944],[1152835200000,9.20899],[1152921600000,9.19013],[1153008000000,9.19013],[1153094400000,9.19013],[1153180800000,9.09812],[1153267200000,9.09218],[1153353600000,9.05662],[1153440000000,9.17344],[1153526400000,9.20029],[1153612800000,9.20029],[1153699200000,9.20029],[1153785600000,9.16619],[1153872000000,9.16968],[1153958400000,9.1315],[1154044800000,9.24165],[1154131200000,9.18868],[1154217600000,9.18868],[1154304000000,9.18868],[1154390400000,9.26341],[1154476800000,9.25761],[1154563200000,9.28457],[1154649600000,9.27357],[1154736000000,9.28289],[1154822400000,9.28289],[1154908800000,9.28289],[1154995200000,9.32363],[1155081600000,9.31565],[1155168000000,9.34468],[1155254400000,9.32737],[1155340800000,9.26922],[1155427200000,9.26922],[1155513600000,9.26922],[1155600000000,9.22918],[1155686400000,9.23294],[1155772800000,9.28361],[1155859200000,9.34602],[1155945600000,9.28881],[1156032000000,9.28881],[1156118400000,9.28881],[1156204800000,9.37505],[1156291200000,9.29606],[1156377600000,9.2974],[1156464000000,9.2974],[1156550400000,9.2974],[1156636800000,9.2974],[1156723200000,9.2974],[1156809600000,9.28736],[1156896000000,9.29316],[1156982400000,9.30042],[1157068800000,9.32436],[1157155200000,9.29836],[1157241600000,9.29836],[1157328000000,9.29836],[1157414400000,9.32375],[1157500800000,9.29194],[1157587200000,9.28228],[1157673600000,9.23597],[1157760000000,9.22291],[1157846400000,9.22291],[1157932800000,9.22291],[1158019200000,9.22291],[1158105600000,9.22],[1158192000000,9.19943],[1158278400000,9.23149],[1158364800000,9.19534],[1158451200000,9.19534],[1158537600000,9.19534],[1158624000000,9.1894],[1158710400000,9.1801],[1158796800000,9.19739],[1158883200000,9.23729],[1158969600000,9.29836],[1159056000000,9.29836],[1159142400000,9.29836],[1159228800000,9.26281],[1159315200000,9.21117],[1159401600000,9.20319],[1159488000000,9.22423],[1159574400000,9.18578],[1159660800000,9.18578],[1159747200000,9.18578],[1159833600000,9.20392],[1159920000000,9.24032],[1160006400000,9.20187],[1160092800000,9.22871],[1160179200000,9.18736],[1160265600000,9.18736],[1160352000000,9.18736],[1160438400000,9.1431],[1160524800000,9.09595],[1160611200000,9.10088],[1160697600000,9.09087],[1160784000000,9.10596],[1160870400000,9.10596],[1160956800000,9.10596],[1161043200000,9.08057],[1161129600000,9.0871],[1161216000000,9.09958],[1161302400000,9.11263],[1161388800000,9.1553],[1161475200000,9.1553],[1161561600000,9.1553],[1161648000000,9.11032],[1161734400000,9.09943],[1161820800000,9.12642],[1161907200000,9.17938],[1161993600000,9.20114],[1162080000000,9.20114],[1162166400000,9.20114],[1162252800000,9.22448],[1162339200000,9.21057],[1162425600000,9.25217],[1162512000000,9.26075],[1162598400000,9.25567],[1162684800000,9.25567],[1162771200000,9.25567],[1162857600000,9.2136],[1162944000000,9.2547],[1163030400000,9.26728],[1163116800000,9.28179],[1163203200000,9.33111],[1163289600000,9.33111],[1163376000000,9.33111],[1163462400000,9.30912],[1163548800000,9.30076],[1163635200000,9.27489],[1163721600000,9.26762],[1163808000000,9.24193],[1163894400000,9.24193],[1163980800000,9.24193],[1164067200000,9.29041],[1164153600000,9.2722],[1164240000000,9.33099],[1164326400000,9.3795],[1164412800000,9.4673],[1164499200000,9.4673],[1164585600000,9.4673],[1164672000000,9.492],[1164758400000,9.51452],[1164844800000,9.52176],[1164931200000,9.55288],[1165017600000,9.58472],[1165104000000,9.58472],[1165190400000,9.58472],[1165276800000,9.63176],[1165363200000,9.64492],[1165449600000,9.59818],[1165536000000,9.61206],[1165622400000,9.59825],[1165708800000,9.59825],[1165795200000,9.59825],[1165881600000,9.53487],[1165968000000,9.59572],[1166054400000,9.6068],[1166140800000,9.55257],[1166227200000,9.49165],[1166313600000,9.49165],[1166400000000,9.49165],[1166486400000,9.48233],[1166572800000,9.52795],[1166659200000,9.56053],[1166745600000,9.53833],[1166832000000,9.5512],[1166918400000,9.5512],[1167004800000,9.5512],[1167091200000,9.5512],[1167177600000,9.5512],[1167264000000,9.53277],[1167350400000,9.54154],[1167436800000,9.53937]], 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, 8.696691],[1137283200000, 8.696691],[1139961600000, 8.577774],[1142380800000, 8.632422],[1145059200000, 8.852122],[1147651200000, 9.251238],[1150329600000, 9.185231],[1152921600000, 9.205211],[1155600000000, 9.291743],[1158278400000, 9.242278],[1160870400000, 9.153109],[1163548800000, 9.319424],[1166140800000, 9.561082]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });