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 1914 - Series with stair type drawn as negative on zoom.
Summary: Series with stair type drawn as negative on zoom.
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: 22.170619
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-07 01:12 EDT by prasooncc
Modified: 2018-01-31 06:40 EST (History)
1 user (show)

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


Attachments
random negative value,screenshot video and sample app (422.43 KB, application/x-zip-compressed)
2017-09-07 01:12 EDT, prasooncc
Details
screenshots staired lineseries with zoom (102.08 KB, image/jpeg)
2017-09-13 05:12 EDT, marc meumann
Details
smaller axis range on x and y (108.45 KB, image/jpeg)
2017-09-14 03:35 EDT, marc meumann
Details
XE5 TChart latest (103.05 KB, video/mp4)
2017-10-05 05:01 EDT, prasooncc
Details
Negative drawing XE5 with 2017.23.171221 (87.80 KB, image/png)
2018-01-31 06:36 EST, prasooncc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description prasooncc 2017-09-07 01:12:01 EDT
Created attachment 780 [details]
random negative value,screenshot video and sample app

Version 140123 ,Teechart Lite 2014 for RAD XE5 Update 2.
Windows 7,64 bit OS ,application is 32 bit.

In the sample application,on zoom of chart using mouse click and drag (around the x axis value 5 ) . The line(in stair mode) is drawn as negative,even though there are no negative points added to the series.
Comment 1 marc meumann 2017-09-13 05:12:22 EDT
Created attachment 781 [details]
screenshots staired lineseries with zoom
Comment 2 marc meumann 2017-09-13 05:13:10 EDT
This doesn't seem to be reproducible with the latest version of the TeeChart source using the test values. We recommend updating the version of TeeChart installed. See image attached.
Comment 3 prasooncc 2017-09-14 00:08:34 EDT
Hello Marc, the problem appears when the axis values are small,compared to the actual series.
For example i kept the range (-1,1.5) for the values which are almost 4 magnitude higher(62000)
I see in you example the range is set to (-300,200)
Could you please check this again once more.
Comment 4 marc meumann 2017-09-14 03:35:53 EDT
Created attachment 783 [details]
smaller axis range on x and y

Hi, I brought the y axis range down (y range -0.04 > 0.045 in this example). The vertical of the step holds up ok.
Comment 5 prasooncc 2017-09-15 06:48:08 EDT
Is there an updated chart(latest) for the XE5 version. ?
If not, do we have to update to latest C++ builder IDE 10.2 Tokyo version to get the latest chart?
Comment 6 marc meumann 2017-09-22 04:54:47 EDT
There is no new update of the Lte version for XE5. The latest TeeChart commercial license supports XE5.

See https://www.steema.com/product/vcl#features for more details.
Comment 7 prasooncc 2017-10-05 05:01:38 EDT
Created attachment 787 [details]
XE5 TChart latest
Comment 8 prasooncc 2017-10-05 05:03:29 EDT
I get similar issue wherein the line is not drawn correctly with the latest TChart trial version for VCL downloaded today from Steema.IDE is C++ builder XE5.
Comment 9 marc meumann 2017-10-05 07:49:46 EDT
If the zoom results as a very small window with respect to the location of the next point, then if the bound of the next point is calculated to greater than the Windows limit (32767x32767 pixel window) then it can cause a visualisation problem. This eventuality has been covered and locked-down for most rendering scenarios in TeeChar6t but we'll look if it's not been covered for a staired line. If that's the case we'll look to fix it for the next update.
Comment 10 prasooncc 2017-10-10 04:23:24 EDT
Is there a fixed timeline release of next update ?
Comment 11 prasooncc 2018-01-31 06:36:35 EST
Created attachment 810 [details]
Negative drawing XE5 with 2017.23.171221
Comment 12 prasooncc 2018-01-31 06:40:02 EST
Checked with v2017.23.171221 VCL 32 Bit trial version. XE5 update 2.
Windows 10.
This fix does not seem to be working.Screenshot attached.