![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Give an alternative without needing to set Modified:=True after assigning a TChartValueList | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | david |
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
|
Description
yeray alonso
2013-12-20 11:31:10 EST
Fixed. Added a new overload method TChartValueList.RecalcStats with the four parameters that correspond to values stats (min, max, total and totalabs). Series1.YValues.RecalcStats( 0, 1000, 123456, 34893478934); When calling this method, it is not necessary to set YValues.Modified := True and this prevents to recalculate the stats. (This is a performance optimization, when you change YValues.Value array directly and already know the stats amounts) |