其他分享
首页 > 其他分享> > iOS charts CombinedChartView First and last bars are shown half only

iOS charts CombinedChartView First and last bars are shown half only

作者:互联网

charts 使用CombinedChartView 绘图时,发现第一个和最后一个bar只能显示一半的问题,解决方法:

    ChartXAxis *xAxis = chartView.xAxis;
    xAxis.spaceMin = 0.5;
    xAxis.spaceMax = 0.5;

参考:https://github.com/danielgindi/Charts/issues/2106

标签:bars,last,danielgindi,0.5,spaceMax,CombinedChartView,xAxis,half
来源: https://www.cnblogs.com/qqcc1388/p/11151781.html