Hello.
I'm using Teechart V3. When I have a bar with negative value the bar is not visible.
see picture:
As you can see, the green column has a negative value and it exists in the legend but in the chart it is missing.
Thanks,
Ronen.
Negative values in Bar series
Re: Negative values in Bar series
Hello RonenL,
Using last version 3 (3.5.3700.30570) and next code, your problem doesn't appears for me:
Could you please tell us which version 3 are you using? If the version isn't the last version 3, please update your version and try again if your problem persists. On the other hand, if your problem still appears using last version 3 please arrange for us a simple code, where the problem appears because we can try to give you a good answer.
Thanks,
Using last version 3 (3.5.3700.30570) and next code, your problem doesn't appears for me:
Code: Select all
private Steema.TeeChart.TChart tChart1;
public Form1()
{
InitializeComponent();
tChart1 = new Steema.TeeChart.TChart();
this.Controls.Add(tChart1);
tChart1.Left = 100;
tChart1.Top = 50;
tChart1.Dock = DockStyle.Fill;
InitialzieChart();
}
private void InitialzieChart()
{
Steema.TeeChart.Styles.Bar bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
Steema.TeeChart.Styles.Bar bar2 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar1.Add(0, 500000);
bar2.Add(0, -500000);
bar1.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked;
}
Thanks,
Best Regards,
Sandra Pazos / 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 |