Thanks Narcis
I didn't mentio that I am still on version 6 of the control which does not appear to have the OnDragPointToolDragPoint event.
Is there a way to do something similar in version 6?
What version does that event available in?
What are my upgrade options/costs?
Thanks again
Search found 27 matches
- Fri Mar 17, 2006 9:58 am
- Forum: ActiveX
- Topic: Series as a Vertical Line
- Replies: 3
- Views: 7291
- Fri Mar 17, 2006 7:08 am
- Forum: ActiveX
- Topic: Series as a Vertical Line
- Replies: 3
- Views: 7291
Series as a Vertical Line
I have used a standard series line to create a vertical line on the face of my chart where the user clicks. This means I can use all the series events (mouseenter, onclickseries etc) to let the user interact with the line which is helpful. I would like them to be able to move the line, much like it ...
- Wed Feb 22, 2006 8:02 am
- Forum: ActiveX
- Topic: Still not printing
- Replies: 1
- Views: 4110
Still not printing
Hi Narcis Just worried that this got overlooked in my lost topic re: v6 Printing. My original question was around printing custom text. You suggested I use the procedure as described in the example app, which is actually already what I was doing. However, when looking at the preview panel on screen,...
- Mon Feb 20, 2006 10:35 am
- Forum: ActiveX
- Topic: v6 Printing
- Replies: 2
- Views: 4970
Hi Narcis Thanks that is actually what I am doing. When looking at the preview panel on my monitor the text appears. When I print it is not visible? Here is a code snippet, from the OnAfter_Draw event: With taPreview.Canvas .Pen.Visible = True .Font.Color = vbBlue .Font.Size = 12 .TextOut taPreview....
- Fri Feb 17, 2006 9:28 am
- Forum: ActiveX
- Topic: v6 Printing
- Replies: 2
- Views: 4970
v6 Printing
I have header text on my chart in a custom position. It doesn't appear when I print?
- Wed Jan 25, 2006 8:14 am
- Forum: ActiveX
- Topic: v6 Printing
- Replies: 1
- Views: 3975
v6 Printing
I have two controls stacked on top of one another which to the user looks like a single complex chart.
On printing I want both controls to print on one page so the print-out looks the same as on the screen.
Can I do this?
Thanks
Ross
On printing I want both controls to print on one page so the print-out looks the same as on the screen.
Can I do this?
Thanks
Ross
teeCursor
I have another funny one, but a real problem for me. I have multiple chart controls stacked on top of one another on a form. All their x-axis are synchronized. I add a vertical cursor to each chart control and to keep them aligned I do the following in the OnCursorToolChange event: Chart(Index).Tool...
- Tue Nov 08, 2005 1:32 pm
- Forum: ActiveX
- Topic: How to add the Y values and display it in Tooltip
- Replies: 2
- Views: 5534
Should be possible
Hi Roger As long as their x-axis is shared it should be no problem. OnClickSeries: sum = tChart1.Series(0).YValues.Value(ValueIndex) + tChart1.Series(1).YValues.Value(ValueIndex) OnMouseEnterSeries: Dim XVal as Double XVal = tChart1.Axis.Bottom.CalcPosPoint(tChart1.Series(0).MouseValues.X) sum = tCh...
- Fri Nov 04, 2005 8:04 am
- Forum: ActiveX
- Topic: Mouse X to Series Value
- Replies: 6
- Views: 9169
Thanks
Thanks Narcis
That should work!
That should work!
- Thu Nov 03, 2005 10:25 am
- Forum: ActiveX
- Topic: Mouse X to Series Value
- Replies: 6
- Views: 9169
x-axis to series value
Hi Narcis Was having a problem posting but a very simple example will illustrate my point. Add a Tchart, a Command button and two text boxes to a form then paste the following code: Private Sub Command1_Click() With TChart1 .RemoveAllSeries .AddSeries scLine .Series(0).FillSampleValues 100 .AddSerie...
- Wed Nov 02, 2005 10:42 am
- Forum: ActiveX
- Topic: Mouse X to Series Value
- Replies: 6
- Views: 9169
Doesn't help
Actually that part I can already do, ie. convert the mouse position to the relative x-axis index. My series starts at point 20 on the x-axis. Therefore if I convert the mouse position to the x-axis index - let's say 40 - I can't use that to get the correct series value ie; .series(0).yvalues.value(x...
- Tue Nov 01, 2005 10:02 am
- Forum: ActiveX
- Topic: Mouse X to Series Value
- Replies: 6
- Views: 9169
Mouse X to Series Value
I realise this is probably easy but I am pressed for time here so any help appreciated. If I have a chart that has 200 points along the x-axis It has a series that starts at point 20 Therefore I have an x-axis from 1 to 200 and a series yvalues array from 1 to 80. Now if I move the mouse (can't use ...
- Fri Jul 22, 2005 2:32 pm
- Forum: ActiveX
- Topic: Function Pen Style
- Replies: 1
- Views: 3924
Function Pen Style
I add a basic function as follows: .AddSeries scLine .Series(.SeriesCount - 1).Name = "MA" .Series(.SeriesCount - 1).VerticalAxis = aRightAxis .Series(.SeriesCount - 1).SetFunction tfMovavg .Series(.SeriesCount - 1).DataSource = .Series(0) .Series(.SeriesCount - 1).FunctionType.Period = 21 .Series(....
- Mon May 23, 2005 8:05 am
- Forum: ActiveX
- Topic: Moving Average .XScreenToValue
- Replies: 1
- Views: 4043
Moving Average .XScreenToValue
Sorry to seem lazy but I am pressed for time. I plot a price line which has 751 points. Of which 250 are visible at any one time to user. I add a 21 day moving average. As user moves mouse pointer (the requirement is to be able to do this WITHOUT a cursor) I need to update a 'data window' to show th...
- Fri May 06, 2005 8:57 am
- Forum: ActiveX
- Topic: Axis labelling increments etc
- Replies: 1
- Views: 3995
Axis labelling increments etc
Sorry to be a pain but my helpfiles are a little too unhelpful. Plotting on right axis, I have to set Min/Max manually to enable local scaling as opposed to global scaling on my chart. I then call .AdjustMinMax (.Automatic = False). Sometimes it comes out looking good, other times there are just too...