Closed AbnerPei closed 1 month ago
Hi @AbnerPei ,
Please try setting axisDependency
of your data set to .right
. By default, the chart is plotted against the left axis.
Another workaround is to configure left and right axis with the same parameters (axisMinimum
, axisMaximum
etc.), then disable the left axis.
Hi @AbnerPei ,
Please try setting
axisDependency
of your data set to.right
. By default, the chart is plotted against the left axis.Another workaround is to configure left and right axis with the same parameters (
axisMinimum
,axisMaximum
etc.), then disable the left axis.
Thank you for your reply. It was very helpful. I just set axisDependency
to .right
!!!
What did you do?
What did you expect to happen?
I expect leftAxis or rightAxis has the same。
What happened instead?
ℹ Please replace this with of what happened instead.
DGCharts Environment
DGCharts version/Branch/Commit Number: Xcode version: 15.3 Swift version: 5.10 Platform(s) running DGCharts: 5.1.0 macOS version running Xcode: Sonoma 14.3.1
Demo Project
ℹ Please link to or upload a project we can download that reproduces the issue.