The following example returns the current view setting for forecast charts generated by the Data Analysis tool:
CB.GetDataAnalysisOption cbDataAnalysisSetViewType