mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-02 04:42:34 +00:00
Fix tooltip charts
This commit is contained in:
parent
a57a65f12a
commit
551273b528
2 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,7 @@ class CustomCombinedLineChart extends StatelessWidget {
|
||||||
lineTouchData: LineTouchData(
|
lineTouchData: LineTouchData(
|
||||||
enabled: true,
|
enabled: true,
|
||||||
touchTooltipData: LineTouchTooltipData(
|
touchTooltipData: LineTouchTooltipData(
|
||||||
|
fitInsideHorizontally: true,
|
||||||
tooltipBgColor: selectedTheme == ThemeMode.light
|
tooltipBgColor: selectedTheme == ThemeMode.light
|
||||||
? const Color.fromRGBO(220, 220, 220, 0.9)
|
? const Color.fromRGBO(220, 220, 220, 0.9)
|
||||||
: const Color.fromRGBO(35, 35, 35, 0.9),
|
: const Color.fromRGBO(35, 35, 35, 0.9),
|
||||||
|
|
|
@ -90,6 +90,7 @@ class CustomLineChart extends StatelessWidget {
|
||||||
lineTouchData: LineTouchData(
|
lineTouchData: LineTouchData(
|
||||||
enabled: true,
|
enabled: true,
|
||||||
touchTooltipData: LineTouchTooltipData(
|
touchTooltipData: LineTouchTooltipData(
|
||||||
|
fitInsideHorizontally: true,
|
||||||
tooltipBgColor: selectedTheme == ThemeMode.light
|
tooltipBgColor: selectedTheme == ThemeMode.light
|
||||||
? const Color.fromRGBO(220, 220, 220, 0.9)
|
? const Color.fromRGBO(220, 220, 220, 0.9)
|
||||||
: const Color.fromRGBO(35, 35, 35, 0.9),
|
: const Color.fromRGBO(35, 35, 35, 0.9),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue