← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1243747] Re: resource usage line chart categorical colors insufficiently contrasty

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => icehouse-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1243747

Title:
  resource usage line chart categorical colors insufficiently contrasty

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The line charts use d3.scale.category20() to allocate colors to the
  per-tenant trend lines.

  However these colors are arranged in alternating dark-light pairs
  (darker blue, lighter blue, darker orange, lighter orange, ...):

    https://github.com/mbostock/d3/wiki/Ordinal-Scales#wiki-category20

  The result is that as new tenants are created, the color rendered for
  every second new tenant is hard to distinguish visually from the
  previous one.

  The resource usage panel should instead either use the narrower but
  more contrasty d3.scale.category10():

    https://github.com/mbostock/d3/wiki/Ordinal-Scales#wiki-category10

  or else construct it's own wider and more contrasty ordinal scale.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1243747/+subscriptions