Search found 84 matches

by tirby
Mon May 13, 2013 8:19 pm
Forum: ActiveX
Topic: Live data draws back in time when zoomed in
Replies: 5
Views: 11436

Re: Live data draws back in time when zoomed in

See attached MS Word files.
by tirby
Mon May 13, 2013 7:42 pm
Forum: ActiveX
Topic: Live data draws back in time when zoomed in
Replies: 5
Views: 11436

Re: Live data draws back in time when zoomed in

I've noticed that it also tends to draw the trace well advanced to to the right (beyond the bounds of the right side drawing area) after un-zooming. The live data seems to plot in the right place, but looks like its interupting the drawn line. I will post some screen shots. <Edited> I could not make...
by tirby
Mon May 13, 2013 4:55 pm
Forum: ActiveX
Topic: Live data draws back in time when zoomed in
Replies: 5
Views: 11436

Live data draws back in time when zoomed in

Hello, I'm finding that while I'm plotting live, changing data, if I zoom in on a specific area, the incoming data plots far to the left of the current time. Below is my basic setup. It acts as if when the plot is zoomed that the incoming data is plotted with the ExpectedJobLength variable temporari...
by tirby
Wed May 08, 2013 7:54 pm
Forum: ActiveX
Topic: DrawLine color different than the value specified
Replies: 6
Views: 12749

Re: DrawLine color different than the value specified

Thanks Sandra, Here is a project that demonstrates the issue. 1. Select a color in the listbox at the lower left corner of the screen. This will/should make both the Rectangle and the DrawLine the same color selected. 2. Click on the trace (at any point). this will place a Rectangle and Drawline fro...
by tirby
Tue May 07, 2013 1:46 pm
Forum: ActiveX
Topic: the scale of x-axis change after increase the size of window
Replies: 8
Views: 17055

Re: the scale of x-axis change after increase the size of window

Don't know if this might help or not, but I have used the component for years with no problems.

ReSize component.

http://www.lyoung.com/
by tirby
Mon May 06, 2013 10:35 pm
Forum: ActiveX
Topic: DrawLine color different than the value specified
Replies: 6
Views: 12749

DrawLine color different than the value specified

Hello, I'm trying to figure out why the color of the DrawLine is not the color that I have selected. I did try a small test project, and there it seems to be working correctly, however in my project it does not. Obviously, in my project, I have set something that has caused this, but I can't seem to...
by tirby
Fri Apr 26, 2013 2:21 pm
Forum: ActiveX
Topic: Getting the Index of the Retangle Tool selected
Replies: 6
Views: 12368

Re: Getting the Index of the Retangle Tool selected

Point taken.

Thanks Yeray!
by tirby
Thu Apr 25, 2013 4:29 pm
Forum: ActiveX
Topic: Range area of cursor for mouse click
Replies: 1
Views: 5773

Range area of cursor for mouse click

Hi! When I use the mouse pointer to select a specific series by clicking on the the drawn line, the point of the cursor arrow must be extremely close or directly on the drawn line. How can a widen the selection area? Another way to look at it is to concider the click area as a 2x2 pixel area, how co...
by tirby
Thu Apr 25, 2013 4:03 pm
Forum: ActiveX
Topic: Getting the Index of the Retangle Tool selected
Replies: 6
Views: 12368

Re: Getting the Index of the Retangle Tool selected

Ok, I'm finally back on this project! The problem with the code that Yeray posted on 21-Mar, is that it does not allow for a situation where multiple rectangles are stacked on top of one another. If rectangle #2 is placed over rectangle #1, partially covering rectangle #1, then when the user clicks ...
by tirby
Wed Mar 20, 2013 6:22 pm
Forum: ActiveX
Topic: Getting the Index of the Retangle Tool selected
Replies: 6
Views: 12368

Re: Getting the Index of the Retangle Tool selected

Ok, so this really isn't working well at all.
Please tell me there is an easy method of obtaining the ToolNumberIndex from a Rectangle that has been clicked!

Thanks!
by tirby
Wed Mar 20, 2013 1:43 pm
Forum: ActiveX
Topic: Getting the Index of the Retangle Tool selected
Replies: 6
Views: 12368

Re: Getting the Index of the Retangle Tool selected

Hello,

Between OnRectangleToolClick, OnRectangleToolDragging, and XY checking code, I was able to derive an index. This method is not terribly reliable, so I would still like a cleaner solution if there is one available!

Thanks
by tirby
Tue Mar 19, 2013 6:27 pm
Forum: ActiveX
Topic: Getting the Index of the Retangle Tool selected
Replies: 6
Views: 12368

Getting the Index of the Retangle Tool selected

Hi!

I've placed Select Case code in TChart1_OnRectangleToolDragging().
When the Retangle Tool is clicked on, how do I get the index of the Rectangle that has been selected?
In otherwords; How do I know which Rectangle the user has clicked on (and is now dragging)?

Thanks
by tirby
Tue Mar 19, 2013 6:19 pm
Forum: ActiveX
Topic: Annotate, DLine, and DragMark issues
Replies: 3
Views: 8693

Re: Annotate, DLine, and DragMark issues

So I discovered that if the color is set to vbBlack, then the line(s) will dissappear when the focus shifts to a different pair. My fix was: TChart1.Tools.Items(ToolSelected + 1).asDrawLine.Lines.Items(0).Pen.Color = vbRed Not sure why, and I really want to set the color to Black. The use of the Rec...
by tirby
Mon Mar 18, 2013 1:21 am
Forum: ActiveX
Topic: Annotate, DLine, and DragMark issues
Replies: 3
Views: 8693

Annotate, DLine, and DragMark issues

Hello, My program monitors for "Events" that cause TChart to place an Annotate & DLine on the graph to mark the time of the event. I'm using the basic code Yeray provided in an earlier post, and that part seems to be working fine. First Issue: The problem I'm now having is that each time a new Annot...
by tirby
Mon Mar 18, 2013 1:03 am
Forum: ActiveX
Topic: Multiple lines of text for each Series in Legend
Replies: 2
Views: 6824

Re: Multiple lines of text for each Series in Legend

Thanks Yeray,

Although that was not what I had in mind, I'll skip this for now.