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
Bug when setting "Black" color for .Axes.Left.Grid.Color
Re: Bug when setting "Black" color for .Axes.Left.Grid.Color
Hello PDT,
I couldn't reproduce your problem. Using next code with last version of TeeChart.net:
I have get next Image:
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,
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;
}
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 |
Re: Bug when setting "Black" color for .Axes.Left.Grid.Color
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
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
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,
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 |
Instructions - How to post in this forum |