Search found 40 matches

by LAL
Sat Sep 12, 2020 3:50 am
Forum: ActiveX
Topic: Drawing Polygon on Canvas in OnAfterDraw
Replies: 2
Views: 24337

Drawing Polygon on Canvas in OnAfterDraw

In C++ ActiveX v8, I want to draw a direction arrow on my line series that points along the line. I've calculated the points of the arrow (below) - but I'm not sure how to put them into the VARIANT for the Polygon? Is it supposed to be an array of CPoints? Or an integer list of coordinates? //------...
by LAL
Wed Sep 02, 2020 12:16 am
Forum: ActiveX
Topic: Drawing Series on Existing Chart
Replies: 3
Views: 26411

Drawing Series on Existing Chart

I suspect there isn't an easy way to do what I want, but I thought I'd check before I set off trying something complicated! :D I have an existing line series representing an elevation profile. I would like the user to be able to manually draw a number of new series on top of that profile such that: ...
by LAL
Mon Jul 04, 2016 1:16 am
Forum: ActiveX
Topic: Adaptive Rendering for Large Datasets
Replies: 1
Views: 8091

Adaptive Rendering for Large Datasets

I've just upgraded from v8 to the latest release and I was wondering if any adaptive rendering had been implemented? Several years ago I experimented with replacing another graphing control we use to display DEMs with TeeChart. TeeChart was appreciably slower because it seemed to render every point ...
by LAL
Thu Jul 31, 2014 9:59 pm
Forum: ActiveX
Topic: Rendering in RTL Environment (Hebrew)
Replies: 1
Views: 8069

Rendering in RTL Environment (Hebrew)

Using v8 in Hebrew Windows my chart is being rendered backwards. SnipImage.JPG It looks as if the chart is rendered normally (i.e. LTR) and then simply flipped RTL with a BitBLt or something. This is incorrect, the chart should be rendered LTR, as should the arabic numerals. Only the Hebrew text sho...
by LAL
Tue Nov 29, 2011 3:01 am
Forum: ActiveX
Topic: TeeChart Freezes With a Certain Dataset
Replies: 3
Views: 8428

Re: TeeChart Freezes With a Certain Dataset

Hi Yeray - similarly, I can use that example with no problems. I can't seem to replicate the problem in a simple(r) solutiuon.

How likely is it that upgrading to the 2011 version will fix my problem? Is there a change list somewhere?
by LAL
Wed Nov 16, 2011 9:51 pm
Forum: ActiveX
Topic: TeeChart Freezes With a Certain Dataset
Replies: 3
Views: 8428

TeeChart Freezes With a Certain Dataset

Dear Steema, The attached dataset is giving me problems in TeeChart v8.0.1.1 on an MFC application dialog built in VS2010. It appears to be related to the "Elevation" series, but I can't figure out what exactly the problem is. Things I know: 1) My chart dialog freezes when opening, seemingly enterin...
by LAL
Tue Mar 29, 2011 9:01 pm
Forum: ActiveX
Topic: Print Margins
Replies: 1
Views: 5422

Print Margins

Is there any non-code way to make the print preview properties of the TeeChart control persistent? When printing lots of charts it is tedious to have to set the margins every time (especially since TeeChart seems to prefer picking ridiculously large margins). Actually, this applies to all the print ...
by LAL
Sun Dec 12, 2010 7:44 pm
Forum: ActiveX
Topic: Timer ID
Replies: 3
Views: 8537

Re: Timer ID

We recently found that one of our third party components was using a standard windows timer that shared the same timer ID we were using for a dongle heartbeat check (attached to the same Hwnd too). We thought the dongle was being checked every 90s, but it was being checked on every mouse move. This ...
by LAL
Fri Dec 10, 2010 1:58 am
Forum: ActiveX
Topic: Timer ID
Replies: 3
Views: 8537

Timer ID

We've had some problems with third party timers interacting with our OnTimer handler. For that reason I was wondering what timer ID is used by T-Chart's built in timer?

Cheers,
by LAL
Wed Nov 03, 2010 1:11 am
Forum: ActiveX
Topic: Cursor Tool Problems
Replies: 1
Views: 5369

Re: Cursor Tool Problems

Just ignore me - I found errors in my code! :oops:
by LAL
Wed Nov 03, 2010 12:56 am
Forum: ActiveX
Topic: Cursor Tool Problems
Replies: 1
Views: 5369

Cursor Tool Problems

I'm having some problems with the cursor tool and wondered if they were known problems? I'm using v8.0.0.8 Firstly, I 've had to add two dummy cursor tools (0 and 1) and set them inactive, because they won't activate (I can set them active but the flag doesn't stick). My actual two cursor tools are ...
by LAL
Fri Sep 18, 2009 4:09 am
Forum: ActiveX
Topic: Adaptive Surface Display
Replies: 1
Views: 4882

Adaptive Surface Display

I'm trying to display some large surfaces (like 400 x 400 -> 800 x 800 XYZ points) and wondered if there is a setting to make the surface display in an adaptive way. I mean, so that it doesn't try to render the whole dataset - but calculates a 'reasonable' surface based on the pixel resolution of th...
by LAL
Mon May 04, 2009 8:42 pm
Forum: ActiveX
Topic: Colour Each Line Problem
Replies: 5
Views: 9760

Hi Narcís, Yes, that code works, but this code doesn't: Private Sub Command1_Click() TChart1.Series(0).asLine.ColorEachLine = Not TChart1.Series(0).asLine.ColorEachLine End Sub Private Sub Form_Load() TChart1.Aspect.View3D = False TChart1.AddSeries scLine TChart1.Series(0).asLine.ColorEachLine = Tru...
by LAL
Mon May 04, 2009 2:34 am
Forum: ActiveX
Topic: Colour Each Line Problem
Replies: 5
Views: 9760

Answer found

OK, I worked around this by putting the pointers on using the 'psNothing' style, but I still think the 'Colour each line' flag should work regardless of the visibility of the pointers.

Thanks!
by LAL
Mon May 04, 2009 2:23 am
Forum: ActiveX
Topic: Colour Each Line Problem
Replies: 5
Views: 9760

Colour Each Line Problem

I'm potentially displaying multiple line series. When I have only one series I colour each point depending on the data (using 'colour each line' with pointers NOT visible). When I display multiple series I want to give each series a 'solid' colour, so that they are easier to tell apart. Ideally I'd ...