0
我想繪製一個MultiBars風格的Bar系列作爲SelfStack。默認情況下,自棧條Y軸的值是0,有沒有什麼辦法來改變自我棧欄的默認Y軸如何更改自我堆棧條的默認y軸
公共類Bar_SelfStack { 私人Steema.TeeChart.Styles.Bar BAR1; private System.ComponentModel.IContainer components = 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; } }
請參閱編輯,我要實現的是「汽車總動員」的數據應該由新的Y位置開始(比如10),而不是0,這樣最後的系列會像10-110(汽車) ,110-410(電話),410-600(燈)和y軸 – Nilesh