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 469

Summary: Legend border gradient not visible
Product: VCL TeeChart Reporter: narcís calvet <narcis>
Component: CanvasAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED NOTABUG    
Severity: normal CC: david, nagai
Priority: ---    
Version: 131119   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/directline/viewtopic.php?f=5&t=886&p=4219#p4219
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: GDI+

Description narcís calvet 2013-11-25 06:43:33 EST
Setting the legend border gradient doesn't work by code nor using the chart editor (see screen-shots at the link at the URL field).

  Chart1.Legend.Frame.Fill.Gradient.Visible:=True;
Comment 1 narcís calvet 2013-11-25 06:43:56 EST
BTW: It works fine in Firemonkey
Comment 2 narcís calvet 2013-11-25 06:51:54 EST
This also happens with series pen.
Comment 3 david berneda 2013-11-25 08:01:11 EST
Probably Chart1 Canvas is GDI instead of GDI+.
Pen Gradient filling is only available in GDI+ and FireMonkey canvases.
Old GDI does not allow filling stroke lines.

Also, there is no way to disable or hide the Gradient tab at Pen Editor dialog, because the dialog cannot guess which canvas has the associated owner of that pen.
Comment 4 Shinobu Nagai 2013-12-19 00:23:14 EST
> Probably Chart1 Canvas is GDI instead of GDI+.

It's GDI+. We set it in the "Design time options" dialog (see the screenshot).
Comment 5 Shinobu Nagai 2013-12-19 00:24:35 EST
> Probably Chart1 Canvas is GDI instead of GDI+.

It's GDI+. We set it in the "Design time options" dialog (see the screenshot).
Comment 6 Shinobu Nagai 2013-12-19 00:26:40 EST
Created attachment 59 [details]
GDI+