Hello,
Using costum axis labels with the following code
AxisLabelItem lbl = new AxisLabelItem(tChartBars.Chart);
string labeltext = row.ItemArray[1].ToString();
lbl.Text = labeltext;
lbl.Transparent = true;
lbl.Pen.Visible = false;
lbl.Value = i;
tChartBars.Chart.Axes.Bottom.Labels.Items.Add(lbl);
produces the correct labels in a bar chart under the horizontal axis, but leaves a lot of blank area below the labels (appr. the same area as the labels cover). How can I get rid of the blank area?
Custom Axis Labels
Hello,
it's strange, I cannot reproduce the problem here using the following code :
If you still having the same problem, please send us a simple example with which we can reproduce "as is" the problem here. You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
it's strange, I cannot reproduce the problem here using the following code :
Code: Select all
tChart1.Axes.Bottom.Labels.Items.Clear();
AxisLabelItem a = tChart1.Axes.Bottom.Labels.Items.Add(5);
a.Transparent = false;
a.Color = Color.Blue;
a.Transparency = 50;
tChart1.Chart.Axes.Bottom.Labels.Items.Add(10);
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi rf2005,
Latest v2 build is 2.0.3033.18430/31. Could you please download it and check if this solves the problem at your end?
If the problem persists would you be so kind to send us a simple example project we can run "as-is" to reproduce the problem here?
Thanks in advance.
Latest v2 build is 2.0.3033.18430/31. Could you please download it and check if this solves the problem at your end?
If the problem persists would you be so kind to send us a simple example project we can run "as-is" to reproduce the problem here?
Thanks in advance.
Best Regards,
Narcís Calvet / 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 |