Search found 27 matches

by Rossmc
Fri Mar 17, 2006 9:58 am
Forum: ActiveX
Topic: Series as a Vertical Line
Replies: 3
Views: 7279

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
by Rossmc
Fri Mar 17, 2006 7:08 am
Forum: ActiveX
Topic: Series as a Vertical Line
Replies: 3
Views: 7279

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 ...
by Rossmc
Wed Feb 22, 2006 8:02 am
Forum: ActiveX
Topic: Still not printing
Replies: 1
Views: 4103

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,...
by Rossmc
Mon Feb 20, 2006 10:35 am
Forum: ActiveX
Topic: v6 Printing
Replies: 2
Views: 4961

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....
by Rossmc
Fri Feb 17, 2006 9:28 am
Forum: ActiveX
Topic: v6 Printing
Replies: 2
Views: 4961

v6 Printing

I have header text on my chart in a custom position. It doesn't appear when I print?
by Rossmc
Wed Jan 25, 2006 8:14 am
Forum: ActiveX
Topic: v6 Printing
Replies: 1
Views: 3967

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
by Rossmc
Tue Nov 08, 2005 1:40 pm
Forum: ActiveX
Topic: teeCursor
Replies: 1
Views: 4140

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...
by Rossmc
Tue Nov 08, 2005 1:32 pm
Forum: ActiveX
Topic: How to add the Y values and display it in Tooltip
Replies: 2
Views: 5522

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...
by Rossmc
Fri Nov 04, 2005 8:04 am
Forum: ActiveX
Topic: Mouse X to Series Value
Replies: 6
Views: 9153

Thanks

Thanks Narcis

That should work!
by Rossmc
Thu Nov 03, 2005 10:25 am
Forum: ActiveX
Topic: Mouse X to Series Value
Replies: 6
Views: 9153

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...
by Rossmc
Wed Nov 02, 2005 10:42 am
Forum: ActiveX
Topic: Mouse X to Series Value
Replies: 6
Views: 9153

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...
by Rossmc
Tue Nov 01, 2005 10:02 am
Forum: ActiveX
Topic: Mouse X to Series Value
Replies: 6
Views: 9153

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 ...
by Rossmc
Fri Jul 22, 2005 2:32 pm
Forum: ActiveX
Topic: Function Pen Style
Replies: 1
Views: 3917

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(....
by Rossmc
Mon May 23, 2005 8:05 am
Forum: ActiveX
Topic: Moving Average .XScreenToValue
Replies: 1
Views: 4034

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...
by Rossmc
Fri May 06, 2005 8:57 am
Forum: ActiveX
Topic: Axis labelling increments etc
Replies: 1
Views: 3988

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...