$(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: 'Курс TRY, грн'}, 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: 'Курс TRY', data: [[1136246400000,3.7412],[1136332800000,3.7412],[1136419200000,3.7412],[1136505600000,3.7775],[1136592000000,3.77416],[1136678400000,3.77416],[1136764800000,3.77416],[1136851200000,3.77416],[1136937600000,3.73602],[1137024000000,3.76585],[1137110400000,3.7734],[1137196800000,3.76219],[1137283200000,3.76219],[1137369600000,3.76219],[1137456000000,3.78781],[1137542400000,3.78069],[1137628800000,3.77738],[1137715200000,3.77421],[1137801600000,3.77826],[1137888000000,3.77826],[1137974400000,3.77826],[1138060800000,3.81062],[1138147200000,3.82081],[1138233600000,3.81825],[1138320000000,3.81286],[1138406400000,3.80988],[1138492800000,3.80988],[1138579200000,3.80988],[1138665600000,3.8015],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,3.80051],[1139270400000,3.80051],[1139356800000,3.79749],[1139443200000,3.78291],[1139529600000,3.79527],[1139616000000,3.80586],[1139702400000,3.80586],[1139788800000,3.80586],[1139875200000,3.79844],[1139961600000,3.80766],[1140048000000,3.77182],[1140134400000,3.79414],[1140220800000,3.80345],[1140307200000,3.80345],[1140393600000,3.80345],[1140480000000,3.83019],[1140566400000,3.83379],[1140652800000,3.79429],[1140739200000,3.83018],[1140825600000,3.82058],[1140912000000,3.82058],[1140998400000,3.82058],[1141084800000,3.83425],[1141171200000,3.84785],[1141257600000,3.84312],[1141344000000,3.87145],[1141430400000,3.87618],[1141516800000,3.87618],[1141603200000,3.87618],[1141689600000,3.85356],[1141776000000,3.80764],[1141862400000,3.80764],[1141948800000,3.75873],[1142035200000,3.74206],[1142121600000,3.74206],[1142208000000,3.74206],[1142294400000,3.74999],[1142380800000,3.74534],[1142467200000,3.78979],[1142553600000,3.77624],[1142640000000,3.81466],[1142726400000,3.81466],[1142812800000,3.81466],[1142899200000,3.79264],[1142985600000,3.77166],[1143072000000,3.74952],[1143158400000,3.77958],[1143244800000,3.74286],[1143331200000,3.74286],[1143417600000,3.74286],[1143504000000,3.75781],[1143590400000,3.72099],[1143676800000,3.70673],[1143763200000,3.75099],[1143849600000,3.74473],[1143936000000,3.74473],[1144022400000,3.74473],[1144108800000,3.74996],[1144195200000,3.78038],[1144281600000,3.78087],[1144368000000,3.77073],[1144454400000,3.78253],[1144540800000,3.78253],[1144627200000,3.78253],[1144713600000,3.75422],[1144800000000,3.77114],[1144886400000,3.76229],[1144972800000,3.73546],[1145059200000,3.73546],[1145145600000,3.73546],[1145232000000,3.73546],[1145318400000,3.73546],[1145404800000,3.75805],[1145491200000,3.79472],[1145577600000,3.79819],[1145664000000,3.80604],[1145750400000,3.80604],[1145836800000,3.80604],[1145923200000,3.80604],[1146009600000,3.81738],[1146096000000,3.80165],[1146182400000,3.80405],[1146268800000,3.81397],[1146355200000,3.81397],[1146441600000,3.81397],[1146528000000,3.81397],[1146614400000,3.81397],[1146700800000,3.83636],[1146787200000,3.81347],[1146873600000,3.82648],[1146960000000,3.82648],[1147046400000,3.82648],[1147132800000,3.82648],[1147219200000,3.82648],[1147305600000,3.75765],[1147392000000,3.71082],[1147478400000,3.59712],[1147564800000,3.59712],[1147651200000,3.59712],[1147737600000,3.43487],[1147824000000,3.48363],[1147910400000,3.52024],[1147996800000,3.36579],[1148083200000,3.41526],[1148169600000,3.41526],[1148256000000,3.41526],[1148342400000,3.32229],[1148428800000,3.353],[1148515200000,3.26611],[1148601600000,3.25811],[1148688000000,3.27463],[1148774400000,3.27463],[1148860800000,3.27463],[1148947200000,3.2947],[1149033600000,3.2606],[1149120000000,3.24285],[1149206400000,3.22957],[1149292800000,3.28423],[1149379200000,3.28423],[1149465600000,3.28423],[1149552000000,3.19833],[1149638400000,3.23175],[1149724800000,3.22761],[1149811200000,3.24807],[1149897600000,3.27853],[1149984000000,3.27853],[1150070400000,3.27853],[1150156800000,3.27853],[1150243200000,3.13344],[1150329600000,3.15245],[1150416000000,3.17529],[1150502400000,3.17138],[1150588800000,3.17138],[1150675200000,3.17138],[1150761600000,3.14541],[1150848000000,3.11921],[1150934400000,3.02689],[1151020800000,2.98825],[1151107200000,2.95923],[1151193600000,2.95923],[1151280000000,2.95923],[1151366400000,3.04893],[1151452800000,3.07686],[1151539200000,3.07686],[1151625600000,3.14549],[1151712000000,3.19804],[1151798400000,3.19804],[1151884800000,3.19804],[1151971200000,3.20305],[1152057600000,3.27227],[1152144000000,3.20485],[1152230400000,3.18754],[1152316800000,3.2394],[1152403200000,3.2394],[1152489600000,3.2394],[1152576000000,3.23574],[1152662400000,3.26896],[1152748800000,3.23593],[1152835200000,3.18008],[1152921600000,3.19019],[1153008000000,3.19019],[1153094400000,3.19019],[1153180800000,3.17613],[1153267200000,3.19072],[1153353600000,3.20214],[1153440000000,3.2517],[1153526400000,3.24667],[1153612800000,3.24667],[1153699200000,3.24667],[1153785600000,3.25493],[1153872000000,3.29777],[1153958400000,3.32137],[1154044800000,3.3501],[1154131200000,3.358],[1154217600000,3.358],[1154304000000,3.358],[1154390400000,3.39155],[1154476800000,3.36464],[1154563200000,3.35217],[1154649600000,3.37133],[1154736000000,3.3891],[1154822400000,3.3891],[1154908800000,3.3891],[1154995200000,3.44458],[1155081600000,3.44401],[1155168000000,3.4743],[1155254400000,3.48139],[1155340800000,3.48704],[1155427200000,3.48704],[1155513600000,3.48704],[1155600000000,3.44467],[1155686400000,3.44011],[1155772800000,3.48179],[1155859200000,3.5069],[1155945600000,3.50217],[1156032000000,3.50217],[1156118400000,3.50217],[1156204800000,3.49405],[1156291200000,3.46939],[1156377600000,3.46196],[1156464000000,3.46196],[1156550400000,3.46196],[1156636800000,3.46196],[1156723200000,3.46196],[1156809600000,3.39246],[1156896000000,3.4246],[1156982400000,3.43309],[1157068800000,3.4686],[1157155200000,3.43428],[1157241600000,3.43428],[1157328000000,3.43428],[1157414400000,3.46702],[1157500800000,3.47686],[1157587200000,3.44797],[1157673600000,3.41522],[1157760000000,3.41457],[1157846400000,3.41457],[1157932800000,3.41457],[1158019200000,3.41457],[1158105600000,3.41767],[1158192000000,3.43633],[1158278400000,3.41652],[1158364800000,3.42916],[1158451200000,3.42916],[1158537600000,3.42916],[1158624000000,3.45664],[1158710400000,3.43748],[1158796800000,3.42576],[1158883200000,3.42888],[1158969600000,3.29931],[1159056000000,3.29931],[1159142400000,3.29931],[1159228800000,3.34518],[1159315200000,3.29952],[1159401600000,3.3775],[1159488000000,3.35637],[1159574400000,3.34518],[1159660800000,3.34518],[1159747200000,3.34518],[1159833600000,3.33381],[1159920000000,3.36323],[1160006400000,3.33286],[1160092800000,3.36517],[1160179200000,3.38162],[1160265600000,3.38162],[1160352000000,3.38162],[1160438400000,3.3632],[1160524800000,3.36792],[1160611200000,3.38276],[1160697600000,3.407],[1160784000000,3.43323],[1160870400000,3.43323],[1160956800000,3.43323],[1161043200000,3.41737],[1161129600000,3.40987],[1161216000000,3.42464],[1161302400000,3.46629],[1161388800000,3.46215],[1161475200000,3.46215],[1161561600000,3.46215],[1161648000000,3.45547],[1161734400000,3.4304],[1161820800000,3.43865],[1161907200000,3.48311],[1161993600000,3.48036],[1162080000000,3.48036],[1162166400000,3.48036],[1162252800000,3.46204],[1162339200000,3.46286],[1162425600000,3.46826],[1162512000000,3.45294],[1162598400000,3.44367],[1162684800000,3.44367],[1162771200000,3.44367],[1162857600000,3.48747],[1162944000000,3.49462],[1163030400000,3.46373],[1163116800000,3.47886],[1163203200000,3.49264],[1163289600000,3.49264],[1163376000000,3.49264],[1163462400000,3.47557],[1163548800000,3.48835],[1163635200000,3.48246],[1163721600000,3.50462],[1163808000000,3.49489],[1163894400000,3.49489],[1163980800000,3.49489],[1164067200000,3.46017],[1164153600000,3.45308],[1164240000000,3.43581],[1164326400000,3.42834],[1164412800000,3.42374],[1164499200000,3.42374],[1164585600000,3.42374],[1164672000000,3.4403],[1164758400000,3.40998],[1164844800000,3.43729],[1164931200000,3.47007],[1165017600000,3.47386],[1165104000000,3.47386],[1165190400000,3.47386],[1165276800000,3.46142],[1165363200000,3.48275],[1165449600000,3.49116],[1165536000000,3.52585],[1165622400000,3.51844],[1165708800000,3.51844],[1165795200000,3.51844],[1165881600000,3.52644],[1165968000000,3.54268],[1166054400000,3.54079],[1166140800000,3.54548],[1166227200000,3.54387],[1166313600000,3.54387],[1166400000000,3.54387],[1166486400000,3.54336],[1166572800000,3.52602],[1166659200000,3.5362],[1166745600000,3.53307],[1166832000000,3.54171],[1166918400000,3.54171],[1167004800000,3.54171],[1167091200000,3.54171],[1167177600000,3.54171],[1167264000000,3.54397],[1167350400000,3.56733],[1167436800000,3.56805]], 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, 3.779591],[1137283200000, 3.779591],[1139961600000, 3.807005],[1142380800000, 3.787371],[1145059200000, 3.775160],[1147651200000, 3.552031],[1150329600000, 3.160863],[1152921600000, 3.242909],[1155600000000, 3.446961],[1158278400000, 3.405508],[1160870400000, 3.415040],[1163548800000, 3.462984],[1166140800000, 3.524057]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });