I have a ChartView which actually worked really good until I saw that the tooltip for the graphs are only showing on iOS and on
android not.
I think it may has something todo with overflow or so. Please help!
Edited:
I found out that the tooltip.formatter function gets not executed on android. Somebody know why? (I have tested it with alerts, on iOS i got an alert, on android I did not)
Hello!
I have a ChartView which actually worked really good until I saw that the tooltip for the graphs are only showing on iOS and on android not.
I think it may has something todo with overflow or so. Please help!
Edited: I found out that the tooltip.formatter function gets not executed on android. Somebody know why? (I have tested it with alerts, on iOS i got an alert, on android I did not)
Code: ` var Highcharts = "Highcharts"; var conf = { chart: { type: "line", // zoomType: "xy", renderTo: "container", ignoreHiddenSeries: false, animation: Highcharts.svg, // don't animate in old IE marginRight: 10, events: { click: function () { this.series.chart; this.series.chart.update({ tooltip: { enabled: tooltipEnabled, }, }); tooltipEnabled = tooltipEnabled ? false : true; }, }, },
};
const options = { global: { useUTC: false, }, lang: { decimalPoint: ",", // resetZoom: "Zurücksetzen", thousandsSep: ".", months: [ "Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ], weekdays: [ "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag", ], }, };
<View onStartShouldSetResponder={() => true}> {wait === false ? ( <ChartView style={{ height: 300, marginTop: 15 }} config={conf} options={options} originWhitelist={["*"]} useWebKit={true} javaScriptEnabled={true} domStorageEnabled={true}
Greetings, Armin