designs the x axis
canvas: is the object we are going to draw
size: is the size of the area where we are going to draw
returns an array containing: firs two are coordinates where we'll start building the markers of this axis and the last one are real points in the x axis
designs the y axis
canvas: is the object we are going to draw
size: is the size of the area where we are going to draw
the function return an int value in where will start building the markers of this axis
size: é o tamanho da area onde vamos desenhar
canvas: é o objeto que vamos desenhar
paint: é o objeto que contém as propriedades do que desejamos desenhar: cor, espessura da linha, etc
Called whenever a new instance of the custom painter delegate class is
provided to the RenderCustomPaint object, or any time that a new
CustomPaint object is created with a new instance of the custom painter
delegate class (which amounts to the same thing, because the latter is
implemented in terms of the former).
Called whenever a new instance of the custom painter delegate class is
provided to the RenderCustomPaint object, or any time that a new
CustomPaint object is created with a new instance of the custom painter
delegate class (which amounts to the same thing, because the latter is
implemented in terms of the former).