Characterization of chromospheric activity based on Sun-as-a-star spectral and disk-resolved activity indices