Bar series spacing
Posted: Tue May 31, 2016 1:39 pm
Hello,
I have a question about bar series. I have the following code:
This results in the following chart:
For “bar1” the first and last bar are not shown completely.
If I change the order of the series it looks ok: Is there a way to also show the first chart with the extra space next to the first and the last bar without having to change the offset or min/max values manually?
Thanks in advance!
I have a question about bar series. I have the following code:
Code: Select all
Steema.TeeChart.Styles.Bar bar = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar.FillSampleValues(10);
bar.Marks.Visible = false;
bar.MultiBar = Steema.TeeChart.Styles.MultiBars.None;
bar.BarWidthPercent = 65;
bar.Color = Color.FromArgb(100, 49, 130, 189);
Steema.TeeChart.Styles.Bar bar2 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar2.FillSampleValues(10);
bar2.Marks.Visible = false;
bar2.BarWidthPercent = 30;
If I change the order of the series it looks ok: Is there a way to also show the first chart with the extra space next to the first and the last bar without having to change the offset or min/max values manually?
Thanks in advance!