This example runs a simulation, either creates a trend chart, selects a single trend chart, or opens a chooser dialog if there are multiple trend charts, and then opens the Trend Preferences dialog for the selected trend chart.
CB.Simulation 1000
CB.TrendPrefs