$(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: 'Курс CHF, грн'}, 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: 'Курс CHF', data: [[1326758400000,8.4524],[1326844800000,null],[1326931200000,null],[1327017600000,8.54226],[1327104000000,8.5356],[1327190400000,8.5356],[1327276800000,8.5356],[1327363200000,8.6231],[1327449600000,8.61097],[1327536000000,8.56348],[1327622400000,8.70068],[1327708800000,8.69553],[1327795200000,8.69553],[1327881600000,8.69553],[1327968000000,8.69542],[1328054400000,8.73774],[1328140800000,8.73708],[1328227200000,8.68336],[1328313600000,8.72568],[1328400000000,8.72568],[1328486400000,8.72568],[1328572800000,8.63526],[1328659200000,8.6679],[1328745600000,8.75499],[1328832000000,8.77219],[1328918400000,8.71043],[1329004800000,8.71043],[1329091200000,8.71043],[1329177600000,8.75674],[1329264000000,8.71182],[1329350400000,8.66232],[1329436800000,8.58961],[1329523200000,8.69966],[1329609600000,8.69966],[1329696000000,8.69966],[1329782400000,8.77534],[1329868800000,8.74757],[1329955200000,8.75326],[1330041600000,8.81333],[1330128000000,8.89102],[1330214400000,8.89102],[1330300800000,8.89102],[1330387200000,8.87205],[1330473600000,8.91727],[1330560000000,8.90924],[1330646400000,8.82169],[1330732800000,8.75289],[1330819200000,8.75289],[1330905600000,8.75289],[1330992000000,8.75561],[1331078400000,8.71557],[1331164800000,8.69532],[1331251200000,8.69532],[1331337600000,8.69532],[1331424000000,8.69532],[1331510400000,8.69532],[1331596800000,8.69014],[1331683200000,8.64512],[1331769600000,8.61164],[1331856000000,8.61831],[1331942400000,8.67699],[1332028800000,8.67699],[1332115200000,8.67699],[1332201600000,8.70164],[1332288000000,8.7392],[1332374400000,8.75781],[1332460800000,8.72233],[1332547200000,8.77274],[1332633600000,8.77274],[1332720000000,8.77274],[1332806400000,8.7956],[1332892800000,8.83156],[1332979200000,8.82909],[1333065600000,8.79591],[1333152000000,8.85732],[1333238400000,8.85732],[1333324800000,8.85732],[1333411200000,8.83351],[1333497600000,8.83746],[1333584000000,8.72047],[1333670400000,8.6803],[1333756800000,8.6803],[1333843200000,null],[1333929600000,8.6803],[1334016000000,8.67759],[1334102400000,8.70668],[1334188800000,8.72958],[1334275200000,8.73258],[1334361600000,8.73652],[1334448000000,8.73652],[1334534400000,8.73652],[1334620800000,8.73652],[1334707200000,8.72516],[1334793600000,8.68913],[1334880000000,8.69319],[1334966400000,8.76653],[1335052800000,8.76653],[1335139200000,8.76653],[1335225600000,8.72745],[1335312000000,8.74521],[1335398400000,8.7773],[1335484800000,8.78474],[1335571200000,8.79794],[1335657600000,8.79794],[1335744000000,8.79794],[1335830400000,8.79794],[1335916800000,8.79794],[1336003200000,8.79794],[1336089600000,8.72744],[1336176000000,8.73343],[1336262400000,8.73343],[1336348800000,8.73343],[1336435200000,8.66773],[1336521600000,8.66118],[1336608000000,8.66118],[1336694400000,8.62053],[1336780800000,8.60994],[1336867200000,8.60994],[1336953600000,8.60994],[1337040000000,8.55748],[1337126400000,8.54418],[1337212800000,8.47362],[1337299200000,8.43742],[1337385600000,8.46319],[1337472000000,8.46319],[1337558400000,8.46319],[1337644800000,8.48319],[1337731200000,8.49623],[1337817600000,8.4237],[1337904000000,8.35652],[1337990400000,8.34642],[1338076800000,8.34642],[1338163200000,8.34642],[1338249600000,8.35625],[1338336000000,8.33043],[1338422400000,8.27733],[1338508800000,8.25404],[1338595200000,8.2015],[1338681600000,8.2015],[1338768000000,8.2015],[1338854400000,8.2015],[1338940800000,8.27134],[1339027200000,8.30999],[1339113600000,8.38111],[1339200000000,8.29591],[1339286400000,8.29591],[1339372800000,8.29591],[1339459200000,8.34787],[1339545600000,8.31188],[1339632000000,8.27134],[1339718400000,8.35392],[1339804800000,8.38247],[1339891200000,8.38247],[1339977600000,8.38247],[1340064000000,8.39712],[1340150400000,8.39848],[1340236800000,8.45505],[1340323200000,8.43172],[1340409600000,8.34524],[1340496000000,8.34524],[1340582400000,8.34524],[1340668800000,8.31199],[1340755200000,8.30195],[1340841600000,8.30326],[1340928000000,8.30326],[1341014400000,8.30326],[1341100800000,8.30326],[1341187200000,8.30326],[1341273600000,8.37699],[1341360000000,8.36711],[1341446400000,8.35643],[1341532800000,8.26797],[1341619200000,8.23605],[1341705600000,8.23656],[1341792000000,8.23656],[1341878400000,8.18135],[1341964800000,8.17602],[1342051200000,8.15938],[1342137600000,8.10481],[1342224000000,8.11014],[1342310400000,8.11014],[1342396800000,8.11014],[1342483200000,8.10414],[1342569600000,8.17336],[1342656000000,8.14208],[1342742400000,8.17735],[1342828800000,8.12013],[1342915200000,8.12013],[1343001600000,8.12013],[1343088000000,8.05622],[1343174400000,8.04558],[1343260800000,8.07553],[1343347200000,8.15938],[1343433600000,8.19732],[1343520000000,8.19732],[1343606400000,8.19732],[1343692800000,8.15006],[1343779200000,8.17263],[1343865600000,8.18263],[1343952000000,8.20705],[1344038400000,8.14804],[1344124800000,8.14804],[1344211200000,8.14804],[1344297600000,8.23652],[1344384000000,8.27307],[1344470400000,8.2086],[1344556800000,8.18667],[1344643200000,8.16139],[1344729600000,8.16139],[1344816000000,8.16139],[1344902400000,8.21196],[1344988800000,8.22061],[1345075200000,8.16935],[1345161600000,8.17203],[1345248000000,8.20994],[1345334400000,8.20994],[1345420800000,8.20994],[1345507200000,8.186],[1345593600000,8.27119],[1345680000000,8.28519],[1345766400000,8.35372],[1345852800000,8.35372],[1345939200000,8.35372],[1346025600000,8.35372],[1346112000000,8.33907],[1346198400000,8.35105],[1346284800000,8.34906],[1346371200000,8.34909],[1346457600000,8.39368],[1346544000000,8.39368],[1346630400000,8.39368],[1346716800000,8.36576],[1346803200000,8.37169],[1346889600000,8.36823],[1346976000000,8.38373],[1347062400000,8.37393],[1347148800000,8.37393],[1347235200000,8.37393],[1347321600000,8.44653],[1347408000000,8.46501],[1347494400000,8.53081],[1347580800000,8.50698],[1347667200000,8.60618],[1347753600000,8.60618],[1347840000000,8.60618],[1347926400000,8.60168],[1348012800000,8.61394],[1348099200000,8.59239],[1348185600000,8.56563],[1348272000000,8.57251],[1348358400000,8.57251],[1348444800000,8.57251],[1348531200000,8.53556],[1348617600000,8.54825],[1348704000000,8.49355],[1348790400000,8.51555],[1348876800000,8.54199],[1348963200000,8.54199],[1349049600000,8.54199],[1349136000000,8.50979],[1349222400000,8.53987],[1349308800000,8.52129],[1349395200000,8.53892],[1349481600000,8.58033],[1349568000000,8.58033],[1349654400000,8.58033],[1349740800000,8.55271],[1349827200000,8.5487],[1349913600000,8.50717],[1350000000000,8.54253],[1350086400000,8.57266],[1350172800000,8.57266],[1350259200000,8.57266],[1350345600000,8.57474],[1350432000000,8.62432],[1350518400000,8.66249],[1350604800000,8.66977],[1350691200000,8.62133],[1350777600000,8.62133],[1350864000000,8.62133],[1350950400000,8.63128],[1351036800000,8.59224],[1351123200000,8.54921],[1351209600000,8.58502],[1351296000000,8.5338],[1351382400000,8.5338],[1351468800000,8.5338],[1351555200000,8.52931],[1351641600000,8.57305],[1351728000000,8.59995],[1351814400000,8.59089],[1351900800000,8.50742],[1351987200000,8.50742],[1352073600000,8.50742],[1352160000000,8.4661],[1352246400000,8.47291],[1352332800000,8.44416],[1352419200000,8.44243],[1352505600000,8.41738],[1352592000000,8.41738],[1352678400000,8.41738],[1352764800000,8.44247],[1352851200000,8.4243],[1352937600000,8.44842],[1353024000000,8.46692],[1353110400000,8.45962],[1353196800000,8.45962],[1353283200000,8.45962],[1353369600000,8.4688],[1353456000000,8.49717],[1353542400000,8.50015],[1353628800000,8.55573],[1353715200000,8.56279],[1353801600000,8.56279],[1353888000000,8.56279],[1353974400000,8.60213],[1354060800000,8.60228],[1354147200000,8.56293],[1354233600000,8.62418],[1354320000000,8.61101],[1354406400000,8.61101],[1354492800000,8.61101],[1354579200000,8.63445],[1354665600000,8.62264],[1354752000000,8.61053],[1354838400000,8.6251],[1354924800000,8.541],[1355011200000,8.541],[1355097600000,8.541],[1355184000000,8.56393],[1355270400000,8.57227],[1355356800000,8.60754],[1355443200000,8.64553],[1355529600000,8.64889],[1355616000000,8.64889],[1355702400000,8.64889],[1355788800000,8.70617],[1355875200000,8.71952],[1355961600000,8.78992],[1356048000000,8.76524],[1356134400000,8.7422],[1356220800000,8.7422],[1356307200000,8.7422],[1356393600000,8.75323],[1356480000000,8.75323],[1356566400000,8.75323],[1356652800000,8.77629],[1356739200000,8.72282],[1356825600000,8.72282]], 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: [[1326585600000, 8.606284],[1326585600000, 8.606284],[1329264000000, 8.747179],[1331769600000, 8.738137],[1334448000000, 8.750865],[1337040000000, 8.546037],[1339718400000, 8.319481],[1342310400000, 8.182974],[1344988800000, 8.236928],[1347667200000, 8.494272],[1350259200000, 8.571573],[1352937600000, 8.501786],[1355529600000, 8.667632]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });