Added trend panel, moved index calculation to service, made chart backgrounds transparent