I've got a bar chart where I want the marks to be right above (for positive values) and right below (for negative values) the column. I have a series with 10 values, but two of the marks are showing up on top of the columns. I have set ArrowLength and Distance both to 0. Any ideas?
series.Marks.ArrowLength = 0;
series.Marks.Callout.Distance = 0;
Thanks,
Nick
ArrowLength
Hi Nick,
I've tested the following code with the latest version available at the web and it seems to work as expected. Could you please check if you have the latest TeeChart version and try it?
If this works fine for you, we are probably skipping any essential step to reproduce the problem so, if you still have problems, please, send us a simple example project we can run "as-is" to reproduce the problem here.
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
I've tested the following code with the latest version available at the web and it seems to work as expected. Could you please check if you have the latest TeeChart version and try it?
Code: Select all
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private Steema.TeeChart.Styles.Bar bar1;
private void Form1_Load(object sender, EventArgs e)
{
tChart1.Aspect.View3D = false;
bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
Random y = new Random();
for (int i = 0; i < 5; i++)
{
bar1.Add(y.Next());
bar1.Add(-y.Next());
}
bar1.Marks.ArrowLength = 0;
}
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Hi Nick,
I'm happy to see that you found the solution even before than I understood the problem!
I'm happy to see that you found the solution even before than I understood the problem!
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |