QAC-Portal/QA-Portal

Cohorts Summary Page - Chart styling

Aperta

#20 aperta il 2 dic 2019

 (0 commenti) (0 reazioni) (0 assegnatari)Java (5 fork)auto 404
UIenhancementgood first issue

Metriche repository

Star
 (2 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor