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 199 - [TV52015070] Smoothed property creates a TSmoothingFunction internally. This prop...
Summary: [TV52015070] Smoothed property creates a TSmoothingFunction internally. This ...
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-02 20:29 EDT by yeray alonso
Modified: 2013-11-20 10:03 EST (History)
0 users

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 yeray alonso 2013-11-20 10:03:11 EST
Smoothed property creates a TSmoothingFunction internally.
This property doesn't support sources with XValues.DateTime = true

Adding this to Series.pas, in the procedure TCustomSeries.SmoothSeries the problem is solved:
        if not Assigned(Self.FunctionType) or FDirty then
//...
          if (Self is TLineSeries) then
            FSmoothSeries.XValues.DateTime := (Self as TLineSeries).XValues.DateTime
          else
            FSmoothSeries.XValues.DateTime := (Self as TAreaSeries).XValues.DateTime;
Forum topic:
http://www.teechart.net/support/viewtopic.php?f=3&t=11388&view=unread#unread [created:2010-08-02T19:29:56.000+01:00 reported by:yeray@steema.com reported in version:9.0 (TeeChart VCL)]