Chart embed fix