![]() | 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: | AddRealTime doesn't draw the new values | ||
|---|---|---|---|
| Product: | ActiveX TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | pep |
| Priority: | Normal | ||
| Version: | TeeChart Pro Activex Control v2015 v2015.0.0.0 Release | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=1&t=15599 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | VCL project where the same code works fine | ||
Fixed for the next maintenance v2015.0.0.3 |
Created attachment 455 [details] VCL project where the same code works fine Place a Timer and a TChart on a form. Calling AddRealTime from the timer drew the values as they arrived until v2014.0.0.2, but not from v2014.0.0.3. Dim m_nCount As Integer Private Sub Form_Load() Caption = TChart1.Version TChart1.Aspect.View3D = False TChart1.AddSeries scFastLine TChart1.Axis.Left.SetMinMax -1, 1 TChart1.Axis.Bottom.SetMinMax 0, 10 m_nCount = 0 Timer1.Interval = 30 Timer1.Enabled = True End Sub Private Sub Timer1_Timer() TChart1.Series(0).asFastLine.AddRealTime m_nCount / 30, Sin(m_nCount) / 30 * 3.14 m_nCount = m_nCount + 1 End Sub I've also tried the same in VCL. It works fine with the actual code (VCL project attached).