jquery - Getting average or number of columns Highstock -


i'm working highstock column chart.

http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/stock/demo/column/

$('#container').highcharts('stockchart', {         chart: {             alignticks: false         },          rangeselector: {             selected: 1         },          title: {             text: 'aapl stock volume'         },          series: [{             type: 'column',             name: 'aapl stock volume',             data: data,             datagrouping: {                 units: [[                     'week', // unit name                     [1] // allowed multiples                 ], [                     'month',                     [1, 2, 3, 4, 6]                 ]]             }         }]     }); 

when change range bigger on navigator joins bars , values. there way getting average of these 2 values, not sum?

or, there possibility amount of columns, visible?

this handled in datagrouping options. @ link tells default calculation approximation:

defaults average line-type series, sum columns, range range series , ohlc ohlc , candlestick.

you can change 'average' column data.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -