Search found 9 matches

by Sinna
Wed Feb 25, 2004 7:24 am
Forum: ActiveX
Topic: Missing labels in ColorGrid
Replies: 2
Views: 8615

It is very difficult to give you a code snippet reproducing the missing labels because the code is part of a large project. For as far as I see, it has nothing to do with the available space for the label but with the EventPump in VB (I suppose it's not named like that). It seems like VB interrupts ...
by Sinna
Tue Feb 17, 2004 3:02 pm
Forum: ActiveX
Topic: Missing labels in ColorGrid
Replies: 2
Views: 8615

Missing labels in ColorGrid

When plotting a ColorGrid with the command .AddXYZ() sometimes not all the labels are displayed. It seems that the control doesn't have enough time to (re)paint. When adding a DoEvents() after each row, the labels are displayed correctly but the painting is very slow (read: too slow) and the CPU-usa...
by Sinna
Fri Feb 13, 2004 12:07 pm
Forum: ActiveX
Topic: Coloring in ColorGrid
Replies: 1
Views: 7069

Seems to be fixed with TChart 6.
:roll:
by Sinna
Fri Feb 13, 2004 7:45 am
Forum: ActiveX
Topic: Coloring in ColorGrid
Replies: 1
Views: 7069

Coloring in ColorGrid

Is is possible to have the color of a cell in a ColorGrid based on the value of that cell? Example: ColorRange from green over yellow to red. 0 = green, 50 = yellow, 100 = red If I add the (random) values, the coloring is random. If I add them in increasing sequence, the coloring is OK. What am I do...
by Sinna
Thu Feb 05, 2004 8:28 am
Forum: ActiveX
Topic: AddArray of unsigned integers in VB6
Replies: 6
Views: 17664

FYI: Convert Unsigned Integer Array to Long Array

Since TeeChart Control interpretes arrays of unsigned integer values as integer values, you have to convert the array to long. To achieve this, you can use the following code (which is significantly faster than the conversion methods in the KB of the MSDN Library): Private Declare Sub CopyMemory Lib...
by Sinna
Mon Feb 02, 2004 2:16 pm
Forum: ActiveX
Topic: AddArray of unsigned integers in VB6
Replies: 6
Views: 17664

If I pass the array to the TeeChart Control, the control plots them signed.
So, if I have a value of say 33000, it is plotted -233, 32800 becomes -33.


Sinna
by Sinna
Mon Feb 02, 2004 8:27 am
Forum: ActiveX
Topic: AddArray of unsigned integers in VB6
Replies: 6
Views: 17664

Yes, I read the article and use the conversion methods as mentioned (but optimized by using APIs) So, the array of integers I pass to the TeeChart control, is in fact an array of unsigned integers. I know I could convert all the unsigned integers to longs and pass the array of longs to the TeeChart ...
by Sinna
Tue Jan 27, 2004 11:24 am
Forum: ActiveX
Topic: AddArray of unsigned integers in VB6
Replies: 6
Views: 17664

AddArray of unsigned integers in VB6

How can I force TeeChart to draw a graph with unsigned integer values in Visual Basic 6? If I write Call Profile.Series(0).AddArray(mValuesCount, mLastProfileValues) with mLastProfileValues an array of unsigned integers, the graph is drawn as it were signed integers. Converting the unsigned integers...
by Sinna
Thu Nov 20, 2003 4:30 pm
Forum: ActiveX
Topic: Use of checkboxes in the legend
Replies: 1
Views: 12627

Use of checkboxes in the legend

By means of the checkboxes in the legend, series can be suppressed in the chart.
Is it possible to set on runtime which series in the chart should be suppressed?