错误提示:Type 'ChartDataSet' does not conform to protocol 'RangeReplaceableCollection'
解决方案
// MARK: RangeReplaceableCollection
extension ChartDataSet: RangeReplaceableCollection中粘贴方法
publicfuncreplaceSubrange(_subrange: Swift.Range,withnewElements: C)whereC :
Collection,ChartDataEntry== C.Element{
}
网友评论