Search found 8 matches

by psahay
Tue Jul 11, 2006 8:21 pm
Forum: ActiveX
Topic: Bar Series: First bar not showing up
Replies: 1
Views: 5212

Bar Series: First bar not showing up

Hi, The first bar in my bar series is not showing when I've more than about 2000 data points in my graph. The following properties are set: m_tChart.Series(0).GetAsBar().SetAutoBarSize(TRUE); m_tChart.Series(0).GetAsBar().GetBarPen().SetVisible(FALSE); m_tChart.Series(0).GetAsBar().SetBarWidth(0); m...
by psahay
Thu Jun 08, 2006 7:35 pm
Forum: ActiveX
Topic: Export pdf file problem: Label overlaps with axis markings
Replies: 1
Views: 5294

Export pdf file problem: Label overlaps with axis markings

Upon exporting my graph as pdf file, in the pdf file the label for y-axis overlaps with the markings on y-axis. It makes reading the label difficult. The label shows properly when exported as JPEG or GIF. Is this a known problem with pdf?
by psahay
Thu May 25, 2006 7:04 pm
Forum: ActiveX
Topic: Canvas drawings not shown in BMP image
Replies: 4
Views: 9359

Hi Narcis,

The OnAfterDraw method worked for me. I was using a wrong window id in my code which I discovered later.

Thanks for the help.

Regards,
Pratyush.
by psahay
Fri May 19, 2006 6:57 pm
Forum: ActiveX
Topic: Canvas drawings not shown in BMP image
Replies: 4
Views: 9359

Hi Narcis, I added the OnAfterDraw method like this, but this method never gets invoked. in .h file : protected: DECLARE_EVENTSINK_MAP() in .cpp file : BEGIN_EVENTSINK_MAP(CClockDataBaseWindow, CWnd) //{{AFX_EVENTSINK_MAP(CClockDataBaseWindow) ON_EVENT(CClockDataBaseWindow, IDC_TCHART1, 1 /* OnAfter...
by psahay
Thu May 18, 2006 7:31 pm
Forum: ActiveX
Topic: Canvas drawings not shown in BMP image
Replies: 4
Views: 9359

Canvas drawings not shown in BMP image

I'm drawing some arrows on top of my series using teechart canvas. Then I export the teechart as JPEG or BMP. But the arrows do not appear in the images. What should be done to get the image with the canvas drawings in it? Function I used for drawing arrow: m_tChart.GetCanvas().Arrow(TRUE, x, y+20, ...
by psahay
Mon Dec 08, 2003 4:06 pm
Forum: ActiveX
Topic: PDF printing problems with TeeChart6
Replies: 5
Views: 12262

PDF printing problems with TeeChart6

I am using the following: m_tChart.GetExport().GetAsPDF().SaveToFile((LPCTSTR)path); m_tChart is of CTChart type. I have set up m_tChart with the following: m_tChart.SetLeft(0); m_tChart.SetTop(0); m_tChart.GetHeader().SetVisible(FALSE); m_tChart.GetPanel().SetColor(RGB(0xff,0xff,0xff)); m_tChart.Ge...
by psahay
Fri Nov 21, 2003 1:41 pm
Forum: ActiveX
Topic: App can't get past call to Create() for the CTChart object
Replies: 2
Views: 17088

hello, I want to make clear that there are no compile time problems. The code compiles on ALL machines. Call the machine that has no problem running code compiled by it the "good" machine. The "bad" machines would be the ones that cannot run code compiled by them. The code compiled on the "good" mac...
by psahay
Thu Nov 20, 2003 1:16 pm
Forum: ActiveX
Topic: App can't get past call to Create() for the CTChart object
Replies: 2
Views: 17088

App can't get past call to Create() for the CTChart object

Both workstations that do not have the TeeChart Pro V6 registered installation on them (two out of the three developers working on this application do not have a licensed installation) are not able to run the code they build themselves.They cannot get past the point where the CTChart object's Create...