can you explain the behavior in the attached You will notice that there is no tooltips for the 2nd pane, but if i zoom in there is.
https://drive.google.com/file/d/1-3lvfa ... sp=sharing
The first pane is OHLC candle stick data that goes back to 1928. the second data in the bottom pane, doesnt have as much data so lots of nulls for early dates. Im not sure if that has anything to do with it. i have tried a few configurations to fix this, but nothing seems to help much.
It also seems somewhat random...as depending on the length of the timeseries..shorter timeseries it works more often the way i would expect.
this is my tooltip configuration:
Code: Select all
export const defaultChartOptions = {
chart: { zoomType: 'x' },
navigator: {
series: {color: Highcharts.getOptions().colors[0]},
height: 20,
xAxis: { overscroll: 4838400000 }
},
legend: {
enabled: false,
align: 'right',
verticalAlign: 'top',
layout: 'vertical',
style: "{display: None}"
},
// Add the tooltip configuration here
tooltip: {
split: true,
shared: true,
valueDecimals: 2,
followPointer: true,
hideDelay: 0,
outside: true,
distance: 50,
snap: 10,
stickyTracking: true,
},
rangeSelector: {
buttons: [
{ text: '1m', type: 'month', count: 1 },
{ text: '3m', type: 'month', count: 3 },
{ text: '6m', type: 'month', count: 6 },
{ text: '1y', type: 'year', count: 1 },
{ text: '3y', type: 'year', count: 3 },
{ text: '5y', type: 'year', count: 5 },
{ text: '10y', type: 'year', count: 10 },
{ text: '20y', type: 'year', count: 20 },
{ text: 'YTD', type: 'ytd', count: 1 },
{ text: 'All', type: 'all' }
],
selected: 6,
allButtonsEnabled: true,
},
plotOptions: {
series: {
boostThreshold: 1,
turboThreshold: 1,
dataGrouping: {
enabled: false
}
}
},
exporting: {
chartOptions: {
navigator: { enabled: false },
scrollbar: { enabled: false }
}
},
stockTools: {
gui: {
buttons: ['logScaleTBB','indicators', 'separator', 'simpleShapes', 'lines',
'crookedLines', 'measure', 'advanced', 'toggleAnnotations', 'separator',
'verticalLabels', 'flags', 'separator', 'zoomChange', 'fullScreen',
'typeChange', 'separator', 'currentPriceIndicator', 'saveChart', 'yAxisXHairTBB'],
definitions: {
logScaleTBB: {
className: 'toggle-logscale',
symbol: 'logarithmic.svg'
},
yAxisXHairTBB: {
className: 'toggle-yaxis-xhair',
}
}
}
}