![]() | 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: | [TV52015471] Exporting a chart with a transparent GridBand to an image or printing... | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | narcís calvet <narcis> |
| Component: | Export | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | major | CC: | trubetskov |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Exporting a chart with a transparent GridBand to an image or printing it via the chart editor ignores transparency: uses Series, TeeTools, TeeStore, TeeBmpOptions; procedure TForm1.FormCreate(Sender: TObject); var GridBand1: TGridBandTool; Bitmap: TBitmap; begin Chart1.AddSeries(TLineSeries.Create(Self)).FillSampleValues; GridBand1:=TGridBandTool.Create(Self); GridBand1.Axis:=Chart1.Axes.Bottom; GridBand1.Band1.Color:=clBlue; GridBand1.Band2.Color:=clRed; GridBand1.Band1.Transparency:=50; GridBand1.Band2.Transparency:=50; //Bitmap with transparency Bitmap:=Chart1.TeeCreateBitmap; Bitmap.SaveToFile('C:\temp\GridBandTest1.bmp'); //Bitmap without transparency TeeSaveToBitmap(Chart1, 'C:\temp\GridBandTest2.bmp', Chart1.ChartBounds); end; [created:2011-04-04T15:45:14.000+01:00 reported by:narcis@steema.com reported in version:2010.02.20202 (TeeChart VCL)]