From e9b7805e8f7392b8c17bcca250857d6a9dcbb8bc Mon Sep 17 00:00:00 2001 From: dsnallfot <72826201+dsnallfot@users.noreply.github.com> Date: Sat, 15 Jun 2024 01:45:05 +0200 Subject: [PATCH] align tooltips top --- Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift b/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift index 5c24d50a..7d6cc3fe 100644 --- a/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift +++ b/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift @@ -818,8 +818,8 @@ open class LineChartRenderer: LineRadarRenderer let trans = dataProvider.getTransformer(forAxis: set.axisDependency) var pt = trans.pixelForValues(x: x, y: y) - // Adjust the y-coordinate to the center of the chart and offset 50 points down - pt.y = centerY + 90 + // Adjust the y-coordinate to the center of the chart and offset 95 points up + pt.y = centerY - 95 high.setDraw(pt: pt)