Page 1 of 1

Bar Charts

Posted: Sat Mar 27, 2010 5:20 am
by 14045174
What I have noticed after playing with 2009 version - the bars are drawn under slightly different angle now. Here are two identical graphs:

This one created using version 3:
BarChart.Cone.version3.png
BarChart.Cone.version3.png (33.3 KiB) Viewed 3659 times
And this one - using version 2009:
BarChart.Cone.version2009.png
BarChart.Cone.version2009.png (34.48 KiB) Viewed 3659 times
Ideally, I'd like them to be the same (besides the bug fixes!)

Re: Bar Charts

Posted: Wed Mar 31, 2010 11:55 am
by 10050769
Hello UserLs,
What I have noticed after playing with 2009 version - the bars are drawn under slightly different angle now. Here are two identical graphs:
Ideally, I'd like them to be the same (besides the bug fixes!)
Bars are drawn under slightly different angle now, for consistency with other TeeChart versions. If you want to have same result in two graphics you only change value DephtPercent as next:

Code: Select all

 Steema.TeeChart.Styles.Bar bar1;
        private void InitializeChart()
        {
            bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
            for (int i = 0; i < 10; i++)
            {
                bar1.Add(i, i + 5);
            }
            bar1.Marks.Visible = false;
            bar1.BarStyle = Steema.TeeChart.Styles.BarStyles.Cone;
            bar1.UseOrigin = true;
            bar1.Origin = 10;
            bar1.DepthPercent = 50;
           
        }
I hope will helps.

Thanks,