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 - TChartShape.Style not working in C++ Builder
Summary: TChartShape.Style not working in C++ Builder
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 131119
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
: 498 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-27 09:05 EST by narcís calvet
Modified: 2013-12-03 14:00 EST (History)
1 user (show)

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


Attachments

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