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

Custom textstyle for default titles #1800

Open
khuaho opened this issue Dec 5, 2024 · 0 comments
Open

Custom textstyle for default titles #1800

khuaho opened this issue Dec 5, 2024 · 0 comments

Comments

@khuaho
Copy link

khuaho commented Dec 5, 2024

I have an issue with LineChart.

When i haven't added titlesData like below code to LineChartData, I see that line chart shows titles default for top, left, bottom. I want to use the default displayed title data and be able to customize the text style for them. Currently, I see the default text color is black and my wish is to be able to change the text color, font family for them. Please enhance this issue.

titlesData: FlTitlesData(
          bottomTitles: AxisTitles(
            sideTitles: bottomTitles(),
          ),
          rightTitles: const AxisTitles(),
          topTitles: const AxisTitles(),
          leftTitles: AxisTitles(
            axisNameSize: 0,
            sideTitles: leftTitles(minY, maxY, interval),
          ),
        ),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant