doc: add more information in the showLegend option