This is a clone of issue OCPBUGS-7893. The following is the description of the original issue:
Description of problem:
The TaskRun duration diagram on the "Metrics" tab of pipeline is set to only show 4 TaskRuns in the legend regardless of the number of TaskRuns on the diagram.
All TaskRuns should be displayed in the legend.