Print Page | Close Window

CXTPChartControl always with black background

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=22806
Printed Date: 25 December 2024 at 1:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPChartControl always with black background
Posted By: GazillaByte
Subject: CXTPChartControl always with black background
Date Posted: 30 November 2015 at 7:20pm
Hi,

I have several programs that use CXTPChartControl and they work with no problem.

I have created a new program, just an MFC App with a dialog box and the control always comes up with a black background and a grey theme.

With just this in my OnInitDialog

CRect oRect(0, 0, 500, 500);
m_oChart.Create(WS_VISIBLE | WS_CHILD, oRect, this, IDC_CHARTCONTROL);

I get a black box.

If I add a title you can't see it, and if I add a series the points are black.

I am following the examples and having spent all afternoon on this, I need some help.

Any help greatly appreciated.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net