Charts: 最新版更新后的问题

Created on 3 Apr 2019  ·  5Comments  ·  Source: danielgindi/Charts

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
{
let copy = super.copyWithZone(zone) as! RealmBaseDataSet

    copy._results = _results
    copy._yValueField = _yValueField
    copy._xValueField = _xValueField
    copy._yMax = _yMax
    copy._yMin = _yMin
    copy._xMax = _xMax
    copy._xMin = _xMin

    return copy
}

All 5 comments

open class RealmPieDataSet: RealmBaseDataSet, IPieChartDataSet
{

Type 'RealmPieDataSet' does not conform to protocol 'IPieChartDataSet'

func copyWithZone(_ zone: NSZone?) -> AnyObject。Method does not override any method from its superclass

let copy = super.copyWithZone(zone) as! RealmBaseDataSet Static member 'copyWithZone' cannot be used on instance of type 'ChartBaseDataSet'

I also have this situation, need I change it manually?

I also have this situation, need I change it manually?
解决了没有 😄

RealmBaseDataSet is about Realm. So you should ask on ChartsRealm btw.

ChartsRealm didn't get updated yet. So maybe this is the reason.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

coop44483 picture coop44483  ·  3Comments

brytnvmg picture brytnvmg  ·  4Comments

heumn picture heumn  ·  3Comments

Bharati555 picture Bharati555  ·  4Comments

JW00332 picture JW00332  ·  4Comments