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 487

Summary: TChartShape.Style not working in C++ Builder
Product: VCL TeeChart Reporter: narcís calvet <narcis>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal CC: wangxing8192
Priority: ---    
Version: 131119   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=14540
Chart Series: --- Delphi / C++ Builder RAD IDE Version: RAD XE5

Description narcís calvet 2013-11-27 09:05:53 EST
TChartShape.Style property setting has not effect in C++ Builder:

	Chart1->AddSeries(new TChartShape(this))->FillSampleValues();
	TChartShape(Chart1->Series[0]).Style=chasRectangle;

Same code works fine in Delphi:

uses VclTee.Series, VclTee.TeeShape;

procedure TForm2.FormCreate(Sender: TObject);
begin
  Chart1.AddSeries(TChartShape.Create(Self)).FillSampleValues;
  (Chart1[0] as TChartShape).Style:=chasRectangle;
end;
Comment 1 wangxing8192 2013-12-03 14:00:17 EST
*** Bug 498 has been marked as a duplicate of this bug. ***