how to remove X-Y values in this fl-chart flutter

720

So I figured it out we can simple add this code in LineChartData to remove these titles data:

titlesData: FlTitlesData(
              show: false,
            ),// to disable all tiles in graph

you can also disable required tiles by specifying titles like:

 titlesData: FlTitlesData(
                  bottomTitles: SideTitles(showTitles: false),
                  leftTitles: SideTitles(showTitles: false),
                  rightTitles: SideTitles(showTitles: false),
                  topTitles: SideTitles(showTitles: false),
)
Share:
720
Arslan Kaleem
Author by

Arslan Kaleem

Updated on December 01, 2022

Comments

  • Arslan Kaleem
    Arslan Kaleem over 1 year

    **I am working on fl-chart (line charts) and I want to remove X-Y labels in this chart as well as grey lines to make a clear look of the chart but I didn't find any customisation in this package. So how can I achieve this task if fl-cart has this option or is there any different package available ?
    enter image description here

    And also I want to achieve this task so if there is any alternative way please tell me

    enter image description here