Hello. When I'm shrinking my chart's width some of the X axis labels disappears. Is it possible to prevent?
Screenshot of the problem:
http://www.lowrad.net/files/diagram_screenshot.jpg
/David.
Axis labels disappears
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi David,
You can minimalise this effect by using code similar to the following:
private void Form1_Load(object sender, System.EventArgs e) {
bar1.FillSampleValues(20);
tChart1.Axes.Bottom.Automatic = false;
tChart1.Axes.Bottom.Increment = 2;
tChart1.Axes.Bottom.Labels.Separation = 0;
tChart1.Axes.Bottom.SetMinMax(bar1.XValues.Minimum, bar1.XValues.Maximum);
tChart1.Dock = System.Windows.Forms.DockStyle.Fill;
}
Christopher Ireland
Steema Support
You can minimalise this effect by using code similar to the following:
private void Form1_Load(object sender, System.EventArgs e) {
bar1.FillSampleValues(20);
tChart1.Axes.Bottom.Automatic = false;
tChart1.Axes.Bottom.Increment = 2;
tChart1.Axes.Bottom.Labels.Separation = 0;
tChart1.Axes.Bottom.SetMinMax(bar1.XValues.Minimum, bar1.XValues.Maximum);
tChart1.Dock = System.Windows.Forms.DockStyle.Fill;
}
Christopher Ireland
Steema Support