$(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: 'Курс SGD, грн'}, 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: 'Курс SGD', data: [[1168041600000,3.28989],[1168128000000,3.28989],[1168214400000,3.28989],[1168300800000,3.28989],[1168387200000,3.28655],[1168473600000,3.28489],[1168560000000,3.27551],[1168646400000,3.26889],[1168732800000,3.26889],[1168819200000,3.26889],[1168905600000,3.27546],[1168992000000,3.28113],[1169078400000,3.283],[1169164800000,3.28498],[1169251200000,3.28619],[1169337600000,3.28619],[1169424000000,3.28619],[1169510400000,3.28374],[1169596800000,3.29375],[1169683200000,3.28853],[1169769600000,3.28862],[1169856000000,3.28328],[1169942400000,3.28328],[1170028800000,3.28328],[1170115200000,3.27911],[1170201600000,3.28364],[1170288000000,3.28452],[1170374400000,3.29298],[1170460800000,3.28854],[1170547200000,3.28854],[1170633600000,3.28854],[1170720000000,3.29104],[1170806400000,3.29453],[1170892800000,3.29404],[1170979200000,3.29241],[1171065600000,3.29432],[1171152000000,3.29432],[1171238400000,3.29432],[1171324800000,3.28239],[1171411200000,3.27691],[1171497600000,3.28579],[1171584000000,3.2893],[1171670400000,3.29574],[1171756800000,3.29574],[1171843200000,3.29574],[1171929600000,3.29409],[1172016000000,3.29375],[1172102400000,3.29212],[1172188800000,3.29149],[1172275200000,3.29361],[1172361600000,null],[1172448000000,3.29361],[1172534400000,3.30472],[1172620800000,3.31045],[1172707200000,3.30504],[1172793600000,3.30953],[1172880000000,3.30926],[1172966400000,3.30926],[1173052800000,3.30926],[1173139200000,3.30181],[1173225600000,3.30445],[1173312000000,3.307],[1173398400000,3.307],[1173484800000,3.307],[1173571200000,3.307],[1173657600000,3.307],[1173744000000,3.30849],[1173830400000,3.30466],[1173916800000,3.29038],[1174003200000,3.29362],[1174089600000,3.308],[1174176000000,3.308],[1174262400000,3.308],[1174348800000,3.30806],[1174435200000,3.30779],[1174521600000,3.31504],[1174608000000,3.32836],[1174694400000,3.32895],[1174780800000,3.32895],[1174867200000,3.32895],[1174953600000,3.32563],[1175040000000,3.32983],[1175126400000,3.32712],[1175212800000,3.32582],[1175299200000,3.32884],[1175385600000,3.32884],[1175472000000,3.32884],[1175558400000,3.32635],[1175644800000,3.32551],[1175731200000,3.33404],[1175817600000,3.33483],[1175904000000,3.33483],[1175990400000,3.33483],[1176076800000,3.33483],[1176163200000,3.33483],[1176249600000,3.3262],[1176336000000,3.32977],[1176422400000,3.32673],[1176508800000,3.33219],[1176595200000,3.33219],[1176681600000,3.33219],[1176768000000,3.33679],[1176854400000,3.33703],[1176940800000,3.34148],[1177027200000,3.34169],[1177113600000,3.3421],[1177200000000,3.3421],[1177286400000,3.3421],[1177372800000,3.33737],[1177459200000,3.33507],[1177545600000,3.34129],[1177632000000,3.33349],[1177718400000,3.3311],[1177804800000,3.3311],[1177891200000,3.3311],[1177977600000,3.3311],[1178064000000,3.3311],[1178150400000,3.3311],[1178236800000,3.31416],[1178323200000,3.32394],[1178409600000,3.32394],[1178496000000,3.32394],[1178582400000,3.33555],[1178668800000,3.33258],[1178755200000,3.33258],[1178841600000,3.32885],[1178928000000,3.32508],[1179014400000,3.32508],[1179100800000,3.32508],[1179187200000,3.33134],[1179273600000,3.32637],[1179360000000,3.3239],[1179446400000,3.31258],[1179532800000,3.3138],[1179619200000,3.3138],[1179705600000,3.3138],[1179792000000,3.30939],[1179878400000,3.29307],[1179964800000,3.30253],[1180051200000,3.30667],[1180137600000,3.30366],[1180224000000,3.30366],[1180310400000,3.30366],[1180396800000,3.30366],[1180483200000,3.30621],[1180569600000,3.29946],[1180656000000,3.30051],[1180742400000,3.30211],[1180828800000,3.30211],[1180915200000,3.30211],[1181001600000,3.30217],[1181088000000,3.30384],[1181174400000,3.29729],[1181260800000,3.29109],[1181347200000,3.27261],[1181433600000,3.27261],[1181520000000,3.27261],[1181606400000,null],[1181692800000,3.2823],[1181779200000,3.27154],[1181865600000,null],[1181952000000,null],[1182038400000,3.27356],[1182124800000,3.27356],[1182211200000,3.28513],[1182297600000,3.28425],[1182384000000,null],[1182470400000,3.28629],[1182556800000,3.28496],[1182643200000,3.28496],[1182729600000,3.28496],[1182816000000,3.28396],[1182902400000,3.2842],[1182988800000,3.28295],[1183075200000,3.28295],[1183161600000,3.28295],[1183248000000,3.28295],[1183334400000,3.28295],[1183420800000,3.31111],[1183507200000,3.3146],[1183593600000,3.32082],[1183680000000,3.32474],[1183766400000,3.31738],[1183852800000,3.31738],[1183939200000,3.31738],[1184025600000,3.32428],[1184112000000,3.32755],[1184198400000,3.33282],[1184284800000,3.33203],[1184371200000,3.33377],[1184457600000,3.33377],[1184544000000,3.33377],[1184630400000,3.33081],[1184716800000,3.32824],[1184803200000,3.32444],[1184889600000,3.33848],[1184976000000,3.34221],[1185062400000,3.34221],[1185148800000,3.34221],[1185235200000,3.3485],[1185321600000,3.35478],[1185408000000,3.3463],[1185494400000,3.33315],[1185580800000,3.33709],[1185667200000,3.33709],[1185753600000,3.33709],[1185840000000,null],[1185926400000,3.34204],[1186012800000,3.32377],[1186099200000,3.32578],[1186185600000,3.32747],[1186272000000,3.32747],[1186358400000,3.32747],[1186444800000,3.33497],[1186531200000,3.33475],[1186617600000,3.34212],[1186704000000,3.33292],[1186790400000,3.31422],[1186876800000,3.31422],[1186963200000,3.31422],[1187049600000,3.32197],[1187136000000,3.32001],[1187222400000,3.2951],[1187308800000,3.27362],[1187395200000,3.28861],[1187481600000,3.28861],[1187568000000,3.28861],[1187654400000,3.30567],[1187740800000,3.30902],[1187827200000,3.30599],[1187913600000,3.31939],[1188000000000,3.31939],[1188086400000,3.31939],[1188172800000,3.31939],[1188259200000,3.32175],[1188345600000,3.3181],[1188432000000,3.31359],[1188518400000,3.31056],[1188604800000,3.31975],[1188691200000,3.31975],[1188777600000,3.31975],[1188864000000,3.31607],[1188950400000,3.3031],[1189036800000,3.30664],[1189123200000,3.30881],[1189209600000,3.31455],[1189296000000,3.31455],[1189382400000,3.31455],[1189468800000,3.31358],[1189555200000,3.3166],[1189641600000,3.3295],[1189728000000,3.34397],[1189814400000,3.33872],[1189900800000,3.33872],[1189987200000,3.33872],[1190073600000,3.33312],[1190160000000,3.33056],[1190246400000,3.34997],[1190332800000,3.35837],[1190419200000,3.3518],[1190505600000,3.3518],[1190592000000,3.3518],[1190678400000,3.36786],[1190764800000,3.36444],[1190851200000,null],[1190937600000,null],[1191024000000,3.39903],[1191110400000,3.39903],[1191196800000,3.39903],[1191283200000,3.41336],[1191369600000,3.40716],[1191456000000,3.41226],[1191542400000,3.40993],[1191628800000,3.42432],[1191715200000,3.42432],[1191801600000,3.42432],[1191888000000,3.43203],[1191974400000,3.42664],[1192060800000,3.44691],[1192147200000,3.45333],[1192233600000,3.44933],[1192320000000,3.44933],[1192406400000,3.44933],[1192492800000,3.45175],[1192579200000,3.44092],[1192665600000,3.45108],[1192752000000,3.46098],[1192838400000,3.45302],[1192924800000,3.45302],[1193011200000,3.45302],[1193097600000,3.44298],[1193184000000,3.44646],[1193270400000,3.45471],[1193356800000,3.46872],[1193443200000,3.47108],[1193529600000,3.47108],[1193616000000,3.47108],[1193702400000,3.47941],[1193788800000,3.48145],[1193875200000,3.48561],[1193961600000,3.48515],[1194048000000,3.48601],[1194134400000,3.48601],[1194220800000,3.48601],[1194307200000,3.48186],[1194393600000,3.48857],[1194480000000,3.5102],[1194566400000,3.50728],[1194652800000,3.50239],[1194739200000,3.50239],[1194825600000,3.50239],[1194912000000,3.48714],[1194998400000,3.48624],[1195084800000,3.49275],[1195171200000,3.4781],[1195257600000,3.47784],[1195344000000,3.47784],[1195430400000,3.47784],[1195516800000,3.48921],[1195603200000,3.48866],[1195689600000,3.47698],[1195776000000,3.48066],[1195862400000,3.50217],[1195948800000,3.50217],[1196035200000,3.50217],[1196121600000,3.50413],[1196208000000,3.49724],[1196294400000,3.4975],[1196380800000,3.48408],[1196467200000,3.49377],[1196553600000,3.49377],[1196640000000,3.49377],[1196726400000,3.48337],[1196812800000,3.48903],[1196899200000,3.4957],[1196985600000,3.48959],[1197072000000,3.50372],[1197158400000,3.50372],[1197244800000,3.50372],[1197331200000,3.50792],[1197417600000,3.50142],[1197504000000,3.50379],[1197590400000,3.50521],[1197676800000,3.49206],[1197763200000,3.49206],[1197849600000,3.49206],[1197936000000,3.45936],[1198022400000,3.46094],[1198108800000,3.45793],[1198195200000,3.45569],[1198281600000,3.46878],[1198368000000,3.46878],[1198454400000,3.46878],[1198540800000,3.47213],[1198627200000,3.47213],[1198713600000,3.47213],[1198800000000,3.48031],[1198886400000,3.49217]], 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: [[1168819200000, 3.283213],[1168819200000, 3.283213],[1171497600000, 3.292353],[1173916800000, 3.312518],[1176595200000, 3.334027],[1179187200000, 3.317796],[1181865600000, 3.286445],[1184457600000, 3.328330],[1187136000000, 3.316135],[1189814400000, 3.336255],[1192406400000, 3.444270],[1195084800000, 3.490887],[1197676800000, 3.485304]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });