Visual invalidation
Posted: Tue Aug 09, 2005 2:52 pm
I am looking for a way to indicate that a chart has become invalid. Something like casting a gray shadow over the whole panel, including the series, would be good.
Steema Software - Customer Support Forums
http://216.92.101.67/support/
Code: Select all
uses TeCanvas;
procedure TForm1.Chart1AfterDraw(Sender: TObject);
begin
if CheckBox1.Checked then { do gray scale... }
TeeGrayScale( (Chart1.Canvas as TTeeCanvas3D).Bitmap,
false,
0);
end;
procedure TForm1.CheckBox1Click(Sender: TObject);
begin
Chart1.Enabled := not checkbox1.Checked;
Chart1.Repaint;
end;