Open
Description
What did you do?
I added those code when I init a BarChartView object.
chart.xAxis.drawGridLinesEnabled = true
chart.xAxis.gridColor = UIColor(EngageColors.textTertiaryBody)
chart.xAxis.gridLineWidth = 0.5
What did you expect to happen?
I want add vertical lines on X-axis with intervals, like this:
What happened instead?
Now I get this:
The vertical lines on X-axis is continuous.
DGCharts Environment
**DGCharts version/Branch/Commit Number: 5.0.0 with SPM in Xcode
**Xcode version: 16.2
**Swift version: 6.0
**Platform(s) running DGCharts: iOS 18.2.1
**macOS version running Xcode: 15.1.1
Thank you!
Metadata
Metadata
Assignees
Labels
No labels