Legend module is used to render legend for the stockchart.
Legend
To show the tooltip for the trimmed text in legend.
Returns void