I've seen this and i want the same lines in my legend as in the Image shown.
I can't find this in GraphView.getLegendRenderer()
Object.
I've seen this and i want the same lines in my legend as in the Image shown.
I can't find this in GraphView.getLegendRenderer()
Object.
for this you have a create your own legend renderer.
Create a new class that extends the LegendRenderer
.
There you can override the draw
method. About line 192 is the part where the rectangle is rendered. Just alter the original code in order to have a line instead of a rect.
If you want you can create a pull request or just copy your custom Renderer into a issue at github, then I maybe can merge it into the main for the next release.
Have fun!