private static object OnCoerceBarSpacing(DependencyObject o, object value)
        {
            SpectrumAnalyzer spectrumAnalyzer = o as SpectrumAnalyzer;

            if (spectrumAnalyzer != null)
            {
                return(spectrumAnalyzer.OnCoerceBarSpacing((double)value));
            }
            return(value);
        }