I managed to make the example run, but I can't find a way to plot a simple x,y data line.
My attempt was to do so :
var points = [ChartPoint(1.0,2.0),ChartPoint(2.0,0.0),ChartPoint(3.0,4.0),ChartPoint(4.0,1.0),ChartPoint(5.0,4.0),ChartPoint(6.0,6.0)];
var data = ChartLine(points,Color(0xFF42A5F5),'°C');
chart = LineChart([data],??);
I managed to make the example run, but I can't find a way to plot a simple x,y data line.
My attempt was to do so :
but the
fromToarguments seems to want "Dates" ... I don't have any :)Any ideas ? Thanks