Draws a horizontal line as a divider for given thickness and color
Renders the list of legends in a grid format for given given grid column count