You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a custom xAxisRenderer but the drawing of the renderer is on top of the line chart. I tried to modify drawDataSet inside of LineChartReneder but that seems to still draw the line below the xAxisRenderer. Is it possible to modify something like the "z-layer positon" for the drawing of the line on top of the renderer and other elements?
In summary, I'm trying to use a CustomLineChartRenderer and CustomXAxisRenderer but drawing stuff on "top" of the line graph using CustomXAxisRenderer. But I want the CustomXAxisRenderer to draw "below" the line graph.
What did you expect to happen?
I expect the line to be draw on top of the custom XAxisRenderer.
ask on stack overflow next time.
you have to look at draw() and see the order. I remember axis first, the data set. So changing in renderer does not take effect.
What did you do?
I created a custom xAxisRenderer but the drawing of the renderer is on top of the line chart. I tried to modify drawDataSet inside of LineChartReneder but that seems to still draw the line below the xAxisRenderer. Is it possible to modify something like the "z-layer positon" for the drawing of the line on top of the renderer and other elements?
In summary, I'm trying to use a CustomLineChartRenderer and CustomXAxisRenderer but drawing stuff on "top" of the line graph using CustomXAxisRenderer. But I want the CustomXAxisRenderer to draw "below" the line graph.
What did you expect to happen?
I expect the line to be draw on top of the custom XAxisRenderer.
What happened instead?
The line is drawn "below" the custom XAxisRenderer.
Image of line chart
The text was updated successfully, but these errors were encountered: