Dim sync1 As New SyncSettings()
sync1.SyncChannel = "syncGroup1"
sync1.SynchronizeHorizontally = true
sync1.SynchronizeVertically = true
SyncManager.SetSyncSettings(DataChart1, sync1)
DataChart1.SyncChannel = "syncGroup1"
DataChart1.SynchronizeHorizontally = true
DataChart1.SynchronizeVertically = true
Dim sync2 As New SyncSettings()
sync2.SyncChannel = "syncGroup1"
sync2.SynchronizeHorizontally = false
sync2.SynchronizeVertically = true
SyncManager.SetSyncSettings(DataChart2, sync2)
DataChart2.SyncChannel = "syncGroup1"
DataChart2.SynchronizeHorizontally = false
DataChart2.SynchronizeVertically = true
Dim sync3 As New SyncSettings()
sync3.SyncChannel = "syncGroup1"
sync3.SynchronizeHorizontally = true
sync3.SynchronizeVertically = false
SyncManager.SetSyncSettings(DataChart3, sync3)
DataChart3.SyncChannel = "syncGroup1"
DataChart3.SynchronizeHorizontally = true
DataChart3.SynchronizeVertically = false
Dim sync4 As New SyncSettings()
sync4.SyncChannel = "syncGroup1"
sync4.SynchronizeHorizontally = false
sync4.SynchronizeVertically = false
SyncManager.SetSyncSettings(DataChart4, sync4)
DataChart4.SyncChannel = "syncGroup1"
DataChart4.SynchronizeHorizontally = false
DataChart4.SynchronizeVertically = false