Ich versuche, ein Balkendiagramm für meine App zu zeichnen, wie hier aufgeführt:
http://code.google.com/p/core-plot/source/browse/examples/CPTestApp-iPhone/Classes/CPTestAppBarChartController.m?r=1dcee044c4981113f38b3445880c88da14bdb40e
Ich bekomme einen Fehler für
CPXYAxisSet *axisSet = (CPXYAxisSet *)barChart.axisSet;
CPXYAxis *x = axisSet.xAxis;
x.constantCoordinateValue = CPDecimalFromString(@"0");
Für die obige Zeile kommt ein Fehler
Fehler: Anforderung für Element 'constantCoordinateValue' in etwas, das kein Struktur oder Union ist und derselbe Fehler für Folgendes
y.constantCoordinateValue = CPDecimalFromString(@"0");
Ich hoffe, jemand weiß, wie man das lösen kann
Vielen Dank im Voraus