我想绘制一个带有 MultiBars 风格的 Bar 系列作为 SelfStack。默认情况下 self stack bar y 轴值为 0 ,有什么办法可以更改 self stack bar 的默认 y 轴
公共类 Bar_SelfStack { 私人 Steema.TeeChart.Styles.Bar bar1; 私有 System.ComponentModel.IContainer 组件 = null; 私人 Steema.TeeChart.TChart tChart1;私有 Steema.TeeChart.Tools.GridBand gridBand1;
public Bar_SelfStack() { // This call is required by the Windows Form Designer. InitializeComponent(); bar1.Add(100, "Cars"); bar1.Add(300, "Phones"); bar1.Add(200, "Lamps"); // Set "Self-Stacked": bar1.MultiBar = Steema.TeeChart.Styles.MultiBars.SelfStack; // cosmetic bar1.Marks.Visible = false; bar1.Marks.Style = Steema.TeeChart.Styles.MarksStyles.Value; bar1.ColorEach = true; } }