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 484 - Read-only mode for Data tab in the chart editor
Summary: Read-only mode for Data tab in the chart editor
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Editors (show other bugs)
Version: 131119
Hardware: PC Windows
: Low enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://stackoverflow.com/questions/20...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-27 06:19 EST by narcís calvet
Modified: 2013-11-28 09:09 EST (History)
1 user (show)

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


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 06:19:15 EST
It would be helpful if the data tab in the chart editor could be made read-only.
Comment 1 david berneda 2013-11-28 09:09:42 EST
Fixed.
Added a new option to disable editing at "Data" tab in Chart Editor dialog.

uses
  TeeEditCha;

procedure TForm1.Button1Click(Sender: TObject);
begin
  ChartEditor1.Options:=ChartEditor1.Options-[ceEditData];
  ChartEditor1.Execute;
end;

If instead of using a TChartEditor component, you are using directly the TChartEditorPanel or TChartGrid controls, then simply change the Options property:

  ChartGrid1.Options:=ChartGrid1.Options-[goEditing];

or

 ChartEditorPanel1.Editor.ChartGrid1.Options:=ChartEditorPanel1.Editor.ChartGrid1.Options-[goEditing];