QAC-Portal/QA-Portal

Cohorts Summary Page - Chart styling

Open

#20 opened on Dec 2, 2019

 (0 comments) (0 reactions) (0 assignees)Java (5 forks)auto 404
UIenhancementgood first issue

Repository metrics

Stars
 (2 stars)
PR merge metrics
 (PR metrics pending)

Description

Description

SHOULD BE ADDRESSED PRIOR TO DEPLOYMENT TO TEST OR PROD ENVIRONMENTS

The colours of the lines on the Cohort Summary Page chart are dynamically generated, but sometimes they are a colour that matches the chart background and are therefore not visible.

Amend the Chart component so that the colour that is generated will always be visible (i.e. not white, or slightly off white)

Task Description

In cohort-chart.component.ts file, amend the random_rgba function to filter out any colours that won’t be visible with the white background.

Contributor guide