~mpt/errors/1320846-frequency-label

« back to all changes in this revision

Viewing changes to errors/static/js/retracers.js

  • Committer: Brian Murray
  • Date: 2014-02-07 16:31:31 UTC
  • mfrom: (449.1.2 1267830-series-colors)
  • Revision ID: brian@canonical.com-20140207163131-06idprqmyq6ao865
merge mpt's color tweaks for the graphs and then update most_common_problems.js and retracers.js accordingly

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
function mangle_data(response, result_types) {
9
9
    var retrace_data = [];
10
10
    var releases = ['Ubuntu 12.04', 'Ubuntu 12.10', 'Ubuntu 13.04', 'Ubuntu 13.10', 'Ubuntu 14.04'];
 
11
    // 'Ubuntu 14.10', 'Ubuntu 15.04'
11
12
    // two colors (success, failed) for each release
12
13
    var colors = ['#29b458', '#96daab',
13
14
                  '#05b8ea', '#8edbf4',
14
15
                  '#4f2f8e', '#8468bc',
15
16
                  '#d62728', '#ff9896',
16
 
                  '#dd4814', '#eea389'
 
17
                  '#ff8b00', '#eea389'
 
18
    //            '#d9c200', '',
 
19
    //            '#00e600', '',
17
20
                 ];
18
21
    for (var release in releases) {
19
22
        for (var result_type in result_types) {