The observation and research of the solar radio emission have unique scientific values in solar and space physics and related space weather forecasting applications, since the observed spectral structures may carry important information about energetic electrons and underlying physical mechanisms. In this study, we present the design of a novel dynamic spectrograph that is installed at the Chashan solar radio station operated by Laboratory for Radio Technologies, Institute of Space Sciences at Shandong University. The spectrograph is characterized by the real-time storage of digitized radio intensity data in the time domain and its capability to perform off-line spectral analysis of the radio spectra. The analog signals received via antennas and amplified with a low-noise amplifier are converted into digital data at a speed reaching up to 32 k data points per millisecond. The digital data are then saved into a high-speed electronic disk for further off-line spectral analysis. Using different word length (1 k - 32 k) and time cadence (5 ms - 10 s) for the off-line fast Fourier transform analysis, we can obtain the dynamic spectrum of a radio burst with different (user-defined) temporal (5 ms - 10 s) and spectral (3 kHz ~ 320 kHz) resolution. This brings a great flexibility and convenience to data analysis of solar radio bursts, especially when some specific fine spectral structures are under study.