$(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: 'Курс AUD, грн'}, 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: 'Курс AUD', data: [[1262736000000,7.31304],[1262822400000,7.3091],[1262908800000,7.3091],[1262995200000,7.3091],[1263081600000,7.3091],[1263168000000,7.3091],[1263254400000,7.44475],[1263340800000,7.39245],[1263427200000,7.41066],[1263513600000,7.43524],[1263600000000,7.39752],[1263686400000,7.39752],[1263772800000,7.39752],[1263859200000,7.41211],[1263945600000,7.35542],[1264032000000,7.31405],[1264118400000,7.2853],[1264204800000,7.22899],[1264291200000,7.22899],[1264377600000,7.22899],[1264464000000,7.24792],[1264550400000,7.18458],[1264636800000,7.19276],[1264723200000,7.20916],[1264809600000,7.1433],[1264896000000,7.1433],[1264982400000,7.1433],[1265068800000,7.0672],[1265155200000,7.05037],[1265241600000,7.09999],[1265328000000,7.04519],[1265414400000,6.92286],[1265500800000,6.92286],[1265587200000,6.92286],[1265673600000,6.94584],[1265760000000,7.00667],[1265846400000,7.01002],[1265932800000,7.11389],[1266019200000,7.0682],[1266105600000,7.0682],[1266192000000,7.0682],[1266278400000,7.11469],[1266364800000,7.17216],[1266451200000,7.23066],[1266537600000,7.18041],[1266624000000,7.12708],[1266710400000,7.12708],[1266796800000,7.12708],[1266883200000,7.20412],[1266969600000,7.19842],[1267056000000,7.12531],[1267142400000,7.09714],[1267228800000,7.11446],[1267315200000,7.11446],[1267401600000,7.11446],[1267488000000,7.15424],[1267574400000,7.21494],[1267660800000,7.20493],[1267747200000,7.20365],[1267833600000,7.2084],[1267920000000,7.2084],[1268006400000,7.2084],[1268092800000,7.2084],[1268179200000,7.24589],[1268265600000,7.31339],[1268352000000,7.30681],[1268438400000,7.32554],[1268524800000,7.32554],[1268611200000,7.32554],[1268697600000,7.27737],[1268784000000,7.29519],[1268870400000,7.3646],[1268956800000,7.3512],[1269043200000,7.32293],[1269129600000,7.32293],[1269216000000,7.32293],[1269302400000,7.23279],[1269388800000,7.29056],[1269475200000,7.22191],[1269561600000,7.24581],[1269648000000,7.16533],[1269734400000,7.16533],[1269820800000,7.16533],[1269907200000,7.24567],[1269993600000,7.29316],[1270080000000,7.24653],[1270166400000,7.26823],[1270252800000,7.26823],[1270339200000,7.26823],[1270425600000,7.26823],[1270512000000,7.26823],[1270598400000,7.31102],[1270684800000,7.3358],[1270771200000,7.32167],[1270857600000,7.37851],[1270944000000,7.37851],[1271030400000,7.37851],[1271116800000,7.35781],[1271203200000,7.35101],[1271289600000,7.40016],[1271376000000,7.39661],[1271462400000,7.38864],[1271548800000,7.38864],[1271635200000,7.38864],[1271721600000,7.27936],[1271808000000,7.38256],[1271894400000,7.36737],[1271980800000,7.34692],[1272067200000,7.29399],[1272153600000,7.29399],[1272240000000,7.29399],[1272326400000,7.36493],[1272412800000,7.31749],[1272499200000,7.31915],[1272585600000,7.36167],[1272672000000,7.38409],[1272758400000,7.38409],[1272844800000,7.38409],[1272931200000,7.38409],[1273017600000,7.38409],[1273104000000,7.18837],[1273190400000,7.16682],[1273276800000,7.04242],[1273363200000,7.04242],[1273449600000,7.04242],[1273536000000,7.04242],[1273622400000,7.08754],[1273708800000,7.10938],[1273795200000,7.1229],[1273881600000,7.0646],[1273968000000,null],[1274054400000,7.0646],[1274140800000,6.9698],[1274227200000,6.9476],[1274313600000,6.7179],[1274400000000,6.55198],[1274486400000,6.5441],[1274572800000,6.5441],[1274659200000,6.5441],[1274745600000,6.5441],[1274832000000,6.43805],[1274918400000,6.60039],[1275004800000,6.6431],[1275091200000,6.75275],[1275177600000,6.75275],[1275264000000,6.75275],[1275350400000,6.69142],[1275436800000,6.60018],[1275523200000,6.61396],[1275609600000,6.71972],[1275696000000,6.65072],[1275782400000,6.65072],[1275868800000,6.65072],[1275955200000,6.48506],[1276041600000,6.48697],[1276128000000,6.56924],[1276214400000,6.66381],[1276300800000,6.71246],[1276387200000,6.71246],[1276473600000,6.71246],[1276560000000,6.81831],[1276646400000,6.7836],[1276732800000,6.81205],[1276819200000,6.84973],[1276905600000,6.86968],[1276992000000,6.86968],[1277078400000,6.86968],[1277164800000,6.98557],[1277251200000,6.92019],[1277337600000,6.90237],[1277424000000,6.84005],[1277510400000,6.83688],[1277596800000,6.83688],[1277683200000,6.83688],[1277769600000,6.83688],[1277856000000,6.76839],[1277942400000,6.73512],[1278028800000,6.60872],[1278115200000,6.67794],[1278201600000,6.67794],[1278288000000,6.67794],[1278374400000,6.64489],[1278460800000,6.72706],[1278547200000,6.70466],[1278633600000,6.91641],[1278720000000,6.91118],[1278806400000,6.91118],[1278892800000,6.91118],[1278979200000,6.90089],[1279065600000,6.92821],[1279152000000,6.96809],[1279238400000,6.98783],[1279324800000,6.93339],[1279411200000,6.93339],[1279497600000,6.93339],[1279584000000,6.84944],[1279670400000,6.89237],[1279756800000,6.98693],[1279843200000,7.00998],[1279929600000,7.05862],[1280016000000,7.05862],[1280102400000,7.05862],[1280188800000,7.07749],[1280275200000,7.14381],[1280361600000,7.06354],[1280448000000,7.11422],[1280534400000,7.10812],[1280620800000,7.10812],[1280707200000,7.10812],[1280793600000,7.19088],[1280880000000,7.19104],[1280966400000,7.20477],[1281052800000,7.21004],[1281139200000,7.24166],[1281225600000,null],[1281312000000,7.24166],[1281398400000,7.24996],[1281484800000,7.16197],[1281571200000,7.13119],[1281657600000,7.04651],[1281744000000,7.07172],[1281830400000,7.07172],[1281916800000,7.07172],[1282003200000,7.03535],[1282089600000,7.11988],[1282176000000,7.12096],[1282262400000,7.10337],[1282348800000,7.00668],[1282435200000,null],[1282521600000,null],[1282608000000,7.00641],[1282694400000,7.00641],[1282780800000,6.93544],[1282867200000,6.99454],[1282953600000,7.00094],[1283040000000,7.00094],[1283126400000,7.00094],[1283212800000,7.07249],[1283299200000,6.99129],[1283385600000,7.13826],[1283472000000,7.18023],[1283558400000,7.20121],[1283644800000,7.20121],[1283731200000,7.20121],[1283817600000,7.25557],[1283904000000,7.20799],[1283990400000,7.25247],[1284076800000,7.31293],[1284163200000,7.32454],[1284249600000,7.32454],[1284336000000,7.32454],[1284422400000,7.37204],[1284508800000,7.39562],[1284595200000,7.41993],[1284681600000,7.41992],[1284768000000,7.44813],[1284854400000,7.44813],[1284940800000,7.44813],[1285027200000,7.48847],[1285113600000,7.50071],[1285200000000,7.56863],[1285286400000,7.50231],[1285372800000,7.55185],[1285459200000,7.55185],[1285545600000,7.55185],[1285632000000,7.60375],[1285718400000,7.60175],[1285804800000,7.69417],[1285891200000,7.67276],[1285977600000,7.69245],[1286064000000,7.69245],[1286150400000,7.69245],[1286236800000,7.65952],[1286323200000,7.60207],[1286409600000,7.70688],[1286496000000,7.81923],[1286582400000,7.70011],[1286668800000,7.70011],[1286755200000,7.70011],[1286841600000,7.78862],[1286928000000,7.77335],[1287014400000,7.81472],[1287100800000,7.8842],[1287187200000,7.87936],[1287273600000,7.87936],[1287360000000,7.87936],[1287446400000,7.80433],[1287532800000,7.74397],[1287619200000,7.74947],[1287705600000,7.80469],[1287792000000,7.76469],[1287878400000,7.76469],[1287964800000,7.76469],[1288051200000,7.86898],[1288137600000,7.80169],[1288224000000,7.69366],[1288310400000,7.7434],[1288396800000,7.71122],[1288483200000,7.71122],[1288569600000,7.71122],[1288656000000,7.82332],[1288742400000,7.91701],[1288828800000,7.89491],[1288915200000,8.02583],[1289001600000,8.03971],[1289088000000,8.03971],[1289174400000,8.03971],[1289260800000,8.00121],[1289347200000,8.03692],[1289433600000,7.9123],[1289520000000,7.93112],[1289606400000,7.85863],[1289692800000,7.85863],[1289779200000,7.85863],[1289865600000,7.82021],[1289952000000,7.78584],[1290038400000,7.75365],[1290124800000,7.84288],[1290211200000,7.80696],[1290297600000,7.80696],[1290384000000,7.80696],[1290470400000,7.84004],[1290556800000,7.76903],[1290643200000,7.76807],[1290729600000,7.7787],[1290816000000,7.6544],[1290902400000,7.6544],[1290988800000,7.6544],[1291075200000,7.63819],[1291161600000,7.58942],[1291248000000,7.64648],[1291334400000,7.6723],[1291420800000,7.78796],[1291507200000,7.78796],[1291593600000,7.78796],[1291680000000,7.85587],[1291766400000,7.91882],[1291852800000,7.78624],[1291939200000,7.82235],[1292025600000,7.8611],[1292112000000,7.8611],[1292198400000,7.8611],[1292284800000,7.88004],[1292371200000,7.96429],[1292457600000,7.91806],[1292544000000,7.88311],[1292630400000,7.86387],[1292716800000,7.86387],[1292803200000,7.86387],[1292889600000,7.91234],[1292976000000,7.94659],[1293062400000,7.94472],[1293148800000,7.97265],[1293235200000,7.99017],[1293321600000,7.99017],[1293408000000,7.99017],[1293494400000,7.97506],[1293580800000,8.05696],[1293667200000,8.05837]], 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, 7.304194],[1263513600000, 7.304194],[1266192000000, 7.085311],[1268611200000, 7.253276],[1271289600000, 7.332821],[1273881600000, 6.939926],[1276560000000, 6.751890],[1279152000000, 6.906812],[1281830400000, 7.096622],[1284508800000, 7.382774],[1287100800000, 7.756896],[1289779200000, 7.844318],[1292371200000, 7.883774]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });