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 - Legend border gradient not visible
Summary: Legend border gradient not visible
Status: RESOLVED NOTABUG
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 131119
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/directline/vi...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-25 06:43 EST by narcís calvet
Modified: 2013-12-19 00:26 EST (History)
2 users (show)

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


Attachments
GDI+ (11.49 KB, image/png)
2013-12-19 00:26 EST, Shinobu Nagai
Details

Note You need to log in before you can comment on or make changes to this bug.
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+