We demonstrate a dispersion compensation device based on thermal chirping of a glued fiber Bragg grating. The device can change the group velocity dispersion (GVD) while maintaining a center wavelength or change the center wavelength while preserving a GVD value. The GVD can be tuned from -122.5 to -57 ps/nm with a center wavelength at 1552.9 nm. On the other hand, the center wavelength can be shifted by 2.2 nm with a GVD value around - 105 ps/nm.