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 937 - Allow the TSelectorTool to resize the chart from any of the 4 edges and the 4 sides
Summary: Allow the TSelectorTool to resize the chart from any of the 4 edges and the 4...
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: Other Other
: Low enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-30 05:43 EDT by yeray alonso
Modified: 2014-09-30 05:43 EDT (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2014-09-30 05:43:08 EDT
When you set the TSelectorTool AllowResizeChart property to True, you can 
resize the Chart, but only dragging the bottom-right edge.
The customer asks if there is "a way to resize it by saying dragging the right 
edge out or bottom edge down"

uses Chart, TeeComma, Series, TeeSelectorTool, TeeConst;

var Chart1: TChart;
    Commander1: TTeeCommander;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Caption:=TeeMsg_Version;

  Commander1:=TTeeCommander.Create(Self);
  Commander1.Parent:=Self;
  Commander1.Align:=alTop;
  Chart1:=TChart.Create(Self);
  Chart1.Parent:=Self;
  Chart1.Align:=alClient;
  Commander1.Panel:=Chart1;

  Chart1.View3D:=false;
  Chart1.AddSeries(TBarSeries).FillSampleValues();
  (Chart1.Tools.Add(TSelectorTool) as TSelectorTool).AllowResizeChart:=True;
end;