Page 1 of 1

Bug when setting "Black" color for .Axes.Left.Grid.Color

Posted: Wed Jul 20, 2011 5:02 pm
by 15659375
Dear All,

When we tried to set "Black" color for Grid by design interface or code, chart always rendered the "Light Gray" Color. Do you think this is a bug?

For example: .Axes.Left.Grid.Color = Color.Black ' It will render the color which is similar "Light Gray" color.

The same thing when you right click on chart control, click "Edit" menu , then go to "Axes" tab, select "Left Axis", go to "Ticks" tab, click on "Grid" button, click on "Color" button, then select "Black" color.

Could you give us your feedback?

Thank you so much.

Bye,
Vu

Re: Bug when setting "Black" color for .Axes.Left.Grid.Color

Posted: Thu Jul 21, 2011 9:46 am
by 10050769
Hello PDT,

I couldn't reproduce your problem. Using next code with last version of TeeChart.net:

Code: Select all

 public Form1()
        {
            InitializeComponent();
            InitializeChart();
        }
        private void InitializeChart()
        {
            tChart1.Aspect.View3D = false;
            Steema.TeeChart.Styles.Line line = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            line.FillSampleValues();
            tChart1.Axes.Left.Grid.Color = Color.Black;
            tChart1.Axes.Bottom.Grid.Color = Color.Black;
        }
I have get next Image:
ChartGridColor.jpg
ChartGridColor.jpg (92.04 KiB) Viewed 3149 times
So, using last version of TeeChart.Net Grid Axes property change its color fine. Can you tell us which version of TeeChart are you using, now?

Thanks,

Re: Bug when setting "Black" color for .Axes.Left.Grid.Color

Posted: Thu Jul 21, 2011 5:31 pm
by 15659375
Hi Sandra,

I think I use the newest version of TeeChart 4.1.2011.4192. This issue happens when we installed the newest package TeeChart for .NET 2010. Before, we used the TeeChart for .NET v2, this issue did not happen.

I did the following test: I created a new project and put a TeeChart control (the newest version) to a new windows form. The same issue happens in the new project as the current project we developed 3 years ago.

Thank you so much for your supports.

Thanks,
Vu

Re: Bug when setting "Black" color for .Axes.Left.Grid.Color

Posted: Fri Jul 22, 2011 7:18 am
by 10050769
Hello PTD,

Can you tell us if your problem appears in the attach image there is in previous post? On the other hand, I inform you that the newest version is build 4.1.2011.06282, please update your version and try again if your problem persist.

Thanks,