pc1990
Posts: 2
Joined: Tue Jan 03, 2023 8:31 am

donot work groupAll and force together

I had to remove the gap between the data, so I used the following code
xAxis: {
type: 'datetime',
ordinal: true,
}

series: [
{

dataGrouping: {
groupAll: true,
units: [[
'', []
]],
}}]

I also used the following code to use the time frame
series: [
{
type: 'candlestick',

data: ohlc.value,
yAxis: 0,
zIndex: 2,
useOhlcData: true,

dataGrouping: {
groupAll: true,
forced: true,
units: [[
'', []
]],
},
},
{
type: 'column',
id: 'volume',
name: 'Volume',
data: volume.value,
yAxis: 1,
zIndex: 1,
opacity: 0.7,
dataGrouping: {

forced: true,

units: [[
'', []
]],
},

}

But the problem is that the following codes are not possible at the same time
dataGrouping: {
groupAll: true,
forced: true,}
User avatar
dawid.d
Posts: 807
Joined: Thu Oct 06, 2022 11:31 am

Re: donot work groupAll and force together

Hi,

Welcome to our forum and thanks for contacting us with your question!

Could you prepare a demo eg in jsfiddle to show what you mean? It would enable me to better understand the problem to be more helpful.

The gap between data points can be set using the pointPadding parameter.
See: https://api.highcharts.com/highstock/se ... intPadding

I'm waiting for your reply.
Best regards!
Dawid Draguła
Highcharts Developer

Return to “Highcharts Stock”