$(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: 'Курс USD, грн'}, 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: 'Курс USD', data: [[1072915200000,5.3315],[1073001600000,5.3315],[1073088000000,5.3315],[1073174400000,5.3315],[1073260800000,5.3315],[1073347200000,5.3313],[1073433600000,5.3313],[1073520000000,5.3313],[1073606400000,5.3312],[1073692800000,5.3312],[1073779200000,5.3312],[1073865600000,5.3312],[1073952000000,5.3312],[1074038400000,5.3312],[1074124800000,5.3312],[1074211200000,5.3312],[1074297600000,5.3311],[1074384000000,5.3311],[1074470400000,5.3311],[1074556800000,5.3311],[1074643200000,5.3311],[1074729600000,5.3311],[1074816000000,5.3311],[1074902400000,5.3311],[1074988800000,5.3311],[1075075200000,5.3311],[1075161600000,5.3311],[1075248000000,5.3311],[1075334400000,5.3311],[1075420800000,5.3311],[1075507200000,5.3311],[1075593600000,5.3311],[1075680000000,5.3311],[1075766400000,5.3311],[1075852800000,5.3311],[1075939200000,5.3311],[1076025600000,5.3311],[1076112000000,5.331],[1076198400000,5.331],[1076284800000,5.331],[1076371200000,5.3308],[1076457600000,5.3308],[1076544000000,5.3306],[1076630400000,5.3306],[1076716800000,5.3306],[1076803200000,5.3306],[1076889600000,5.3306],[1076976000000,5.3306],[1077062400000,5.3305],[1077148800000,5.3303],[1077235200000,5.33],[1077321600000,5.33],[1077408000000,5.33],[1077494400000,5.33],[1077580800000,5.33],[1077667200000,5.3303],[1077753600000,5.3303],[1077840000000,5.3299],[1077926400000,5.3299],[1078012800000,5.3299],[1078099200000,5.3299],[1078185600000,5.3299],[1078272000000,5.3298],[1078358400000,5.3296],[1078444800000,5.3296],[1078531200000,5.3296],[1078617600000,5.3296],[1078704000000,5.3296],[1078790400000,5.3296],[1078876800000,5.3296],[1078963200000,5.3295],[1079049600000,5.3295],[1079136000000,5.3295],[1079222400000,5.3295],[1079308800000,5.3295],[1079395200000,5.3295],[1079481600000,5.3294],[1079568000000,5.3294],[1079654400000,5.3293],[1079740800000,5.3293],[1079827200000,5.3293],[1079913600000,5.3293],[1080000000000,5.3293],[1080086400000,5.3293],[1080172800000,5.3293],[1080259200000,5.3293],[1080345600000,5.3293],[1080432000000,5.3293],[1080518400000,5.3293],[1080604800000,5.3293],[1080691200000,5.3293],[1080777600000,5.3293],[1080864000000,5.3293],[1080950400000,5.3293],[1081036800000,5.3293],[1081123200000,5.3293],[1081209600000,5.3293],[1081296000000,5.3293],[1081382400000,5.3291],[1081468800000,5.329],[1081555200000,5.329],[1081641600000,5.329],[1081728000000,5.329],[1081814400000,5.329],[1081900800000,5.329],[1081987200000,5.329],[1082073600000,5.3288],[1082160000000,5.3288],[1082246400000,5.3288],[1082332800000,5.3288],[1082419200000,5.3288],[1082505600000,5.3288],[1082592000000,5.3288],[1082678400000,5.3288],[1082764800000,5.3288],[1082851200000,5.3288],[1082937600000,5.3288],[1083024000000,5.3288],[1083110400000,5.3288],[1083196800000,5.3288],[1083283200000,5.3285],[1083369600000,5.3285],[1083456000000,5.3285],[1083542400000,5.3285],[1083628800000,5.3285],[1083715200000,5.3285],[1083801600000,5.3285],[1083888000000,5.3282],[1083974400000,5.3282],[1084060800000,5.3282],[1084147200000,5.3282],[1084233600000,5.3282],[1084320000000,5.328],[1084406400000,5.328],[1084492800000,5.328],[1084579200000,5.328],[1084665600000,5.328],[1084752000000,5.328],[1084838400000,5.3276],[1084924800000,5.3274],[1085011200000,5.3269],[1085097600000,5.3268],[1085184000000,5.3268],[1085270400000,5.3268],[1085356800000,5.3268],[1085443200000,5.326],[1085529600000,5.3254],[1085616000000,5.3254],[1085702400000,5.325],[1085788800000,5.325],[1085875200000,5.325],[1085961600000,5.325],[1086048000000,5.3245],[1086134400000,5.3242],[1086220800000,5.3237],[1086307200000,5.3227],[1086393600000,5.3227],[1086480000000,5.3227],[1086566400000,5.3227],[1086652800000,5.3224],[1086739200000,5.322],[1086825600000,5.322],[1086912000000,5.3215],[1086998400000,5.3215],[1087084800000,5.3215],[1087171200000,5.3215],[1087257600000,5.3215],[1087344000000,5.3215],[1087430400000,5.3215],[1087516800000,5.3214],[1087603200000,5.3214],[1087689600000,5.3214],[1087776000000,5.3215],[1087862400000,5.3214],[1087948800000,5.3214],[1088035200000,5.3213],[1088121600000,5.321],[1088208000000,5.321],[1088294400000,5.321],[1088380800000,5.321],[1088467200000,5.321],[1088553600000,5.3207],[1088640000000,5.32],[1088726400000,5.3199],[1088812800000,5.3199],[1088899200000,5.3199],[1088985600000,5.3199],[1089072000000,5.3199],[1089158400000,5.3197],[1089244800000,5.3195],[1089331200000,5.3189],[1089417600000,5.3189],[1089504000000,5.3189],[1089590400000,5.3189],[1089676800000,5.3185],[1089763200000,5.3181],[1089849600000,5.3179],[1089936000000,5.3179],[1090022400000,5.3177],[1090108800000,5.3177],[1090195200000,5.3177],[1090281600000,5.317],[1090368000000,5.317],[1090454400000,5.3168],[1090540800000,5.3165],[1090627200000,5.3165],[1090713600000,5.3165],[1090800000000,5.3165],[1090886400000,5.3163],[1090972800000,5.3163],[1091059200000,5.316],[1091145600000,5.3154],[1091232000000,5.3154],[1091318400000,5.3154],[1091404800000,5.3154],[1091491200000,5.3153],[1091577600000,5.315],[1091664000000,5.315],[1091750400000,5.315],[1091836800000,5.3151],[1091923200000,5.3151],[1092009600000,5.3148],[1092096000000,5.3144],[1092182400000,5.3142],[1092268800000,5.3142],[1092355200000,5.3135],[1092441600000,5.3135],[1092528000000,5.3135],[1092614400000,5.3135],[1092700800000,5.3134],[1092787200000,5.3134],[1092873600000,5.3127],[1092960000000,5.3125],[1093046400000,5.3125],[1093132800000,5.3125],[1093219200000,5.3125],[1093305600000,5.3125],[1093392000000,5.3126],[1093478400000,5.312],[1093564800000,5.3118],[1093651200000,5.3118],[1093737600000,5.3118],[1093824000000,5.3118],[1093910400000,5.3114],[1093996800000,5.3112],[1094083200000,5.3112],[1094169600000,5.3111],[1094256000000,5.3111],[1094342400000,5.3111],[1094428800000,5.3111],[1094515200000,5.3106],[1094601600000,5.3106],[1094688000000,5.3107],[1094774400000,5.3101],[1094860800000,5.3101],[1094947200000,5.3101],[1095033600000,5.3101],[1095120000000,5.31],[1095206400000,5.3096],[1095292800000,5.3096],[1095379200000,5.3094],[1095465600000,5.309],[1095552000000,5.309],[1095638400000,5.309],[1095724800000,5.3088],[1095811200000,5.3086],[1095897600000,5.3085],[1095984000000,5.3082],[1096070400000,5.3081],[1096156800000,5.3081],[1096243200000,5.3081],[1096329600000,5.308],[1096416000000,5.3078],[1096502400000,5.3077],[1096588800000,5.3076],[1096675200000,null],[1096761600000,null],[1096848000000,5.3076],[1096934400000,5.3075],[1097020800000,5.3074],[1097107200000,5.3073],[1097193600000,5.3072],[1097280000000,5.3072],[1097366400000,5.3072],[1097452800000,5.3071],[1097539200000,5.3071],[1097625600000,5.3071],[1097712000000,5.307],[1097798400000,5.3069],[1097884800000,null],[1097971200000,5.3067],[1098057600000,5.3067],[1098144000000,5.3066],[1098230400000,5.3066],[1098316800000,5.3066],[1098403200000,5.3065],[1098489600000,5.3065],[1098576000000,5.3065],[1098662400000,5.3065],[1098748800000,5.3065],[1098835200000,5.3065],[1098921600000,5.3065],[1099008000000,5.3065],[1099094400000,5.3065],[1099180800000,5.3065],[1099267200000,5.3065],[1099353600000,5.3065],[1099440000000,5.3065],[1099526400000,5.3065],[1099612800000,null],[1099699200000,null],[1099785600000,null],[1099872000000,null],[1099958400000,null],[1100044800000,5.3063],[1100131200000,5.3063],[1100217600000,5.3063],[1100304000000,5.3062],[1100390400000,5.3062],[1100476800000,5.3062],[1100563200000,5.3062],[1100649600000,5.3062],[1100736000000,5.3062],[1100822400000,5.3062],[1100908800000,5.3062],[1100995200000,5.3062],[1101081600000,5.3062],[1101168000000,5.3062],[1101254400000,5.3062],[1101340800000,5.3062],[1101427200000,5.3062],[1101513600000,5.3062],[1101600000000,5.3062],[1101686400000,5.3062],[1101772800000,5.3062],[1101859200000,5.3062],[1101945600000,5.3062],[1102032000000,5.3062],[1102118400000,5.3062],[1102204800000,5.3062],[1102291200000,5.3062],[1102377600000,5.3062],[1102464000000,5.3062],[1102550400000,5.3061],[1102636800000,5.3061],[1102723200000,null],[1102809600000,null],[1102896000000,null],[1102982400000,5.306],[1103068800000,5.306],[1103155200000,5.306],[1103241600000,5.306],[1103328000000,5.3059],[1103414400000,5.3059],[1103500800000,5.3059],[1103587200000,5.3058],[1103673600000,5.3058],[1103760000000,5.3058],[1103846400000,5.3058],[1103932800000,5.3058],[1104019200000,5.3058],[1104105600000,5.3058],[1104192000000,5.3058],[1104278400000,5.3058],[1104364800000,5.3056]], 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: [[1074124800000, 5.331210],[1074124800000, 5.331210],[1076803200000, 5.330548],[1079308800000, 5.329468],[1081987200000, 5.328963],[1084579200000, 5.327287],[1087257600000, 5.321853],[1089849600000, 5.317935],[1092528000000, 5.313487],[1095206400000, 5.309553],[1097798400000, 5.306871],[1100476800000, 5.306260],[1103068800000, 5.305954]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });