Hallo, hie ein Code au dem Netz. Wollte ein bisschen Spielen
addSreies kenn er nicht
Fehlermeldung: The method addSeries(GraphViewSeries) in the type GraphView is not applicable for the arguments (LineGraphSeries<DataPoint>)
Wie löse ich das Problem?
Java:
GraphView graphi = (GraphView) findViewById(R.id.graph);
LineGraphSeries<DataPoint> series = new LineGraphSeries<DataPoint>(new DataPoint[] {
new DataPoint(0, 1),
new DataPoint(1, 5),
new DataPoint(2, 3),
new DataPoint(3, 2),
new DataPoint(4, 6)
});
graphi.addSeries(null);
addSreies kenn er nicht
Fehlermeldung: The method addSeries(GraphViewSeries) in the type GraphView is not applicable for the arguments (LineGraphSeries<DataPoint>)
Wie löse ich das Problem?