Changed chart to use Opportunities