Implemented saving of equity chart images to database.