$(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: 'Курс XDR, грн'}, 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: 'Курс XDR', data: [[1326758400000,12.2114],[1326844800000,null],[1326931200000,null],[1327017600000,12.2617],[1327104000000,12.2593],[1327190400000,12.2593],[1327276800000,12.2593],[1327363200000,12.3051],[1327449600000,12.2976],[1327536000000,12.2719],[1327622400000,12.3533],[1327708800000,12.3612],[1327795200000,12.3612],[1327881600000,12.3612],[1327968000000,12.3635],[1328054400000,12.3927],[1328140800000,12.38],[1328227200000,12.3863],[1328313600000,12.3917],[1328400000000,12.3917],[1328486400000,12.3917],[1328572800000,12.346],[1328659200000,12.3685],[1328745600000,12.4272],[1328832000000,12.4096],[1328918400000,12.3956],[1329004800000,12.3956],[1329091200000,12.3956],[1329177600000,12.395],[1329264000000,12.365],[1329350400000,12.336],[1329436800000,12.2813],[1329523200000,12.3374],[1329609600000,12.3374],[1329696000000,12.3374],[1329782400000,12.3362],[1329868800000,12.3481],[1329955200000,12.3338],[1330041600000,12.3611],[1330128000000,12.4036],[1330214400000,12.4036],[1330300800000,12.4036],[1330387200000,12.4021],[1330473600000,12.4175],[1330560000000,12.4275],[1330646400000,12.3805],[1330732800000,12.3397],[1330819200000,12.3397],[1330905600000,12.3397],[1330992000000,12.3198],[1331078400000,12.3008],[1331164800000,12.3016],[1331251200000,12.3016],[1331337600000,12.3016],[1331424000000,12.3016],[1331510400000,12.3016],[1331596800000,12.2639],[1331683200000,12.253],[1331769600000,12.2303],[1331856000000,12.2262],[1331942400000,12.233],[1332028800000,12.233],[1332115200000,12.233],[1332201600000,12.2825],[1332288000000,12.2794],[1332374400000,12.295],[1332460800000,12.284],[1332547200000,12.3126],[1332633600000,12.3126],[1332720000000,12.3126],[1332806400000,12.3152],[1332892800000,12.3622],[1332979200000,12.354],[1333065600000,12.34],[1333152000000,12.3739],[1333238400000,12.3739],[1333324800000,12.3739],[1333411200000,12.3695],[1333497600000,12.3782],[1333584000000,12.3019],[1333670400000,12.2703],[1333756800000,12.2703],[1333843200000,null],[1333929600000,12.2703],[1334016000000,12.2824],[1334102400000,12.277],[1334188800000,12.3158],[1334275200000,12.3163],[1334361600000,12.3208],[1334448000000,12.3208],[1334534400000,12.3208],[1334620800000,12.3208],[1334707200000,12.3172],[1334793600000,12.2911],[1334880000000,12.305],[1334966400000,12.3364],[1335052800000,12.3364],[1335139200000,12.3364],[1335225600000,12.327],[1335312000000,12.341],[1335398400000,12.3538],[1335484800000,12.3652],[1335571200000,12.3796],[1335657600000,12.3796],[1335744000000,12.3796],[1335830400000,12.3796],[1335916800000,12.3796],[1336003200000,12.3796],[1336089600000,12.3505],[1336176000000,12.3518],[1336262400000,12.3518],[1336348800000,12.3518],[1336435200000,12.35],[1336521600000,12.3176],[1336608000000,12.3176],[1336694400000,12.2901],[1336780800000,12.2809],[1336867200000,12.2809],[1336953600000,12.2809],[1337040000000,12.2578],[1337126400000,12.2496],[1337212800000,12.1827],[1337299200000,12.1758],[1337385600000,12.183],[1337472000000,12.183],[1337558400000,12.183],[1337644800000,12.2129],[1337731200000,12.1992],[1337817600000,12.1695],[1337904000000,12.1361],[1337990400000,12.1332],[1338076800000,12.1332],[1338163200000,12.1332],[1338249600000,12.1332],[1338336000000,12.1206],[1338422400000,12.0813],[1338508800000,12.0707],[1338595200000,12.0383],[1338681600000,12.0383],[1338768000000,12.0383],[1338854400000,12.0383],[1338940800000,12.0986],[1339027200000,12.0953],[1339113600000,12.1258],[1339200000000,12.0754],[1339286400000,12.0754],[1339372800000,12.0754],[1339459200000,12.1193],[1339545600000,12.0961],[1339632000000,12.0986],[1339718400000,12.1223],[1339804800000,12.1466],[1339891200000,12.1466],[1339977600000,12.1466],[1340064000000,12.1555],[1340150400000,12.1542],[1340236800000,12.1848],[1340323200000,12.1626],[1340409600000,12.1056],[1340496000000,12.1056],[1340582400000,12.1056],[1340668800000,12.0862],[1340755200000,12.1034],[1340841600000,12.0995],[1340928000000,12.0995],[1341014400000,12.0995],[1341100800000,12.0995],[1341187200000,12.0995],[1341273600000,12.1469],[1341360000000,12.1305],[1341446400000,12.1305],[1341532800000,12.1029],[1341619200000,12.0492],[1341705600000,12.0499],[1341792000000,12.0499],[1341878400000,12.026],[1341964800000,12.0317],[1342051200000,12.0311],[1342137600000,11.9868],[1342224000000,11.9916],[1342310400000,11.9916],[1342396800000,11.9916],[1342483200000,11.9977],[1342569600000,12.0374],[1342656000000,12.021],[1342742400000,12.0567],[1342828800000,12.0353],[1342915200000,12.0353],[1343001600000,12.0353],[1343088000000,11.994],[1343174400000,11.9778],[1343260800000,11.9933],[1343347200000,12.0265],[1343433600000,12.0727],[1343520000000,12.0727],[1343606400000,12.0727],[1343692800000,12.0518],[1343779200000,12.0561],[1343865600000,12.061],[1343952000000,12.0403],[1344038400000,12.0484],[1344124800000,12.0484],[1344211200000,12.0484],[1344297600000,12.0674],[1344384000000,12.0967],[1344470400000,12.076],[1344556800000,12.0611],[1344643200000,12.0426],[1344729600000,12.0426],[1344816000000,12.0426],[1344902400000,12.076],[1344988800000,12.0771],[1345075200000,12.0457],[1345161600000,12.0395],[1345248000000,12.0656],[1345334400000,12.0656],[1345420800000,12.0656],[1345507200000,12.0492],[1345593600000,12.0902],[1345680000000,12.1068],[1345766400000,12.1584],[1345852800000,12.1584],[1345939200000,12.1584],[1346025600000,12.1584],[1346112000000,12.147],[1346198400000,12.1461],[1346284800000,12.1555],[1346371200000,12.1519],[1346457600000,12.1655],[1346544000000,12.1655],[1346630400000,12.1655],[1346716800000,12.1655],[1346803200000,12.1723],[1346889600000,12.162],[1346976000000,12.1849],[1347062400000,12.2029],[1347148800000,12.2029],[1347235200000,12.2029],[1347321600000,12.252],[1347408000000,12.2641],[1347494400000,12.3163],[1347580800000,12.3116],[1347667200000,12.384],[1347753600000,12.384],[1347840000000,12.384],[1347926400000,12.385],[1348012800000,12.3646],[1348099200000,12.3358],[1348185600000,12.3275],[1348272000000,12.3532],[1348358400000,12.3532],[1348444800000,12.3532],[1348531200000,12.3151],[1348617600000,12.3214],[1348704000000,12.3045],[1348790400000,12.3076],[1348876800000,12.3267],[1348963200000,12.3267],[1349049600000,12.3267],[1349136000000,12.3093],[1349222400000,12.313],[1349308800000,12.3047],[1349395200000,12.314],[1349481600000,12.3432],[1349568000000,12.3432],[1349654400000,12.3432],[1349740800000,12.3432],[1349827200000,12.3026],[1349913600000,12.2792],[1350000000000,12.2988],[1350086400000,12.3183],[1350172800000,12.3183],[1350259200000,12.3183],[1350345600000,12.3109],[1350432000000,12.3298],[1350518400000,12.3726],[1350604800000,12.3609],[1350691200000,12.3332],[1350777600000,12.3332],[1350864000000,12.3332],[1350950400000,12.3295],[1351036800000,12.3015],[1351123200000,12.2816],[1351209600000,12.3083],[1351296000000,12.2758],[1351382400000,12.2758],[1351468800000,12.2758],[1351555200000,12.2742],[1351641600000,12.2951],[1351728000000,12.3138],[1351814400000,12.3004],[1351900800000,12.2644],[1351987200000,12.2644],[1352073600000,12.2644],[1352160000000,12.2223],[1352246400000,12.2284],[1352332800000,12.2345],[1352419200000,12.2102],[1352505600000,12.2097],[1352592000000,12.2097],[1352678400000,12.2097],[1352764800000,12.199],[1352851200000,12.2015],[1352937600000,12.1991],[1353024000000,12.1888],[1353110400000,12.1798],[1353196800000,12.1798],[1353283200000,12.1798],[1353369600000,12.1968],[1353456000000,12.2079],[1353542400000,12.1932],[1353628800000,12.1932],[1353715200000,12.1932],[1353801600000,12.1932],[1353888000000,12.1932],[1353974400000,12.2585],[1354060800000,12.2552],[1354147200000,12.2333],[1354233600000,12.2653],[1354320000000,12.2677],[1354406400000,12.2677],[1354492800000,12.2677],[1354579200000,12.2815],[1354665600000,12.3084],[1354752000000,12.3045],[1354838400000,12.2952],[1354924800000,12.243],[1355011200000,12.243],[1355097600000,12.243],[1355184000000,12.2411],[1355270400000,12.2686],[1355356800000,12.2792],[1355443200000,12.2824],[1355529600000,12.2849],[1355616000000,12.2849],[1355702400000,12.2849],[1355788800000,12.3147],[1355875200000,12.3223],[1355961600000,12.3535],[1356048000000,12.3511],[1356134400000,12.3287],[1356220800000,12.3287],[1356307200000,12.3287],[1356393600000,12.3287],[1356480000000,12.3287],[1356566400000,12.3287],[1356652800000,12.3211],[1356739200000,12.2846],[1356825600000,12.2846]], 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, 12.302003],[1326585600000, 12.302003],[1329264000000, 12.374877],[1331769600000, 12.304903],[1334448000000, 12.328672],[1337040000000, 12.242910],[1339718400000, 12.103597],[1342310400000, 12.044817],[1344988800000, 12.085379],[1347667200000, 12.282003],[1350259200000, 12.315071],[1352937600000, 12.221428],[1355529600000, 12.294739]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });