Series are represented in the legend box by a solid square by default, painted in the same color of respective
series. Line series, including OHLC/HLC line series and XY line series, can have their legend symbols changed
to match the shape of respective data points marks, in which case the symbols are painted in the same color
of the marks and a horizontal line is displayed, cutting the legend symbol and painted in the same color
of respective series. The symbol line also matches the series style, solid or dashed(only line series and
OHLC/HLC line series. XY line series are always solid).
The parameter used to change the legend style is seriex_legendstyle. It accepts values
0 and 1. If 0 is passed the legend symbol is a solid square. If 1 is passed the legend symbol matches
the shape of data points marks, displaying a horizontal line crossing the symbol.
The example below is the same of the previous topic, only two new lines are added to change the
style of the legend symbols.