Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the interval of SideTitles invalid for BarChart? #1619

Open
GanZhiXiong opened this issue Mar 28, 2024 · 1 comment
Open

Is the interval of SideTitles invalid for BarChart? #1619

GanZhiXiong opened this issue Mar 28, 2024 · 1 comment
Labels
Bar Chart enhancement New feature or request

Comments

@GanZhiXiong
Copy link

GanZhiXiong commented Mar 28, 2024

see BarChartSample9 in
https://zapp.run/edit/flutter-zphk0684phl0?entry=lib/main.dart&file=lib/bar_chart_sample9.dart

image

BarChartData(
          titlesData: FlTitlesData(
              bottomTitles: AxisTitles(
                  sideTitles: SideTitles(
                    showTitles: true,
            interval: 3,
            getTitlesWidget: (value, meta) {
              return Text('$value');
            },
          ))),
@imaNNeo
Copy link
Owner

imaNNeo commented May 8, 2024

Yes, basically, we don't consider the interval for the bottom titles, we just show them on the bottom of Rods.
But I agree we need to fix it

@imaNNeo imaNNeo added enhancement New feature or request Bar Chart labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bar Chart enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants