The ShowAll link appears when the number of items is not less than the ShowAllThreshold attribute's value. To hide the ShowAll, set ShowAllThreshold to a large number, like 9999.
The default is "4". When there are 4 or more legend items, the link appears. When less, it does not appear.