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 750 - Candle Stick High-Low offset for GDI+
Summary: Candle Stick High-Low offset for GDI+
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 140220
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-28 04:01 EDT by mitkaa.comarch
Modified: 2015-05-13 12:01 EDT (History)
2 users (show)

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


Attachments
High-Low offset for GDI+ (4.45 KB, image/png)
2014-04-28 04:01 EDT, mitkaa.comarch
Details
CandleExtra Images (109.46 KB, application/x-zip-compressed)
2014-05-05 05:38 EDT, sandra pazos
Details
Test project to verify all options (3.29 KB, application/x-zip-compressed)
2015-05-13 11:57 EDT, david berneda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mitkaa.comarch 2014-04-28 04:01:09 EDT
Created attachment 197 [details]
High-Low offset for GDI+

For GDI+ render candle stick's High-Low is always offset one pixel to the left. Visible best for narrow sticks (offset.png). GDI render if free of this issue.
Comment 1 mitkaa.comarch 2014-04-29 04:44:41 EDT
Actually it's other way round. Shadows are placed correctly, bodies are offset.
Comment 2 sandra pazos 2014-05-05 05:38:16 EDT
Created attachment 200 [details]
CandleExtra Images

I have added extra images to see the differences between GDI and GDI+.
Comment 3 mitkaa.comarch 2015-01-15 05:08:59 EST
When fix for this bug can be expected?
Comment 4 david berneda 2015-05-13 11:57:50 EDT
Created attachment 441 [details]
Test project to verify all options
Comment 5 david berneda 2015-05-13 12:01:43 EDT
Fixed.
The candle width is decremented one pixel when using the GDI+ canvas.
This aligns better the high-low line in the middle of the candle.

Attached a test project to verify several options that might affect the display aspect. (candle border, candle size, thin high-low line, GDI+ vs GDI canvas, etc)