for left chart : DEFINE VARIABLE newChart AS Infragistics.Win.UltraWinChart.UltraChart NO-UNDO. ASSIGN newChart = NEW Infragistics.Win.UltraWinChart.UltraChart() newChart:NAME = tabName newChart:Dock = System.Windows.Forms.DockStyle:Fill newChart:DataSource = dtsName newChart:Data:ZeroAligned = TRUE newChart:Axis:X:Extent = 120 newChart:Axis:X:Labels:Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation:Custom newChart:Axis:X:Labels:OrientationAngle = 30 newChart:Axis:X:Labels:HorizontalAlign = System.Drawing.StringAlignment:near newChart:Axis:X:Labels:VerticalAlign = System.Drawing.StringAlignment:far newChart:Axis:X:Labels:Layout:Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors:Auto newChart:Axis:X:Labels:Font = NEW System.Drawing.Font("Arial", 7, System.Drawing.FontStyle:Regular) newChart:Axis:Y:Labels:ItemFormatString = "" newChart:Axis:X:Labels:SeriesLabels:Layout:Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors:Auto newChart:Axis:X:Labels:SeriesLabels:Layout:Padding = 100 newChart:Axis:X:Labels:SeriesLabels:VerticalAlign = System.Drawing.StringAlignment:far newChart:Axis:X:Labels:SeriesLabels:Font = NEW System.Drawing.Font("Arial", 9, System.Drawing.FontStyle:Bold). newChart:DataBind(). for right chart --> on_button_click : ASSIGN chartName:ChartType = Infragistics.UltraChart.Shared.Styles.ChartType:StackColumnChart chartName:Axis:X:Labels:SeriesLabels:Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation:VerticalLeftFacing.