Search found 59 matches

by hansw
Mon Jan 05, 2004 3:03 pm
Forum: ActiveX
Topic: Data points on Cursor
Replies: 1
Views: 6513

Data points on Cursor

I need to display the X,Y data at the current cursor position. Is it possible to do this and have the data follow the cursor. I did this using, but hate to re-invent the wheel if there is a built in function I would prefer to use it. double dY = m_Chart1.Series(0).YScreenToValue( m_PointCursorXY.y )...
by hansw
Mon Jan 05, 2004 2:31 pm
Forum: ActiveX
Topic: Is there a TeeChart Font Editor
Replies: 3
Views: 9449

Text Tab

OK this Editor seems to do everyting I need.
However to make it more obvious I would like to expose the Text Tab on opening the editor, instead of the default Format tab.

How to do this ?
by hansw
Mon Jan 05, 2004 2:16 pm
Forum: ActiveX
Topic: Chart Header Frame Editor
Replies: 3
Views: 9546

Does not work

The compiler error states:
SetTransparent' : is not a member of 'CPen1'

Looks like you are trying to make it visible... so I tried

hd.GetFrame().SetVisible(true);

Did nothing except set teh Visible checkbox in the editor.

Frame or border is still not visible.
by hansw
Mon Jan 05, 2004 2:08 pm
Forum: ActiveX
Topic: Tutorial for zooming scrolling and panning
Replies: 3
Views: 10639

Scroll method Where/How

There are no scroll method showing up in the hints... !

m_Chart1.GetAxis().Scroll ????

Please give me an example.

VB Delphi same crap.. :D
by hansw
Mon Jan 05, 2004 3:51 am
Forum: ActiveX
Topic: Is there a TeeChart Font Editor
Replies: 3
Views: 9449

Is there a TeeChart Font Editor

CTitle hd = m_Chart1.GetHeader();

hd.GetFont().ShowEditor(); // does not work

Is there a Font Properties/Selection Editor ?
by hansw
Mon Jan 05, 2004 3:39 am
Forum: ActiveX
Topic: Chart Header Frame Editor
Replies: 3
Views: 9546

Chart Header Frame Editor

CTitle hd = m_Chart1.GetHeader();
hd.GetFrame().ShowEditor();

Editor shows up and changes can be made.
However none of the changes ever take effect.
by hansw
Mon Jan 05, 2004 1:12 am
Forum: Wishes and ideas
Topic: Better VC++ documention
Replies: 0
Views: 6593

Better VC++ documention

As per subject line...
by hansw
Mon Jan 05, 2004 1:11 am
Forum: ActiveX
Topic: Tutorial for zooming scrolling and panning
Replies: 3
Views: 10639

Tutorial for zooming scrolling and panning

Is it possible to get these VB examples translated to VC++ http://www.teechart.net/support/modules.php?name=News&file=article&sid=9&mode=&order=0&thold=0 I've just spent 2 hours searching and am only able to find some bits.. // alows me to use the slider nPos value to expand from zero m_Chart1.GetAx...
by hansw
Sat Jan 03, 2004 2:33 am
Forum: ActiveX
Topic: never mind
Replies: 0
Views: 5998

never mind

found it
by hansw
Fri Jan 02, 2004 2:15 pm
Forum: ActiveX
Topic: Annotation position when exporting to jpg or printed
Replies: 2
Views: 8686

Thnaks: Now if only !

Now if only there have been complete VC++ documenatation for TeeChartI may have seen the OnBeforeDraw() :wink:
hansw
by hansw
Fri Jan 02, 2004 2:12 pm
Forum: ActiveX
Topic: DISP_E_MEMBERNOTFOUND exception
Replies: 2
Views: 11767

OK

Thnaks....
H'mmm goes against the grain... I hate any compiler/linker warning messages.
Still my debug code to check for memory leaks is not reporting anything wrong. I stil ahte "bump in the night code" :-)

Thanks for the link.

Best rgeards
Hans W
by hansw
Thu Jan 01, 2004 3:23 am
Forum: ActiveX
Topic: DISP_E_MEMBERNOTFOUND exception
Replies: 2
Views: 11767

DISP_E_MEMBERNOTFOUND exception

Something I've been ignoring but now would like to get rid of. With cerain TeeChart applications I get this message when exiting the application from Debug Mode. I suspect it can ony be TeeChart becasue a similar application which does not use TeeChart does not casue this error. ! Warning: construct...
by hansw
Wed Dec 31, 2003 4:46 pm
Forum: ActiveX
Topic: Annotation position when exporting to jpg or printed
Replies: 2
Views: 8686

Annotation position when exporting to jpg or printed

Position of annotations is wrong on the exported image or printed output. Chris suggested to use (see previous post) m_Chart1.Series(0).CalcXPos() and m_Chart1.Series(0).CalcYPos(). I am already doing that. Print preview displays the annotations in the correct place, the printed output is wrong. int...
by hansw
Tue Dec 30, 2003 6:19 pm
Forum: ActiveX
Topic: VC++ documentation
Replies: 7
Views: 15948

Yes I did... if you mean this

Chris, it's this attitude I tried to outline in this new thread, and there are many other people tat agree with me in the other threads. NO NO and NO again !... The set of documentation is NOT already there. Simply put the VB help file is a mess. I can see once again there is little hope of getting ...
by hansw
Tue Dec 30, 2003 2:32 pm
Forum: ActiveX
Topic: Annotations are not correct when Exporting to jpg
Replies: 3
Views: 9429

I'm already doing what you recommended, still does not work

int X = (int)m_Chart1.Series(0).CalcXPos( pt->xy.x);

m_Chart1.GetTools().GetItems( 0 .GetAsAnnotation().GetShape().SetLeft(X);

int Y = (int)m_Chart1.Series(0).CalcXPos(pt->xy.y);
m_Chart1.GetTools().GetItems( 0 .GetAsAnnotation().GetShape().SetTop(Y);