$(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: 'Курс ISK, грн'}, 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: 'Курс ISK', data: [[1104883200000,0.079891],[1104969600000,0.084282],[1105056000000,0.084108],[1105142400000,null],[1105228800000,0.084108],[1105315200000,null],[1105401600000,0.083756],[1105488000000,0.084092],[1105574400000,0.08428],[1105660800000,0.085081],[1105747200000,0.084509],[1105833600000,0.084509],[1105920000000,0.084509],[1106006400000,0.084853],[1106092800000,0.085084],[1106179200000,0.084574],[1106265600000,0.084574],[1106352000000,0.084387],[1106438400000,0.084387],[1106524800000,0.084387],[1106611200000,null],[1106697600000,0.084924],[1106784000000,0.084846],[1106870400000,0.084961],[1106956800000,0.085597],[1107043200000,0.085597],[1107129600000,0.085214],[1107216000000,0.085214],[1107302400000,0.085855],[1107388800000,0.086267],[1107475200000,0.08548],[1107561600000,0.084303],[1107648000000,0.084303],[1107734400000,0.084303],[1107820800000,0.08407],[1107907200000,0.083334],[1107993600000,0.083584],[1108080000000,0.083898],[1108166400000,0.084166],[1108252800000,0.084166],[1108339200000,0.084166],[1108425600000,0.0847],[1108512000000,0.085073],[1108598400000,0.085225],[1108684800000,0.085189],[1108771200000,0.085641],[1108857600000,0.085641],[1108944000000,0.085641],[1109030400000,0.086583],[1109116800000,0.086922],[1109203200000,0.086933],[1109289600000,0.087091],[1109376000000,0.086941],[1109462400000,0.086941],[1109548800000,0.086941],[1109635200000,0.08745],[1109721600000,0.087263],[1109808000000,0.086902],[1109894400000,0.087187],[1109980800000,0.08705],[1110067200000,0.08705],[1110153600000,0.08705],[1110240000000,0.08705],[1110326400000,0.08705],[1110412800000,0.089336],[1110499200000,0.089751],[1110585600000,0.089632],[1110672000000,0.089632],[1110758400000,0.089632],[1110844800000,0.089613],[1110931200000,0.090162],[1111017600000,0.089941],[1111104000000,0.090503],[1111190400000,0.089992],[1111276800000,0.089992],[1111363200000,0.089992],[1111449600000,null],[1111536000000,0.088628],[1111622400000,0.086391],[1111708800000,0.086043],[1111795200000,0.086043],[1111881600000,0.086043],[1111968000000,0.086043],[1112054400000,0.086043],[1112140800000,0.085938],[1112227200000,0.086158],[1112313600000,0.087052],[1112400000000,0.087074],[1112486400000,0.087074],[1112572800000,0.087074],[1112659200000,0.086728],[1112745600000,0.086358],[1112832000000,0.086131],[1112918400000,0.08635],[1113004800000,0.085818],[1113091200000,0.085818],[1113177600000,0.085818],[1113264000000,0.085957],[1113350400000,0.084983],[1113436800000,0.083304],[1113523200000,0.083013],[1113609600000,0.083196],[1113696000000,0.083196],[1113782400000,0.083196],[1113868800000,0.082768],[1113955200000,0.082376],[1114041600000,0.080737],[1114128000000,0.080664],[1114214400000,0.081069],[1114300800000,0.081069],[1114387200000,0.081069],[1114473600000,0.079764],[1114560000000,0.079498],[1114646400000,0.07922],[1114732800000,0.079186],[1114819200000,0.080119],[1114905600000,0.080119],[1114992000000,0.080119],[1115078400000,0.080119],[1115164800000,0.080119],[1115251200000,0.078858],[1115337600000,0.078684],[1115424000000,0.078708],[1115510400000,0.078708],[1115596800000,0.078708],[1115683200000,0.078708],[1115769600000,0.078011],[1115856000000,0.077918],[1115942400000,0.076514],[1116028800000,0.075735],[1116115200000,0.075735],[1116201600000,0.075735],[1116288000000,0.075621],[1116374400000,0.076614],[1116460800000,0.076846],[1116547200000,0.077733],[1116633600000,0.077679],[1116720000000,0.077679],[1116806400000,0.077679],[1116892800000,0.077343],[1116979200000,0.078632],[1117065600000,0.078225],[1117152000000,0.078056],[1117238400000,0.078125],[1117324800000,0.078125],[1117411200000,0.078125],[1117497600000,0.078182],[1117584000000,0.078025],[1117670400000,0.078105],[1117756800000,0.07771],[1117843200000,0.077016],[1117929600000,0.077016],[1118016000000,0.077016],[1118102400000,0.078149],[1118188800000,0.079049],[1118275200000,0.07932],[1118361600000,0.078583],[1118448000000,0.078449],[1118534400000,0.078449],[1118620800000,0.078449],[1118707200000,0.077045],[1118793600000,0.076847],[1118880000000,0.076462],[1118966400000,null],[1119052800000,0.077613],[1119139200000,0.077613],[1119225600000,0.077613],[1119312000000,null],[1119398400000,0.076684],[1119484800000,0.076969],[1119571200000,0.076385],[1119657600000,0.076659],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.07714],[1120176000000,null],[1120262400000,0.077577],[1120348800000,0.077577],[1120435200000,0.077577],[1120521600000,0.076905],[1120608000000,0.07655],[1120694400000,0.076939],[1120780800000,0.076928],[1120867200000,0.076646],[1120953600000,0.076646],[1121040000000,0.076646],[1121126400000,0.077057],[1121212800000,0.077956],[1121299200000,0.078021],[1121385600000,0.077508],[1121472000000,0.077704],[1121558400000,0.077704],[1121644800000,0.077704],[1121731200000,0.077474],[1121817600000,0.077275],[1121904000000,0.077623],[1121990400000,0.07847],[1122076800000,0.078117],[1122163200000,0.078117],[1122249600000,0.078117],[1122336000000,0.078073],[1122422400000,0.077848],[1122508800000,0.078118],[1122595200000,0.078521],[1122681600000,0.077975],[1122768000000,0.077975],[1122854400000,0.077975],[1122940800000,0.078446],[1123027200000,0.078734],[1123113600000,0.079635],[1123200000000,0.079615],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,0.07837],[1123718400000,0.078651],[1123804800000,0.078819],[1123891200000,0.07961],[1123977600000,0.07961],[1124064000000,0.07961],[1124150400000,0.079411],[1124236800000,0.07901],[1124323200000,0.078971],[1124409600000,0.078889],[1124496000000,0.078766],[1124582400000,0.078766],[1124668800000,0.078766],[1124755200000,0.079178],[1124841600000,0.079272],[1124928000000,0.079272],[1125014400000,0.079566],[1125100800000,0.079619],[1125187200000,0.079619],[1125273600000,0.079619],[1125360000000,0.080015],[1125446400000,0.079476],[1125532800000,0.080052],[1125619200000,0.081267],[1125705600000,0.082496],[1125792000000,0.082496],[1125878400000,0.082496],[1125964800000,0.08224],[1126051200000,0.081678],[1126137600000,0.081437],[1126224000000,0.080667],[1126310400000,0.08041],[1126396800000,0.08041],[1126483200000,0.08041],[1126569600000,null],[1126656000000,null],[1126742400000,0.081214],[1126828800000,null],[1126915200000,null],[1127001600000,0.081534],[1127088000000,0.081534],[1127174400000,0.081302],[1127260800000,0.081826],[1127347200000,0.082227],[1127433600000,0.082319],[1127520000000,0.081378],[1127606400000,0.081378],[1127692800000,0.081378],[1127779200000,0.080515],[1127865600000,0.080309],[1127952000000,0.080099],[1128038400000,0.080452],[1128124800000,0.082045],[1128211200000,0.082045],[1128297600000,0.082045],[1128384000000,0.081955],[1128470400000,0.082045],[1128556800000,0.082399],[1128643200000,0.082286],[1128729600000,0.081988],[1128816000000,0.081988],[1128902400000,0.081988],[1128988800000,0.082115],[1129075200000,0.082365],[1129161600000,0.082403],[1129248000000,0.081933],[1129334400000,0.08269],[1129420800000,0.08269],[1129507200000,0.08269],[1129593600000,0.082769],[1129680000000,0.082601],[1129766400000,0.082838],[1129852800000,0.083732],[1129939200000,0.083959],[1130025600000,0.083959],[1130112000000,0.083959],[1130198400000,0.083588],[1130284800000,0.083786],[1130371200000,0.083766],[1130457600000,0.083627],[1130544000000,0.083329],[1130630400000,0.083329],[1130716800000,0.083329],[1130803200000,0.082394],[1130889600000,0.083827],[1130976000000,0.084498],[1131062400000,0.084478],[1131148800000,0.083697],[1131235200000,0.083697],[1131321600000,0.083697],[1131408000000,0.083559],[1131494400000,0.082476],[1131580800000,0.081795],[1131667200000,0.081658],[1131753600000,0.081442],[1131840000000,0.081442],[1131926400000,0.081442],[1132012800000,0.081195],[1132099200000,0.080932],[1132185600000,0.081359],[1132272000000,0.081553],[1132358400000,0.081373],[1132444800000,0.081373],[1132531200000,0.081373],[1132617600000,0.081516],[1132704000000,0.080046],[1132790400000,0.080114],[1132876800000,0.080011],[1132963200000,0.080047],[1133049600000,0.080047],[1133136000000,0.080047],[1133222400000,0.079538],[1133308800000,0.07965],[1133395200000,0.079894],[1133481600000,0.079721],[1133568000000,0.079044],[1133654400000,0.079044],[1133740800000,0.079044],[1133827200000,0.078582],[1133913600000,0.078028],[1134000000000,0.077769],[1134086400000,0.078086],[1134172800000,0.078837],[1134259200000,0.078837],[1134345600000,0.078837],[1134432000000,0.079954],[1134518400000,0.08005],[1134604800000,0.081129],[1134691200000,0.080998],[1134777600000,0.081042],[1134864000000,0.081042],[1134950400000,0.081042],[1135036800000,0.080122],[1135123200000,0.079848],[1135209600000,0.079493],[1135296000000,0.078845],[1135382400000,0.079238],[1135468800000,0.079238],[1135555200000,0.079238],[1135641600000,0.079238],[1135728000000,0.079328],[1135814400000,0.079356],[1135900800000,0.079262]], 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.084438],[1105747200000, 0.084438],[1108425600000, 0.085306],[1110844800000, 0.087985],[1113523200000, 0.083523],[1116115200000, 0.077973],[1118793600000, 0.077599],[1121385600000, 0.077578],[1124064000000, 0.079159],[1126742400000, 0.081289],[1129334400000, 0.082782],[1132012800000, 0.081676],[1134604800000, 0.079473]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });