Hello,
When i plot two bars the separation between them is a bit too much, what could i do to shorten this distance?
How could o control the space between bars independently of how many there are?
Thank you.
Space/Separation between bars with TeeChart for .Net
Space/Separation between bars with TeeChart for .Net
- Attachments
-
- Image.png (8.65 KiB) Viewed 11526 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Space/Separation between bars with TeeChart for .Net
Hello,
This can be achieved by compressing the bottom axis with offset pixels, e.g.
Code: Select all
public Form1()
{
InitializeComponent();
var bar = new Bar(tChart1.Chart);
bar.Add(1);
bar.Add(10);
tChart1.Axes.Bottom.MinimumOffset = 170;
tChart1.Axes.Bottom.MaximumOffset = 170;
}
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 |