TChartThemeSelector
Hierarchy Properties Methods Events
Unit
TeeThemeEditor
Description
This form is used to display the available list of Chart Theme classes and a preview chart, for users to select a new visual theme.
uses TeeThemeEditor;
...
AddChartThemes(ListBox1.Items);
...
procedure TChartThemes.Button1Click(Sender: TObject);
var tmp : TChartThemeClass;
begin
// Show the Chart Theme editor
tmp:=TChartThemeClass(ChartThemeSelector(Chart1));
if Assigned(tmp) then
ListBox1.ItemIndex:=ListBox1.Items.IndexOfObject(TObject(tmp));
end;