Patrick mentioned "You might instead want to subclass LegendItem instead of 
just patching the paint() method like that".
I have an example here doing just that:

https://github.com/jaj42/GraPhysio/blob/master/graphysio/legend.py

It make the background of the Legend white and doubles the size of the 
legend item lines.

Best regards,
Jona

On Friday, 26 April 2019 00:13:28 UTC+2, Jaime Heiss wrote:
>
> Awesome!
>
> On Saturday, April 20, 2019 at 12:25:53 PM UTC-7, Jaime Heiss wrote:
>>
>> Hello.
>> Is there any updated documentation about legend handling?
>> I need to remove the box, change background color and make thicker lines 
>> as well as horizontal lines instead of the diagonals. If anybody could post 
>> an example, I will appreciate it. 
>>
>> Thanks.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/144f565a-120c-4bd7-81b0-e76da85fd7a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to