AAChartKit
AAChartKit copied to clipboard
y轴背景怎么遮挡dataLabels

如图,我现在设置x轴可滑动,然后设置了dataLabels的显示位置 dataLabels.rotationSet(@-45)//轴标签的旋转角度 默认是:0.
设置了y轴区域的透明度 .scrollablePlotAreaSet( //滑动区域设置 AAScrollablePlotArea.new .minWidthSet([NSNumber numberWithInt:scrollableMinWidth]) .scrollPositionXSet(@0) .opacitySet(@1) //不透明度 )
为了能全部显示dataLabels,我设置了margin aaOptions.chart .marginTopSet(@45)//外边距-top .marginRightSet(@25)
现在的问题是左边的dataLabels会超出y轴的范围,右边的dataLabels会被遮住 请问有什么方法可以设置左边的透明度为1,右边的透明度为0呢,然后y轴的区域高度可以修改吗?