Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 622 - Change in XValues or YValues does not update Minimum and Maximum
Summary: Change in XValues or YValues does not update Minimum and Maximum
Status: CONFIRMED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: TeeChart.NET 2014 4.1.2014.02060
Hardware: PC Windows
: --- minor
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-06 20:41 EST by Dave Stevens
Modified: 2014-03-10 15:29 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Stevens 2014-03-06 20:41:03 EST
I have a Series(0) that is populated with XValues in the range 0 to 1. At runtime, I have a scale function that iteratively applies a factor (say 10) to each XValue which would adjust the range from 0 to 10.

Example Code:

Dim tValues As Steema.TeeChart.Styles.ValueList
tValues = tcDiag.Series(0).XValues
for i = 0 to 100
   tValues.Value(i) = tValues.Value(i) * 10
next i

Looking at tValues in Watch, I can see the Values changing as I step through the code, and even FirstValue changes, but Minimum and Maximum do not change at all.

I have tried tcDiag.Series(0).RefreshSeries() and a few other commands, but none of them work. I have tried with tcDiag.Axes.Bottom.Automatic = True.

tcDiag.AutoRepaint() is set to False because I don't want to see all of the points moving one by one.

Is this a bug? Or am I missing something?
Comment 1 marc meumann 2014-03-10 15:29:16 EDT
Results confirmed as inconsistent either as tValues.Value(i) or tValues(i) (where tValues is one of the Series' Valuelists.

TeeChart Refresh() method gives different results on Axis repaint depending on approach used. Might be Series' stat refresh call issue.