Hi,
When I set the min and max values of my bottom axis, my bars start to overlap as shown in the screenshot attached.
The code I use is the following:
chartToTest.Aspect.View3D = false;
chartToTest.Axes.Bottom.Automatic = false;
chartToTest.Axes.Bottom.Minimum = 0;
chartToTest.Axes.Bottom.Maximum = 10;
Steema.TeeChart.Styles.Bar bar = new Steema.TeeChart.Styles.Bar(chartToTest.Chart);
bar.Add(1, 1000);
bar.Add(2, 1200);
bar.Add(3, 900);
bar.Add(4, 800);
What can I do to make the bars fit next to each other.
Thanks,
Marijke.
Bars overlap
Bars overlap
- Attachments
-
- screenshotBarsOverlap.PNG (20.12 KiB) Viewed 15037 times
Re: Bars overlap
Hello MVB,
We have considered your problem as a feature request with number [TF02016328] to be consider its inclusion in upcoming versions of TeeChartFor.Net. At the moment, a workaround to solve the problem you can change the BarWidthPercent to resize the bars. You can do something as next:
I hope will helps.
Thanks,
We have considered your problem as a feature request with number [TF02016328] to be consider its inclusion in upcoming versions of TeeChartFor.Net. At the moment, a workaround to solve the problem you can change the BarWidthPercent to resize the bars. You can do something as next:
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
tChart1.Axes.Bottom.Automatic = false;
tChart1.Axes.Bottom.Minimum = 0;
tChart1.Axes.Bottom.Maximum = 10;
Steema.TeeChart.Styles.Bar bar = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar.Add(1, 1000);
bar.Add(2, 1200);
bar.Add(3, 900);
bar.Add(4, 800);
bar.BarWidthPercent = 25;
}
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Bars overlap
Hi Sandra,
The BarWidthPercent is indeed a workaround, but in our user interface we do not want a user to configure a certain percentage, and we cannot derive a percentage value which fits for all charts.
When is a solution for the Feature Request with number [TF02016328] planned?
Thanks,
Marijke.
The BarWidthPercent is indeed a workaround, but in our user interface we do not want a user to configure a certain percentage, and we cannot derive a percentage value which fits for all charts.
When is a solution for the Feature Request with number [TF02016328] planned?
Thanks,
Marijke.
Re: Bars overlap
Hello Marijke.
I have increased this severity of feature request number [TF02016328] to try consider it inclusion to upcoming versions of TeeChartFor.Net. On the other hand, I inform you that the time we need to fix the bugs depends on any variables such as the complexity of the problem, the number of issues with even higher priority that claims our team attention. For this reason, i recommend you to be aware at this forum, our RSS news feed, twitter and facebook accounts for new release announcements and what's implemented on them.
Thanks,
I have increased this severity of feature request number [TF02016328] to try consider it inclusion to upcoming versions of TeeChartFor.Net. On the other hand, I inform you that the time we need to fix the bugs depends on any variables such as the complexity of the problem, the number of issues with even higher priority that claims our team attention. For this reason, i recommend you to be aware at this forum, our RSS news feed, twitter and facebook accounts for new release announcements and what's implemented on them.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Bars overlap
Is this issue resolved? I have the same problem.
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Bars overlap
No, this issue is still existent, unfortunately. We will look to resolve it before the next maintenance release, due out before the end of this month.DEV1 wrote:Is this issue resolved? I have the same problem.
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Bars overlap
Is this issue fixed already?
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Bars overlap
Yes, this one is fixed too:PidoTech wrote:Is this issue fixed already?
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |