'React Google Charts 2y-Axis html tooltip issue
When I set the chartType to "LineChart" or "BarChart" the custom HTML Tooltip is working without a problem but I only have 1 Y Axis. When I change the chartType to "Line" or "Bar" the second Y-Axis appear but the html tool tip no longer works.
Do I have to set more specific options for the chart?
<Chart
chartType="LineChart"
data={data}
formatters={[{ type: 'NumberFormat', column: 1 }]}
width={'100%'}
height={'500px'}
options={{
tooltip: { isHtml: true },
colors: ['#0C79B1', '#FF7D2D'],
legend: 'none',
titleTextStyle: {
fontSize: 20,
bold: false,
},
isStacked: true,
series: {
0: { axis: 'Temperatur' },
},
}}
/>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
