Search found 18 matches

by Russ
Fri Dec 01, 2006 9:40 pm
Forum: ActiveX
Topic: just one mark?
Replies: 1
Views: 2697

just one mark?

Hi: I have a bar chart that I add value marks to (TChart3.Series(0).Marks). I like that feature very much because you can move the value marks around and they stay tied to the bar with a line. Is it possible to apply only one mark at a time? Instead of having a mark on every bar on my plot I'd like ...
by Russ
Fri Dec 01, 2006 8:07 pm
Forum: ActiveX
Topic: adjust axis scale
Replies: 2
Views: 3266

adjust axis scale

Narcis: Thank you again, this works great. Here is the code I used:

Count = 0
For i = 0 To 15000 Step 100
TChart1.Axis.Bottom.Labels.Add i, Count
Count = Count + 1
Next i

This puts the labels just like I want them!

Best Regards,
russ
by Russ
Fri Dec 01, 2006 2:07 am
Forum: ActiveX
Topic: move window bars on simple x-y chart?
Replies: 8
Views: 7076

move window bars on simple x-y chart?

Narcis: I apologize, I couldn't properly upload my sample code to the newsgroup. However, I have put a copy of it at the following URL: http://webpages.charter.net/rwpatterson357/temp/samp.zip Narcis: Steps to reproduce problem with sample code (samp.zip): 1) Open VB code and run. 2) Select "Show ba...
by Russ
Thu Nov 30, 2006 3:09 pm
Forum: ActiveX
Topic: move window bars on simple x-y chart?
Replies: 8
Views: 7076

move window bars on simple x-y chart?

Narcis: I thought I found a solution with this command: TChart1.Zoom.Enable = False 'disable zoom when colorband is present It seems to be behaving funny. I added that line of code to my code that turns my ColorBand on. Likewise, when I turn off my ColorBand I set TChart1.Zoom.Enable = True. This wo...
by Russ
Thu Nov 30, 2006 1:54 pm
Forum: ActiveX
Topic: move window bars on simple x-y chart?
Replies: 8
Views: 7076

move window bars on simple x-y chart?

Narcis: Thank you, this works great. The only caveat is that when moving the colorband with the mouse - i still get the stretch rectangle that is used to zoom in on the plot. So, after I move my colorband to the right the zoom occurs.

How can I defeat the zoom feature?

Best Regards,
russ
by Russ
Thu Nov 30, 2006 1:28 pm
Forum: ActiveX
Topic: adjust axis scale
Replies: 2
Views: 3266

adjust axis scale

Hi: I have a waveform with around 15,000 data points that I'm plotting on x-y chart. The waveform is a sinusoid that has about 128 data points per cycle. I would like for the bottom axis scale to be in "cycles", not data points. In MathCad this is done by dividing the bottom axis coordinate by a sca...
by Russ
Thu Nov 30, 2006 1:30 am
Forum: ActiveX
Topic: series marks error
Replies: 1
Views: 2551

series marks error

Hi: In my code I clear and update the series on my bar chart once per second. I added series marks so that I could see the value of each bar. TChart3.Series(0).Marks.Visible = True I got the bright idea (from one of your examples, "Movemarks") to make those marks moveable - which would be especially...
by Russ
Thu Nov 30, 2006 12:00 am
Forum: ActiveX
Topic: move window bars on simple x-y chart?
Replies: 8
Views: 7076

move window bars on simple x-y chart?

Narcis: Thank you, that works fine one edge at a time. What I would like to do is click somewhere on the ColorBand itself and drag the entire ColorBand as a whole - so that its width stays the same but the whole ColorBand moves.

Is that possible?

Regards,
russ
by Russ
Wed Nov 29, 2006 2:35 pm
Forum: ActiveX
Topic: move window bars on simple x-y chart?
Replies: 8
Views: 7076

move window bars on simple x-y chart?

Hi: Now that I can succesfully add window bars (using ColorBand) to an x-y chart I would like to know how I can move those bars with mouse.

I would like for the user to be able to click on the band - then drag it left or right. Is that doable?

Best Regards,
russ
by Russ
Wed Nov 29, 2006 2:32 pm
Forum: ActiveX
Topic: add window bars to simple x-y chart?
Replies: 5
Views: 5242

add window bars to simple x-y chart?

I finally figured out what the problem was. The line of code ".Tools.Items(0).asColorband.Axis" made specific reference to tool 0 of the present set of tools for this particular chart. Well, the ColorBand tool wasn't my only tool so I was referencing the wrong tool by the "Items(0)" part. Is there a...
by Russ
Tue Nov 28, 2006 2:00 am
Forum: ActiveX
Topic: delete multiple series at once
Replies: 1
Views: 2680

delete multiple series at once

Hi: I have a chart with 15 series. I want to delete all but series zero. Here is how I'm doing it in my code: Count = TChart1.SeriesCount For i = 1 To Count - 1 TChart1.RemoveSeries (1) Next i Is there a way to select mulitple series and delete without stepping through one at a time? Regards, russ
by Russ
Mon Nov 27, 2006 8:31 pm
Forum: ActiveX
Topic: add window bars to simple x-y chart?
Replies: 5
Views: 5242

add window bars to simple x-y chart (access violation)

Hi: I am having difficulty in figuring out how to draw two vertical bars on an x-y chart. I can't find much in the way of examples of ColorBand useage. Here is some code that I have attempted but it results in an access violation in "TeeChart7.ocx" as seen in the attached picture (with the code). ht...
by Russ
Sun Nov 19, 2006 8:52 pm
Forum: ActiveX
Topic: add window bars to simple x-y chart?
Replies: 5
Views: 5242

add window bars to simple x-y chart?

Hi: I have a simple plot of x-y data. I want to add two vertical bars (making a window) a specific number of x-axis units apart. How can I do this?

This picture should show what I'm after.

Image
by Russ
Sun Nov 19, 2006 3:03 am
Forum: ActiveX
Topic: add series to polar plot
Replies: 6
Views: 5817

I figured out how to make radial vectors from the origin.

But, I don't see a good solution to having arrow-head ends of these vectors - not one that looks good. This might be a good enhancement for later release?

Best Regards,
russ
by Russ
Fri Nov 17, 2006 7:18 pm
Forum: ActiveX
Topic: add series to polar plot
Replies: 6
Views: 5817

re: add series to polar plot

Narcis: Thanks for all your help.

How can I plot these so that each is plotted as a radial vector from the origin? Similar to what is shown in the attached picture below (hope i built the link properly below).

Best Regards,
russ

Image