$(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: [[1041379200000,5.3324],[1041465600000,5.3324],[1041552000000,5.3324],[1041638400000,5.3324],[1041724800000,5.3324],[1041811200000,5.3324],[1041897600000,5.3324],[1041984000000,5.3324],[1042070400000,5.3326],[1042156800000,5.3326],[1042243200000,5.3326],[1042329600000,5.3326],[1042416000000,5.3326],[1042502400000,5.3326],[1042588800000,5.3329],[1042675200000,5.3329],[1042761600000,5.3329],[1042848000000,5.3329],[1042934400000,5.3329],[1043020800000,5.3329],[1043107200000,5.3329],[1043193600000,5.3329],[1043280000000,5.3329],[1043366400000,5.3329],[1043452800000,5.3329],[1043539200000,5.3329],[1043625600000,5.3329],[1043712000000,5.3329],[1043798400000,5.3329],[1043884800000,5.3329],[1043971200000,5.3329],[1044057600000,5.3329],[1044144000000,5.3329],[1044230400000,5.3329],[1044316800000,5.3329],[1044403200000,5.3331],[1044489600000,5.3331],[1044576000000,5.3335],[1044662400000,5.3335],[1044748800000,5.3335],[1044835200000,5.3335],[1044921600000,5.3337],[1045008000000,5.3337],[1045094400000,5.3342],[1045180800000,5.3342],[1045267200000,5.3342],[1045353600000,5.3342],[1045440000000,5.3342],[1045526400000,5.3345],[1045612800000,5.3345],[1045699200000,5.3345],[1045785600000,5.3343],[1045872000000,5.3343],[1045958400000,5.3343],[1046044800000,5.3343],[1046131200000,5.3345],[1046217600000,5.3345],[1046304000000,5.3345],[1046390400000,5.3345],[1046476800000,5.3345],[1046563200000,5.3345],[1046649600000,5.3345],[1046736000000,5.3345],[1046822400000,5.3345],[1046908800000,5.3345],[1046995200000,5.3345],[1047081600000,5.3345],[1047168000000,5.3345],[1047254400000,5.3345],[1047340800000,5.3345],[1047427200000,5.3345],[1047513600000,5.3345],[1047600000000,5.3345],[1047686400000,5.3345],[1047772800000,5.3345],[1047859200000,5.3345],[1047945600000,5.3345],[1048032000000,5.3345],[1048118400000,5.3345],[1048204800000,5.3345],[1048291200000,5.3345],[1048377600000,5.3345],[1048464000000,5.3345],[1048550400000,5.3345],[1048636800000,5.3345],[1048723200000,5.3345],[1048809600000,5.3345],[1048896000000,5.3345],[1048982400000,5.3345],[1049068800000,5.3345],[1049155200000,5.3345],[1049241600000,5.3345],[1049328000000,5.3345],[1049414400000,5.3345],[1049500800000,5.3345],[1049587200000,5.3345],[1049673600000,5.3345],[1049760000000,5.3341],[1049846400000,5.334],[1049932800000,5.334],[1050019200000,5.334],[1050105600000,5.334],[1050192000000,5.334],[1050278400000,5.334],[1050364800000,5.334],[1050451200000,5.334],[1050537600000,5.334],[1050624000000,5.3339],[1050710400000,5.3339],[1050796800000,5.3339],[1050883200000,5.3339],[1050969600000,5.3339],[1051056000000,5.3339],[1051142400000,5.3338],[1051228800000,5.3338],[1051315200000,5.3338],[1051401600000,5.3338],[1051488000000,5.3338],[1051574400000,5.3338],[1051660800000,5.3336],[1051747200000,5.3336],[1051833600000,5.3336],[1051920000000,5.3336],[1052006400000,5.3336],[1052092800000,5.3336],[1052179200000,5.3335],[1052265600000,5.3335],[1052352000000,5.3333],[1052438400000,5.3333],[1052524800000,5.3333],[1052611200000,5.3333],[1052697600000,5.3333],[1052784000000,5.3332],[1052870400000,5.3331],[1052956800000,5.3331],[1053043200000,5.3331],[1053129600000,5.3331],[1053216000000,5.3331],[1053302400000,5.3331],[1053388800000,5.3331],[1053475200000,5.3331],[1053561600000,5.333],[1053648000000,5.333],[1053734400000,5.333],[1053820800000,5.333],[1053907200000,null],[1053993600000,5.333],[1054080000000,5.333],[1054166400000,5.333],[1054252800000,5.333],[1054339200000,5.333],[1054425600000,5.333],[1054512000000,5.333],[1054598400000,5.333],[1054684800000,5.333],[1054771200000,5.333],[1054857600000,5.333],[1054944000000,5.333],[1055030400000,5.333],[1055116800000,5.333],[1055203200000,5.333],[1055289600000,5.333],[1055376000000,5.333],[1055462400000,5.333],[1055548800000,5.333],[1055635200000,5.333],[1055721600000,5.333],[1055808000000,5.333],[1055894400000,5.333],[1055980800000,5.333],[1056067200000,5.333],[1056153600000,5.333],[1056240000000,5.333],[1056326400000,5.333],[1056412800000,5.333],[1056499200000,5.333],[1056585600000,5.3328],[1056672000000,5.3328],[1056758400000,5.3328],[1056844800000,5.3328],[1056931200000,5.3328],[1057017600000,5.3328],[1057104000000,5.3328],[1057190400000,5.3326],[1057276800000,5.3325],[1057363200000,5.3325],[1057449600000,5.3325],[1057536000000,5.3324],[1057622400000,5.3323],[1057708800000,5.3323],[1057795200000,5.3322],[1057881600000,5.3322],[1057968000000,5.3322],[1058054400000,5.3322],[1058140800000,5.332],[1058227200000,5.332],[1058313600000,5.332],[1058400000000,5.3319],[1058486400000,5.3318],[1058572800000,5.3318],[1058659200000,5.3318],[1058745600000,5.3318],[1058832000000,5.3318],[1058918400000,5.3318],[1059004800000,5.3318],[1059091200000,5.3318],[1059177600000,5.3318],[1059264000000,5.3318],[1059350400000,5.3318],[1059436800000,5.3318],[1059523200000,5.3318],[1059609600000,5.3318],[1059696000000,5.3318],[1059782400000,5.3318],[1059868800000,5.3318],[1059955200000,5.3318],[1060041600000,5.3318],[1060128000000,5.3318],[1060214400000,5.3318],[1060300800000,5.3318],[1060387200000,5.3318],[1060473600000,5.3318],[1060560000000,5.3318],[1060646400000,5.3318],[1060732800000,5.3317],[1060819200000,5.3317],[1060905600000,5.3317],[1060992000000,5.3317],[1061078400000,5.3317],[1061164800000,5.3317],[1061251200000,5.3317],[1061337600000,5.3317],[1061424000000,5.3317],[1061510400000,5.3315],[1061596800000,5.3315],[1061683200000,5.3315],[1061769600000,5.3315],[1061856000000,5.3315],[1061942400000,5.3315],[1062028800000,5.3315],[1062115200000,5.3315],[1062201600000,5.3315],[1062288000000,5.3315],[1062374400000,5.3315],[1062460800000,5.3315],[1062547200000,5.3315],[1062633600000,5.3315],[1062720000000,5.3315],[1062806400000,5.3315],[1062892800000,5.3315],[1062979200000,5.3315],[1063065600000,5.3315],[1063152000000,5.3315],[1063238400000,5.3315],[1063324800000,5.3315],[1063411200000,5.3315],[1063497600000,5.3315],[1063584000000,5.3315],[1063670400000,5.3315],[1063756800000,5.3315],[1063843200000,5.3315],[1063929600000,5.3317],[1064016000000,5.3317],[1064102400000,5.3317],[1064188800000,5.3317],[1064275200000,5.3317],[1064361600000,null],[1064448000000,null],[1064534400000,null],[1064620800000,null],[1064707200000,null],[1064793600000,5.3317],[1064880000000,5.3315],[1064966400000,5.3317],[1065052800000,5.3315],[1065139200000,5.3317],[1065225600000,5.3317],[1065312000000,5.3317],[1065398400000,5.3315],[1065484800000,5.3315],[1065571200000,5.3315],[1065657600000,5.3315],[1065744000000,5.3315],[1065830400000,5.3315],[1065916800000,5.3315],[1066003200000,5.3315],[1066089600000,5.3313],[1066176000000,5.3315],[1066262400000,5.3317],[1066348800000,5.3317],[1066435200000,5.3317],[1066521600000,5.3317],[1066608000000,5.3317],[1066694400000,5.3318],[1066780800000,5.332],[1066867200000,5.332],[1066953600000,5.3319],[1067040000000,5.3319],[1067126400000,5.3319],[1067212800000,5.3319],[1067299200000,5.3319],[1067385600000,5.3319],[1067472000000,5.3319],[1067558400000,5.3319],[1067644800000,5.3318],[1067731200000,5.3318],[1067817600000,5.3318],[1067904000000,5.3319],[1067990400000,5.3318],[1068076800000,5.332],[1068163200000,5.332],[1068249600000,5.332],[1068336000000,5.332],[1068422400000,5.332],[1068508800000,5.332],[1068595200000,5.332],[1068681600000,5.332],[1068768000000,5.332],[1068854400000,5.332],[1068940800000,5.332],[1069027200000,5.332],[1069113600000,5.332],[1069200000000,5.332],[1069286400000,5.332],[1069372800000,5.3319],[1069459200000,5.3319],[1069545600000,5.3319],[1069632000000,5.3319],[1069718400000,5.332],[1069804800000,5.332],[1069891200000,5.332],[1069977600000,5.332],[1070064000000,5.332],[1070150400000,5.332],[1070236800000,5.332],[1070323200000,5.332],[1070409600000,5.332],[1070496000000,5.332],[1070582400000,5.332],[1070668800000,5.332],[1070755200000,5.332],[1070841600000,5.332],[1070928000000,5.332],[1071014400000,5.332],[1071100800000,5.3319],[1071187200000,5.3319],[1071273600000,5.3319],[1071360000000,5.3319],[1071446400000,5.3319],[1071532800000,5.3318],[1071619200000,5.3318],[1071705600000,5.3318],[1071792000000,5.3317],[1071878400000,5.3317],[1071964800000,5.3317],[1072051200000,5.3317],[1072137600000,5.3316],[1072224000000,5.3316],[1072310400000,5.3315],[1072396800000,5.3315],[1072483200000,5.3315],[1072569600000,5.3315],[1072656000000,5.3315],[1072742400000,5.3315]], 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: [[1042588800000, 5.332713],[1042588800000, 5.332713],[1045267200000, 5.333889],[1047686400000, 5.334500],[1050364800000, 5.334047],[1052956800000, 5.333217],[1055635200000, 5.332967],[1058227200000, 5.332084],[1060905600000, 5.331674],[1063584000000, 5.331548],[1066176000000, 5.331697],[1068854400000, 5.331957],[1071446400000, 5.331787]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });