When we migrated from qwt 5 to 6, the legend displays a colored rectangle instead of a line to represent curve type. So the line properties like dashed-line etc. are not indicated in the legend. How to replicate qwt 5 behavior?