$(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: 'Курс TRY, грн'}, 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: 'Курс TRY', data: [[1393632000000,4.38481],[1393718400000,4.38481],[1393804800000,4.38481],[1393891200000,4.49946],[1393977600000,4.38668],[1394064000000,4.28084],[1394150400000,4.26483],[1394236800000,4.20968],[1394323200000,4.20968],[1394409600000,4.20968],[1394496000000,4.20968],[1394582400000,4.17286],[1394668800000,4.14307],[1394755200000,4.25759],[1394841600000,4.29433],[1394928000000,4.29433],[1395014400000,4.29433],[1395100800000,4.38633],[1395187200000,4.48312],[1395273600000,4.46413],[1395360000000,4.51844],[1395446400000,4.55278],[1395532800000,4.55278],[1395619200000,4.55278],[1395705600000,4.63595],[1395792000000,4.74228],[1395878400000,4.83426],[1395964800000,4.9668],[1396051200000,5.00114],[1396137600000,5.00114],[1396224000000,5.00114]], 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: [[1393632000000, 4.384808],[1393632000000, 4.384808],[1393718400000, 4.384808],[1393804800000, 4.384808],[1393891200000, 4.499456],[1393977600000, 4.386678],[1394064000000, 4.280841],[1394150400000, 4.264830],[1394236800000, 4.209677],[1394323200000, 4.209677],[1394409600000, 4.209677],[1394496000000, 4.209677],[1394582400000, 4.172863],[1394668800000, 4.143069],[1394755200000, 4.257589],[1394841600000, 4.294334],[1394928000000, 4.294334],[1395014400000, 4.294334],[1395100800000, 4.386333],[1395187200000, 4.483119],[1395273600000, 4.464133],[1395360000000, 4.518441],[1395446400000, 4.552776],[1395532800000, 4.552776],[1395619200000, 4.552776],[1395705600000, 4.635952],[1395792000000, 4.742275],[1395878400000, 4.834256],[1395964800000, 4.966796],[1396051200000, 5.001139],[1396137600000, 5.001139],[1396224000000, 5.001139]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });