We used primary x axis which type is category axis and we provided the below properties.
CategoryAxis
visibleMinimum: oldAxisVisibleMin,
visibleMaximum: oldAxisVisibleMax,
majorGridLines: const MajorGridLines(
width: 1,
color: AppColors.white,
),
majorTickLines: const MajorTickLines(
width: 2,
color: AppColors.white,
),
labelStyle
labelStyle: const TextStyle(
fontSize: 10,
fontFamily: 'Lato',
fontWeight: FontWeight.w400,
color: AppColors.black),
labelPosition: ChartDataLabelPosition.outside,
edgeLabelPlacement: EdgeLabelPlacement.none,
labelAlignment: LabelAlignment.center,
labelPlacement: LabelPlacem
We have used the above properties and facing the grey line issue.Please suggest us some solution.
Attachment:
Sc1_725cbb9d.zip