hello
Teechart.ocx that I'd previously purchased has been a great help for my work.
Unfortunately, some problem has come up.
The state 'Not being able to register Registry' had occurred in Windows10 RedStone version, Microsoft.
I tried to update the latest version pack in www.steema.com.
but, I found out some logic errors in Windows7, 8 version, as shown below:
* m_TChart1.Series(0).GetAsLine().GetPointer().GetBrush().SetColor(RGB(255,255,255));
This problem seemed to occur because Brush object don't Return.
- Develop Environment : Window7, Visual Studio 6.0 - MFC
Please check it again.
Teechart latest version Brush don't Return Error
Re: Teechart latest version Brush don't Return Error
Hello,
You may be missing some header:
If you still find problems with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.
You may be missing some header:
Code: Select all
#include "CSeries.h"
#include "CLineSeries.h"
#include "CPointer.h"
#include "CBrush0.h"
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Teechart latest version Brush don't Return Error
It worked well when we used TChart Control v8.0.0.1.
Since Windows 10 RedStone version, it has been unable to register the registry.
After updating it to v8.0.1.3, it worked well on Windows 10 RedStone but a problem occured on Windows 7.
The problem is line color on the Graph does not change.
The attached file is a sample program and existing program screen.
Please check it out and reply to us.
Thank you for your kind cooperation.
Since Windows 10 RedStone version, it has been unable to register the registry.
After updating it to v8.0.1.3, it worked well on Windows 10 RedStone but a problem occured on Windows 7.
The problem is line color on the Graph does not change.
The attached file is a sample program and existing program screen.
Please check it out and reply to us.
Thank you for your kind cooperation.
- Attachments
-
- ETC_Test_Theta_2.4_GDI(Kefico)_.jpg (123.38 KiB) Viewed 10732 times
-
- TestProject60.zip
- (470.01 KiB) Downloaded 1000 times
Re: Teechart latest version Brush don't Return Error
Hello,
I've tried to build your project with VC++6 but I can't. It gives me the following error:
If the problem is in the lines, try changing the code in where you are adding points (in the timer) for this:
If the problem is in the pointers, just remove the part where you are assigning them to be white:
I've tried to build your project with VC++6 but I can't. It gives me the following error:
LINK : fatal error LNK1104: cannot open file "mfc42ud.lib"
I'm not sure if the problem is in the lines and the image you attached shows the desired result or if the problem is that the pointers are white.GIT wrote:The problem is line color on the Graph does not change.
If the problem is in the lines, try changing the code in where you are adding points (in the timer) for this:
Code: Select all
m_TChart1.Series(0).AddXY(m_nData-1, (m_nData/2), L"", m_TChart1.Series(0).GetColor());
m_TChart1.Series(1).AddXY(m_nData-1, (m_nData/2)+1, L"", m_TChart1.Series(1).GetColor());
Code: Select all
//m_TChart1.Series(0).GetAsLine().GetPointer().GetBrush().SetColor(RGB(255,255,255));
//m_TChart1.Series(1).GetAsLine().GetPointer().GetBrush().SetColor(RGB(255,255,255));
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |