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

Summary: Change in XValues or YValues does not update Minimum and Maximum
Product: .NET TeeChart Reporter: Dave Stevens <dstevens>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: minor CC: marc
Priority: ---    
Version: TeeChart.NET 2014 4.1.2014.02060   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

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.