Please test with main.
Here I am. The demo works fine so far.
I only see now these compiler messages that could be fixed:
cesimplepenframe.pas(34,7) Hint: Parameter "WithThemeSpace" not used
cesimplepenframe.pas(27,5) Note: Private field "TSimpleChartPenFrame.FOnVisibleChange" is never used
cesimplebrushframe.pas(22,5) Note: Private field "TSimpleChartBrushFrame.FOnVisibleChange" is never used
ceshapebrushpenmarginsframe.pas(109,33) Hint: Local variable "h" does not seem to be initialized
ceshapebrushpenmarginsframe.pas(109,30) Hint: Local variable "w" does not seem to be initialized
celegendframe.pas(9,30) Hint: Unit "ColorBox" not used in ceLegendFrame
cecharteditor.pas(31,45) Hint: Parameter "Node" not used
cemain.pas(51,53) Hint: Value parameter "ASender" is assigned but never used
cemain.pas(45,48) Hint: Value parameter "ASender" is assigned but never used
cemain.pas(48,7) Hint: Value parameter "APoint" is assigned but never used
cemain.pas(49,50) Hint: Value parameter "ASender" is assigned but never used
So, I think your latest additiontions should make it into Laz 2.2.
------------
I wonder about the "assigned but never used" messages because in the procedures there is an
I see these warnings in my programs now too. I realize now that I have FPC 3.3.1 despite I set in FPCupDeluxe to get FPC 3.2.2. So the Unused() function does not work with FPC 3.3.x