Menu

Change colors in Lifespan Chart

Help
Carmen
2007-10-24
2013-05-30
  • Carmen

    Carmen - 2007-10-24

    I have made my own theme and changed all the colors in CSS.

    But the colors for the lifespan chart are in the file includes/controllers/lifespan_ctrl.php and have to be changed there. But maybe someone can give me a hint how to do that, because I don't know where to start. The current colors are awful and don't fit in my theme at all, so I have to change them.

    I use PGV 4.1.1. stable.

     
    • John Finlay

      John Finlay - 2007-10-24

      The colors are defined starting on line 60 of includes/controllers/lifespan_ctrl.php.

      There are separate arrays for males and females and R, G, and B for each.  Numbers are defined in decimals.

      --John

       
  • Jim Carey

    Jim Carey - 2009-11-18

    Hi,
    did you ever figure it out ?
    Jim

     
  • Jim Carey

    Jim Carey - 2009-11-18

    When I look at those I find it quite hard to reconcile to what is coming out on the page in 4.2.2 ?
    Jim

     

Log in to post a comment.