$(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: 'Курс PLN, грн'}, 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: 'Курс PLN', data: [[1262736000000,2.81817],[1262822400000,2.79796],[1262908800000,2.79796],[1262995200000,2.79796],[1263081600000,2.79796],[1263168000000,2.79796],[1263254400000,2.86046],[1263340800000,2.8362],[1263427200000,2.87361],[1263513600000,2.8558],[1263600000000,2.84683],[1263686400000,2.84683],[1263772800000,2.84683],[1263859200000,2.85801],[1263945600000,2.83628],[1264032000000,2.81203],[1264118400000,2.77846],[1264204800000,2.75973],[1264291200000,2.75973],[1264377600000,2.75973],[1264464000000,2.78608],[1264550400000,2.75653],[1264636800000,2.7595],[1264723200000,2.75172],[1264809600000,2.76089],[1264896000000,2.76089],[1264982400000,2.76089],[1265068800000,2.77923],[1265155200000,2.79334],[1265241600000,2.80937],[1265328000000,2.75056],[1265414400000,2.67972],[1265500800000,2.67972],[1265587200000,2.67972],[1265673600000,2.66816],[1265760000000,2.70283],[1265846400000,2.70657],[1265932800000,2.72759],[1266019200000,2.70362],[1266105600000,2.70362],[1266192000000,2.70362],[1266278400000,2.71069],[1266364800000,2.72143],[1266451200000,2.76191],[1266537600000,2.71276],[1266624000000,2.70022],[1266710400000,2.70022],[1266796800000,2.70022],[1266883200000,2.748],[1266969600000,2.73229],[1267056000000,2.71103],[1267142400000,2.69942],[1267228800000,2.73123],[1267315200000,2.73123],[1267401600000,2.73123],[1267488000000,2.74276],[1267574400000,2.76345],[1267660800000,2.79256],[1267747200000,2.79744],[1267833600000,2.79799],[1267920000000,2.79799],[1268006400000,2.79799],[1268092800000,2.79799],[1268179200000,2.77864],[1268265600000,2.81452],[1268352000000,2.79371],[1268438400000,2.81294],[1268524800000,2.81294],[1268611200000,2.81294],[1268697600000,2.80669],[1268784000000,2.81652],[1268870400000,2.83641],[1268956800000,2.81312],[1269043200000,2.77986],[1269129600000,2.77986],[1269216000000,2.77986],[1269302400000,2.73003],[1269388800000,2.75923],[1269475200000,2.72173],[1269561600000,2.72444],[1269648000000,2.72258],[1269734400000,2.72258],[1269820800000,2.72258],[1269907200000,2.74329],[1269993600000,2.75665],[1270080000000,2.76216],[1270166400000,2.77534],[1270252800000,2.77534],[1270339200000,2.77534],[1270425600000,2.77534],[1270512000000,2.77534],[1270598400000,2.76835],[1270684800000,2.75391],[1270771200000,2.7375],[1270857600000,2.73635],[1270944000000,2.73635],[1271030400000,2.73635],[1271116800000,2.78499],[1271203200000,2.77282],[1271289600000,2.79947],[1271376000000,2.78224],[1271462400000,2.76891],[1271548800000,2.76891],[1271635200000,2.76891],[1271721600000,2.72759],[1271808000000,2.75043],[1271894400000,2.73795],[1271980800000,2.72515],[1272067200000,2.71747],[1272153600000,2.71747],[1272240000000,2.71747],[1272326400000,2.72207],[1272412800000,2.68946],[1272499200000,2.67019],[1272585600000,2.68347],[1272672000000,2.69472],[1272758400000,2.69472],[1272844800000,2.69472],[1272931200000,2.69472],[1273017600000,2.69472],[1273104000000,2.54053],[1273190400000,2.46495],[1273276800000,2.4353],[1273363200000,2.4353],[1273449600000,2.4353],[1273536000000,2.4353],[1273622400000,2.48508],[1273708800000,2.53225],[1273795200000,2.52323],[1273881600000,2.48408],[1273968000000,null],[1274054400000,2.48408],[1274140800000,2.43505],[1274227200000,2.46319],[1274313600000,2.38179],[1274400000000,2.33418],[1274486400000,2.3849],[1274572800000,2.3849],[1274659200000,2.3849],[1274745600000,2.3849],[1274832000000,2.32634],[1274918400000,2.37415],[1275004800000,2.37765],[1275091200000,2.41646],[1275177600000,2.41646],[1275264000000,2.41646],[1275350400000,2.39107],[1275436800000,2.34151],[1275523200000,2.36137],[1275609600000,2.38859],[1275696000000,2.27726],[1275782400000,2.27726],[1275868800000,2.27726],[1275955200000,2.28242],[1276041600000,2.28825],[1276128000000,2.31243],[1276214400000,2.31353],[1276300800000,2.34764],[1276387200000,2.34764],[1276473600000,2.34764],[1276560000000,2.37796],[1276646400000,2.3816],[1276732800000,2.37377],[1276819200000,2.40016],[1276905600000,2.40654],[1276992000000,2.40654],[1277078400000,2.40654],[1277164800000,2.42748],[1277251200000,2.38826],[1277337600000,2.38702],[1277424000000,2.35361],[1277510400000,2.35755],[1277596800000,2.35755],[1277683200000,2.35755],[1277769600000,2.35755],[1277856000000,2.31833],[1277942400000,2.33918],[1278028800000,2.33417],[1278115200000,2.38924],[1278201600000,2.38924],[1278288000000,2.38924],[1278374400000,2.40175],[1278460800000,2.4258],[1278547200000,2.41072],[1278633600000,2.45372],[1278720000000,2.45412],[1278806400000,2.45412],[1278892800000,2.45412],[1278979200000,2.43706],[1279065600000,2.43749],[1279152000000,2.46853],[1279238400000,2.49585],[1279324800000,2.51008],[1279411200000,2.51008],[1279497600000,2.51008],[1279584000000,2.47872],[1279670400000,2.45301],[1279756800000,2.46962],[1279843200000,2.47661],[1279929600000,2.50208],[1280016000000,2.50208],[1280102400000,2.50208],[1280188800000,2.52999],[1280275200000,2.56924],[1280361600000,2.55923],[1280448000000,2.57633],[1280534400000,2.5652],[1280620800000,2.5652],[1280707200000,2.5652],[1280793600000,2.58648],[1280880000000,2.61072],[1280966400000,2.6029],[1281052800000,2.61188],[1281139200000,2.60751],[1281225600000,null],[1281312000000,2.60751],[1281398400000,2.62637],[1281484800000,2.60082],[1281571200000,2.56388],[1281657600000,2.50759],[1281744000000,2.51455],[1281830400000,2.51455],[1281916800000,2.51455],[1282003200000,2.53353],[1282089600000,2.55522],[1282176000000,2.57835],[1282262400000,2.57821],[1282348800000,2.51931],[1282435200000,null],[1282521600000,null],[1282608000000,2.51921],[1282694400000,2.51921],[1282780800000,2.48357],[1282867200000,2.50953],[1282953600000,2.51385],[1283040000000,2.51385],[1283126400000,2.51385],[1283212800000,2.51604],[1283299200000,2.49167],[1283385600000,2.53013],[1283472000000,2.54568],[1283558400000,2.56816],[1283644800000,2.56816],[1283731200000,2.56816],[1283817600000,2.58842],[1283904000000,2.5598],[1283990400000,2.54088],[1284076800000,2.5534],[1284163200000,2.55813],[1284249600000,2.55813],[1284336000000,2.55813],[1284422400000,2.57047],[1284508800000,2.57991],[1284595200000,2.61357],[1284681600000,2.62841],[1284768000000,2.61029],[1284854400000,2.61029],[1284940800000,2.61029],[1285027200000,2.62228],[1285113600000,2.63371],[1285200000000,2.68507],[1285286400000,2.65234],[1285372800000,2.66783],[1285459200000,2.66783],[1285545600000,2.66783],[1285632000000,2.70021],[1285718400000,2.6789],[1285804800000,2.71018],[1285891200000,2.70926],[1285977600000,2.75772],[1286064000000,2.75772],[1286150400000,2.75772],[1286236800000,2.74562],[1286323200000,2.745],[1286409600000,2.77537],[1286496000000,2.78657],[1286582400000,2.75976],[1286668800000,2.75976],[1286755200000,2.75976],[1286841600000,2.78329],[1286928000000,2.76028],[1287014400000,2.79192],[1287100800000,2.8539],[1287187200000,2.85352],[1287273600000,2.85352],[1287360000000,2.85352],[1287446400000,2.80272],[1287532800000,2.78553],[1287619200000,2.76975],[1287705600000,2.80618],[1287792000000,2.77683],[1287878400000,2.77683],[1287964800000,2.77683],[1288051200000,2.82347],[1288137600000,2.79697],[1288224000000,2.76458],[1288310400000,2.76525],[1288396800000,2.75296],[1288483200000,2.75296],[1288569600000,2.75296],[1288656000000,2.77731],[1288742400000,2.80683],[1288828800000,2.82215],[1288915200000,2.89571],[1289001600000,2.84727],[1289088000000,2.84727],[1289174400000,2.84727],[1289260800000,2.81113],[1289347200000,2.81279],[1289433600000,2.80413],[1289520000000,2.75912],[1289606400000,2.76729],[1289692800000,2.76729],[1289779200000,2.76729],[1289865600000,2.75041],[1289952000000,2.74359],[1290038400000,2.6995],[1290124800000,2.75113],[1290211200000,2.75868],[1290297600000,2.75868],[1290384000000,2.75868],[1290470400000,2.75358],[1290556800000,2.70913],[1290643200000,2.66448],[1290729600000,2.65781],[1290816000000,2.60658],[1290902400000,2.60658],[1290988800000,2.60658],[1291075200000,2.57814],[1291161600000,2.53559],[1291248000000,2.58959],[1291334400000,2.60768],[1291420800000,2.63315],[1291507200000,2.63315],[1291593600000,2.63315],[1291680000000,2.62983],[1291766400000,2.64882],[1291852800000,2.58309],[1291939200000,2.60687],[1292025600000,2.61393],[1292112000000,2.61393],[1292198400000,2.61393],[1292284800000,2.6276],[1292371200000,2.68131],[1292457600000,2.67418],[1292544000000,2.64943],[1292630400000,2.6533],[1292716800000,2.6533],[1292803200000,2.6533],[1292889600000,2.61963],[1292976000000,2.62293],[1293062400000,2.61514],[1293148800000,2.61408],[1293235200000,2.62988],[1293321600000,2.62988],[1293408000000,2.62988],[1293494400000,2.63001],[1293580800000,2.63784],[1293667200000,2.63588]], 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: [[1263513600000, 2.804390],[1263513600000, 2.804390],[1266192000000, 2.721758],[1268611200000, 2.776145],[1271289600000, 2.747086],[1273881600000, 2.473677],[1276560000000, 2.353729],[1279152000000, 2.466090],[1281830400000, 2.551908],[1284508800000, 2.603276],[1287100800000, 2.781131],[1289779200000, 2.749645],[1292371200000, 2.627964]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });