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.
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;
}
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 |