#5926 improves the linestyle dot and dash patterns, but with a wide line, legend does not show a long enough segment to show the pattern.