Superconductivity appears in the cuprates when a spin order is destroyed, while the role of charge is less known. Recently, charge density wave (CDW) was found below the superconducting dome in YBa2Cu3Oy when a high magnetic field is applied perpendicular to the CuO2 plane, which was suggested to arise from incipient CDW in the vortex cores that becomes overlapped. Here by 63Cu-nuclear magnetic resonance, we report the discovery of CDW induced by an in-plane field, setting in above the dome in single-layered Bi2Sr2-xLaxCuO6. The onset temperature TCDW takes over the antiferromagnetic order temperature TN beyond a critical doping level at which superconductivity starts to emerge, and scales with the pseudogap temperature T*. These results provide important insights into the relationship between spin order, CDW and the pseudogap, and their connections to high-temperature superconductivity.