Search found 10 matches

by Shawn
Wed Aug 31, 2005 4:48 pm
Forum: ActiveX
Topic: How to reset the Scroll Values that is made active default
Replies: 1
Views: 3390

How to reset the Scroll Values that is made active default

Hi How do i reset the scroll values that is made active by selecting the right click of mouse. I have left mouse for scroll and right mouse for scroll After I scroll all arnd the place, and I press reset I need to return to where my graph when it loaded. Also when i scroll my marks dont scroll with ...
by Shawn
Wed Aug 31, 2005 3:55 pm
Forum: ActiveX
Topic: How to reset the dragged drag marks
Replies: 6
Views: 7595

Code

Narcis, thanx 4 the help u cld use the following code. Please add a dragmarks tool to ur chart. ANd commandbutton named cmd_Reset and checkbox ckDragMark Private Sub ckDragMarks_Click() TChart1.Tools.Items(0).Active = True End Sub Private Sub cmdReset_Click() Dim i As Integer For i = 0 To TChart1.Se...
by Shawn
Tue Aug 30, 2005 8:19 pm
Forum: ActiveX
Topic: How to reset the dragged drag marks
Replies: 6
Views: 7595

DragMarks throws error

narcis, Thanx, but the problem is I have a command button that resets the dragmarks. I have 1 or many series depending on runtime return values If I give For i = 0 To TChart1.SeriesCount TChart1.Series(i).Marks.ResetPositions Next It Throws an error.-2147418113 method 'Resetpositions' of object 'IMa...
by Shawn
Fri Aug 26, 2005 9:20 pm
Forum: ActiveX
Topic: How to reset the dragged drag marks
Replies: 6
Views: 7595

How to reset the dragged drag marks

Hi i have added a dragmarks tool

The problem is once i dragged i want to reset it to the original position, when i press reset.

How do i do it?

thanx
by Shawn
Thu Aug 25, 2005 3:48 pm
Forum: ActiveX
Topic: Help with varying Time intervals of datetime in X Axis
Replies: 10
Views: 10683

Have a doubt

Narcis, So i think the differnce u made is in this line .AddXY Rnd(100), Rnd(100), "", clTeeColor .AddXY CDate(DateTime.Now + j), CDbl(j), "", clTeeColor Can you tell me why u added the first line?(are we adding two points at the same time) Also when I set min and max of axis , is there something li...
by Shawn
Thu Aug 25, 2005 3:40 pm
Forum: ActiveX
Topic: Help with varying Time intervals of datetime in X Axis
Replies: 10
Views: 10683

Have a doubt

Narcis, So i think the differnce u made is in this line .AddXY Rnd(100), Rnd(100), "", clTeeColor .AddXY CDate(DateTime.Now + j), CDbl(j), "", clTeeColor Can you tell me why u added the first line?(are we adding two points at the same time) Also when I set min and max of axis , is there something li...
by Shawn
Wed Aug 24, 2005 3:51 pm
Forum: ActiveX
Topic: Help with varying Time intervals of datetime in X Axis
Replies: 10
Views: 10683

my bad, I have sent u the code at the above mentioned addres

It was end function not end if 8O
by Shawn
Wed Aug 24, 2005 2:51 pm
Forum: ActiveX
Topic: Help with varying Time intervals of datetime in X Axis
Replies: 10
Views: 10683

Datetime with many series

I am having issues with atatching, here is the code Please put a command1 button and Tchart1 chart in the form and use the code below. '**************************************** Private Sub command1_Click() LoadGraph End Sub '**************************************** Public Function LoadGraph() TChart...
by Shawn
Fri Aug 19, 2005 6:26 pm
Forum: ActiveX
Topic: Help with varying Time intervals of datetime in X Axis
Replies: 10
Views: 10683

T think the default option make sense but...

It is only that My datetime has intervals as small as hours, SO I am not able to see the X Axis (which can be 08/01/2005 12:10:22 AM) I tried just drawing the next series as just the next point and start all over again, and only show the datetime as just labels, but then it shows the labels correctl...
by Shawn
Fri Aug 19, 2005 2:26 pm
Forum: ActiveX
Topic: Help with varying Time intervals of datetime in X Axis
Replies: 10
Views: 10683

Help with varying Time intervals of datetime in X Axis

I have a graph , X Axis Datetime in Mm/dd/Yyyy/hh:mm Y Axis - Double The problem is I have varying series(everytime I click on a combobox, depending on the value returned I add 3 serires or 8 series or whatever) Each series have different graph points. One series might have datetime ranging btwn 199...