From aa74c428baf8970b2f4e34fe58bfcad7533188ff Mon Sep 17 00:00:00 2001 From: Mattia Pispisa Date: Tue, 24 Sep 2024 08:20:05 +0200 Subject: [PATCH] improved doc --- lib/src/chart/bar_chart/bar_chart_data.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/src/chart/bar_chart/bar_chart_data.dart b/lib/src/chart/bar_chart/bar_chart_data.dart index d9cf88b7f..9552c6247 100644 --- a/lib/src/chart/bar_chart/bar_chart_data.dart +++ b/lib/src/chart/bar_chart/bar_chart_data.dart @@ -713,9 +713,11 @@ class BarTouchTooltipData with EquatableMixin { /// if [BarTouchData.handleBuiltInTouches] is true, /// [BarChart] shows a tooltip popup on top of rods automatically when touch happens, /// otherwise you can show it manually using [BarChartGroupData.showingTooltipIndicators]. - /// Tooltip shows on top of rods, with [getTooltipColor] as a background color, - /// and you can set corner radius using [tooltipRoundedRadius], of if you need a custom - /// border you can use [tooltipBorderRadius]. + /// Tooltip shows on top of rods, with [getTooltipColor] as a background color. + /// You can set the corner radius using [tooltipRoundedRadius], + /// or if you need a custom border, you can use [tooltipBorderRadius]. + /// Note that if both [tooltipRoundedRadius] and [tooltipBorderRadius] are set, + /// the value from [tooltipBorderRadius] will be used. /// If you want to have a padding inside the tooltip, fill [tooltipPadding], /// or If you want to have a bottom margin, set [tooltipMargin]. /// Content of the tooltip will provide using [getTooltipItem] callback, you can override it