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

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
PDT
Newbie
Newbie
Posts: 2
Joined: Mon May 23, 2011 12:00 am

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

Post by PDT » Wed Jul 20, 2011 5:02 pm

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

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

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

Post by Sandra » Thu Jul 21, 2011 9:46 am

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 3151 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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

PDT
Newbie
Newbie
Posts: 2
Joined: Mon May 23, 2011 12:00 am

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

Post by PDT » Thu Jul 21, 2011 5:31 pm

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

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

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

Post by Sandra » Fri Jul 22, 2011 7:18 am

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply