Page 1 of 2

Version 8.0.0.4

Posted: Tue Jul 08, 2008 9:32 pm
by 15048423
Still not fixed the VB6 compile error I see. When can we expect to see this fixed, it is getting really irritating opening ALL Active Reports with TeeCharts on just to compile the project.

Posted: Wed Jul 09, 2008 7:24 pm
by 15046186
Unfortunately still not fixed both TV52012779 and TA05012791 bugs too :(

I have installed the new version and my program crashed whenever I resized a windows with a TChart control on it. I then created a new simple project with only the main form and a TChart control with one line series. Here's the code:
Private Sub Form_Load()
TChart1.Series(0).FillSampleValues
End Sub
Private Sub Form_Resize()
On Error Resume Next
TChart1.Move 0, 0, Me.ScaleWidth, Me.ScaleHeight
End Sub

When I resize the form to get it really small (in height only), VB6 hungs with no way to resume. If you compile the project the .exe hungs as well.

Paolo Saudin

Posted: Mon Jul 14, 2008 10:00 am
by narcis
Hello,

Sorry but we haven't been able to fix them for v8.0.0.4. We'll try to fix them for v8.0.0.5.

Posted: Tue Jul 22, 2008 10:23 pm
by 15048423
Well, that is fair enough, but to have to open 20 + forms just to compile is a little ridiculous to say the least. The TeeChart 3 pro programme compiled just fine. We paid a lot of our money for your TeeChart 8 programme, and it isn't good enough to say that it may be fixed at a later date, we work with YOUR product on a daily basis, and it is really frustrating now.

Posted: Wed Jul 23, 2008 11:42 am
by narcis
Hi Paolo,

We are currently reviewing the issues on this thread. Please find below the status of the issues you reported:

TV52012779: This works fine setting line series like this:

Code: Select all

    TChart1.Series(0).asLine.TreatNulls = tnDontPaint
TA05012791: This works fine for us here using v8.0.0.4. Could you please check that you uninstalled v8.0.0.3 and installed the new version?

Resizing issue: This has just been fixed for the next release.


DJ200,

We are looking at the Active Reports issue now. We have found the cause and are testing a solution. Will get back to you when we have further news.

Posted: Wed Jul 23, 2008 1:42 pm
by 15046186
Hi Narcís,
The infos of TChart component in VB6 show Version 8.0.0.4.10507. I am using LineSeries.
With the code TChart1.Series(0).asLine.TreatNulls = tnDontPaint works fine but if I set the property to TChart1.Series(0).asLine.TreatNulls = tnSkip TChart draws a line from the first point on the left to the last one on the right (crossing the chart) if any of those two points is NULL.

The full screen tool, correctly resize the TChart to fullfill the screen, but only the title is drawn, no chart at all. The X axis show one point at 30/12/99 instead of three days of data at around 22/07/08.

Regards,
Paolo Saudin

Posted: Thu Jul 24, 2008 10:25 am
by narcis
Hi Paolo,
The infos of TChart component in VB6 show Version 8.0.0.4.10507. I am using LineSeries.
With the code TChart1.Series(0).asLine.TreatNulls = tnDontPaint works fine but if I set the property to TChart1.Series(0).asLine.TreatNulls = tnSkip TChart draws a line from the first point on the left to the last one on the right (crossing the chart) if any of those two points is NULL.
Thanks for the feedback. With respect TreatNulls we'll investigate the behaviour of tnSkip. In the meantime please use tnDontPaint.
The full screen tool, correctly resize the TChart to fullfill the screen, but only the title is drawn, no chart at all. The X axis show one point at 30/12/99 instead of three days of data at around 22/07/08.
Sorry, my fault. Yes, you are right. We are investigating this as well.

Posted: Thu Jul 24, 2008 11:14 am
by narcis
Hi Paolo,

TA05012791 has now been fixed for the next maintenance release.

Posted: Thu Jul 24, 2008 11:44 am
by 15046186
Thank Narcís, thank for your efforts.

I don't know if I already filed the Statistics Tool bug. When a series contain a NULL value then the minimun values is set to 0 which is wrong, here is the output when the value at position 22 is NULL:

Number of values: 126
Maximum value: 20,7 at position 14
Minimum value: 0 at position 22
Range: 20,7
Average: 12,417
Median: 12,6
Mode: 8
Std. Deviation: 4,654
Variance: 21,485
Root Mean Square: 13,307
Correlation: -0,246

The minimum is actually 5 in my data serie. I don't know if the others statistics are affected as well.

Thank in advance,
Paolo Saudin

Posted: Thu Jul 24, 2008 1:15 pm
by narcis
Hi Paolo,

This is because, by default, null values are added as zero. This works fine if you populate your series like this:

Code: Select all

    TChart1.Series(0).AddXY 0, 7, "", clTeeColor
    TChart1.Series(0).AddXY 1, 9, "", clTeeColor
    TChart1.Series(0).AddXY 2, 12, "", clTeeColor
    TChart1.Series(0).AddNullXY 3, 7, ""
    TChart1.Series(0).AddXY 4, 5, "", clTeeColor
    TChart1.Series(0).AddXY 5, 11, "", clTeeColor

Posted: Thu Jul 24, 2008 4:19 pm
by 15046186
Hi Narcís,

I' m used to set the data source as follow :
With TChart.Series(i)
.DataSource = rs
.YValues.ValueSource = rs.Fields(i).Name
.XValues.ValueSource = "Data"
End With

Is there any way to make it works properly ?

Regards,
Paolo Saudin

Posted: Mon Jul 28, 2008 9:18 am
by narcis
Hi Paolo,

In that case, how are you adding null values to the series?

Thanks in advance.

Posted: Mon Jul 28, 2008 12:02 pm
by 15046186
Hi Narcís,
actually I am not adding nulls values, they come from the database when data is missing, for example the following serie of temperatures:

"2008-07-23 07:00:00", 15.6
"2008-07-23 08:00:00", 19.2
"2008-07-23 09:00:00", 21.8
"2008-07-23 10:00:00", 24.0
"2008-07-23 11:00:00", 26.5
"2008-07-23 12:00:00",
"2008-07-23 13:00:00",
"2008-07-23 14:00:00",
"2008-07-23 15:00:00",
"2008-07-23 16:00:00", 27.8
"2008-07-23 17:00:00", 27.2
"2008-07-23 18:00:00", 25.4
"2008-07-23 19:00:00", 23.5
"2008-07-23 20:00:00", 22.2
"2008-07-23 21:00:00", 20.4

Regards,
Paolo Saudin

Posted: Mon Jul 28, 2008 12:54 pm
by narcis
Hi Paolo,

I'm afraid there's little that can be done here then unless you manually process null values setting their color to clNone and value to something different than zero, for example:

Code: Select all

    For i = 0 To TChart1.Series(0).Count - 1
        If IsNull(TChart1.Series(0).YValues.Value(i)) Then
            TChart1.Series(0).YValues.Value(i) = -1
            TChart1.Series(0).SetNull i
        End If
    Next
The solution would be implementing DefaultNullValue property as with the TeeChart for .NET v3 version. I've added this to the wish-list to be considered for inclusion in future releases.

Posted: Mon Aug 18, 2008 7:41 pm
by 15048423
Any news yet on the VB6 compile problems, it is now nearly a month ago that you stated that you had identified the problem and were working on a solution? We still don't understand what the EXACT problem is as we have not seen this issue before with TeeChart 3 Pro.