$(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: 'Курс NOK, грн'}, 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: 'Курс NOK', data: [[1104883200000,0.746085],[1104969600000,0.846936],[1105056000000,0.847347],[1105142400000,null],[1105228800000,0.847347],[1105315200000,null],[1105401600000,0.844886],[1105488000000,0.84979],[1105574400000,0.85062],[1105660800000,0.857461],[1105747200000,0.849434],[1105833600000,0.849434],[1105920000000,0.849434],[1106006400000,0.846972],[1106092800000,0.84886],[1106179200000,0.838918],[1106265600000,0.838918],[1106352000000,0.838823],[1106438400000,0.838823],[1106524800000,0.838823],[1106611200000,null],[1106697600000,0.841844],[1106784000000,0.838355],[1106870400000,0.838165],[1106956800000,0.838016],[1107043200000,0.838016],[1107129600000,0.83697],[1107216000000,0.83697],[1107302400000,0.83293],[1107388800000,0.837427],[1107475200000,0.834409],[1107561600000,0.828393],[1107648000000,0.828393],[1107734400000,0.828393],[1107820800000,0.815716],[1107907200000,0.805747],[1107993600000,0.809625],[1108080000000,0.803206],[1108166400000,0.808879],[1108252800000,0.808879],[1108339200000,0.808879],[1108425600000,0.81646],[1108512000000,0.823901],[1108598400000,0.826657],[1108684800000,0.826029],[1108771200000,0.833675],[1108857600000,0.833675],[1108944000000,0.833675],[1109030400000,0.83495],[1109116800000,0.845357],[1109203200000,0.846971],[1109289600000,0.853245],[1109376000000,0.844415],[1109462400000,0.844415],[1109548800000,0.844415],[1109635200000,0.854609],[1109721600000,0.852764],[1109808000000,0.845929],[1109894400000,0.847157],[1109980800000,0.844525],[1110067200000,0.844525],[1110153600000,0.844525],[1110240000000,0.844525],[1110326400000,0.844525],[1110412800000,0.864837],[1110499200000,0.86896],[1110585600000,0.868914],[1110672000000,0.868914],[1110758400000,0.868914],[1110844800000,0.865991],[1110931200000,0.865497],[1111017600000,0.86322],[1111104000000,0.869792],[1111190400000,0.864491],[1111276800000,0.864491],[1111363200000,0.864491],[1111449600000,null],[1111536000000,0.852833],[1111622400000,0.842289],[1111708800000,0.836088],[1111795200000,0.836088],[1111881600000,0.836088],[1111968000000,0.836088],[1112054400000,0.836088],[1112140800000,0.830526],[1112227200000,0.834955],[1112313600000,0.83424],[1112400000000,0.835037],[1112486400000,0.835037],[1112572800000,0.835037],[1112659200000,0.829726],[1112745600000,0.828461],[1112832000000,0.830617],[1112918400000,0.83515],[1113004800000,0.827539],[1113091200000,0.827539],[1113177600000,0.827539],[1113264000000,0.836219],[1113350400000,0.836418],[1113436800000,0.829889],[1113523200000,0.817097],[1113609600000,0.818319],[1113696000000,0.818319],[1113782400000,0.818319],[1113868800000,0.823452],[1113955200000,0.8218],[1114041600000,0.804953],[1114128000000,0.80852],[1114214400000,0.809052],[1114300800000,0.809052],[1114387200000,0.809052],[1114473600000,0.802922],[1114560000000,0.806174],[1114646400000,0.80283],[1114732800000,0.800126],[1114819200000,0.803547],[1114905600000,0.803547],[1114992000000,0.803547],[1115078400000,0.803547],[1115164800000,0.803547],[1115251200000,0.806419],[1115337600000,0.806441],[1115424000000,0.806045],[1115510400000,0.806045],[1115596800000,0.806045],[1115683200000,0.806045],[1115769600000,0.802283],[1115856000000,0.804826],[1115942400000,0.797004],[1116028800000,0.788127],[1116115200000,0.788127],[1116201600000,0.788127],[1116288000000,0.785235],[1116374400000,0.788228],[1116460800000,0.787448],[1116547200000,0.786863],[1116633600000,0.782658],[1116720000000,0.782658],[1116806400000,0.782658],[1116892800000,0.78106],[1116979200000,0.787734],[1117065600000,0.787589],[1117152000000,0.789626],[1117238400000,0.795164],[1117324800000,0.795164],[1117411200000,0.795164],[1117497600000,0.7914],[1117584000000,0.784375],[1117670400000,0.780757],[1117756800000,0.784081],[1117843200000,0.78654],[1117929600000,0.78654],[1118016000000,0.78654],[1118102400000,0.787996],[1118188800000,0.790387],[1118275200000,0.78858],[1118361600000,0.781805],[1118448000000,0.788741],[1118534400000,0.788741],[1118620800000,0.788741],[1118707200000,0.77688],[1118793600000,0.777199],[1118880000000,0.775109],[1118966400000,null],[1119052800000,0.78284],[1119139200000,0.78284],[1119225600000,0.78284],[1119312000000,null],[1119398400000,0.77629],[1119484800000,0.777312],[1119571200000,0.76915],[1119657600000,0.766065],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.771596],[1120176000000,null],[1120262400000,0.77528],[1120348800000,0.77528],[1120435200000,0.77528],[1120521600000,0.762852],[1120608000000,0.759016],[1120694400000,0.760933],[1120780800000,0.76355],[1120867200000,0.764075],[1120953600000,0.764075],[1121040000000,0.764075],[1121126400000,0.767067],[1121212800000,0.778815],[1121299200000,0.780659],[1121385600000,0.769991],[1121472000000,0.765782],[1121558400000,0.765782],[1121644800000,0.765782],[1121731200000,0.766308],[1121817600000,0.754529],[1121904000000,0.765207],[1121990400000,0.773948],[1122076800000,0.769026],[1122163200000,0.769026],[1122249600000,0.769026],[1122336000000,0.769733],[1122422400000,0.767229],[1122508800000,0.76611],[1122595200000,0.773628],[1122681600000,0.774308],[1122768000000,0.774308],[1122854400000,0.774308],[1122940800000,0.785313],[1123027200000,0.786285],[1123113600000,0.792546],[1123200000000,0.789579],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,0.791501],[1123718400000,0.791539],[1123804800000,0.793229],[1123891200000,0.797463],[1123977600000,0.797463],[1124064000000,0.797463],[1124150400000,0.785923],[1124236800000,0.781999],[1124323200000,0.783877],[1124409600000,0.77638],[1124496000000,0.770931],[1124582400000,0.770931],[1124668800000,0.770931],[1124755200000,0.773678],[1124841600000,0.771389],[1124928000000,0.771389],[1125014400000,0.781952],[1125100800000,0.784133],[1125187200000,0.784133],[1125273600000,0.784133],[1125360000000,0.785861],[1125446400000,0.775175],[1125532800000,0.783116],[1125619200000,0.797494],[1125705600000,0.813775],[1125792000000,0.813775],[1125878400000,0.813775],[1125964800000,0.809162],[1126051200000,0.805406],[1126137600000,0.805451],[1126224000000,0.80507],[1126310400000,0.803998],[1126396800000,0.803998],[1126483200000,0.803998],[1126569600000,null],[1126656000000,null],[1126742400000,0.795824],[1126828800000,null],[1126915200000,null],[1127001600000,0.793215],[1127088000000,0.793215],[1127174400000,0.786527],[1127260800000,0.789221],[1127347200000,0.792252],[1127433600000,0.793562],[1127520000000,0.785469],[1127606400000,0.785469],[1127692800000,0.785469],[1127779200000,0.776789],[1127865600000,0.775209],[1127952000000,0.77668],[1128038400000,0.779403],[1128124800000,0.772021],[1128211200000,0.772021],[1128297600000,0.772021],[1128384000000,0.764208],[1128470400000,0.764917],[1128556800000,0.764572],[1128643200000,0.773583],[1128729600000,0.777475],[1128816000000,0.777475],[1128902400000,0.777475],[1128988800000,0.775512],[1129075200000,0.773883],[1129161600000,0.777242],[1129248000000,0.774189],[1129334400000,0.773536],[1129420800000,0.773536],[1129507200000,0.773536],[1129593600000,0.776605],[1129680000000,0.770769],[1129766400000,0.773339],[1129852800000,0.77388],[1129939200000,0.778449],[1130025600000,0.778449],[1130112000000,0.778449],[1130198400000,0.770679],[1130284800000,0.774647],[1130371200000,0.778547],[1130457600000,0.784234],[1130544000000,0.784952],[1130630400000,0.784952],[1130716800000,0.784952],[1130803200000,0.777814],[1130889600000,0.779189],[1130976000000,0.777901],[1131062400000,0.778829],[1131148800000,0.772833],[1131235200000,0.772833],[1131321600000,0.772833],[1131408000000,0.767299],[1131494400000,0.76074],[1131580800000,0.765011],[1131667200000,0.767715],[1131753600000,0.762684],[1131840000000,0.762684],[1131926400000,0.762684],[1132012800000,0.760389],[1132099200000,0.756042],[1132185600000,0.754705],[1132272000000,0.75173],[1132358400000,0.748274],[1132444800000,0.748274],[1132531200000,0.748274],[1132617600000,0.755629],[1132704000000,0.752692],[1132790400000,0.756312],[1132876800000,0.7558],[1132963200000,0.754134],[1133049600000,0.754134],[1133136000000,0.754134],[1133222400000,0.752431],[1133308800000,0.749209],[1133395200000,0.745574],[1133481600000,0.744007],[1133568000000,0.746114],[1133654400000,0.746114],[1133740800000,0.746114],[1133827200000,0.752766],[1133913600000,0.755608],[1134000000000,0.746095],[1134086400000,0.74963],[1134172800000,0.750779],[1134259200000,0.750779],[1134345600000,0.750779],[1134432000000,0.754889],[1134518400000,0.757309],[1134604800000,0.763439],[1134691200000,0.761291],[1134777600000,0.759417],[1134864000000,0.759417],[1134950400000,0.759417],[1135036800000,0.75501],[1135123200000,0.751559],[1135209600000,0.744811],[1135296000000,0.743244],[1135382400000,0.745896],[1135468800000,0.745896],[1135555200000,0.745896],[1135641600000,0.745896],[1135728000000,0.746478],[1135814400000,0.749481],[1135900800000,0.744917]], 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: [[1105747200000, 0.840012],[1105747200000, 0.840012],[1108425600000, 0.828417],[1110844800000, 0.852088],[1113523200000, 0.820733],[1116115200000, 0.794786],[1118793600000, 0.781748],[1121385600000, 0.768356],[1124064000000, 0.783315],[1126742400000, 0.794897],[1129334400000, 0.775165],[1132012800000, 0.761107],[1134604800000, 0.750621]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });