Since Laz 2.2.0 is close to be released, maybe TAChart could be polished to get less compiler warnings.
I don't know if they can be ignored, so I list here what I think deserves a look:
Deprecation warnings:
tachartaxis.pas(447,41) Warning: Symbol "OnMarkToText" is deprecated: "Use "OnGetMarkText"
tagraph.pas(639,84) Warning: Symbol "OnBeforeDrawBackground" is deprecated: "Use OnBeforeCustomDrawBackground instead"
tagraph.pas(640,27) Warning: Symbol "OnBeforeDrawBackground" is deprecated: "Use OnBeforeCustomDrawBackground instead"
tagraph.pas(648,83) Warning: Symbol "OnAfterDrawBackground" is deprecated: "Use OnAfterCustomDrawBackground instead"
tagraph.pas(649,26) Warning: Symbol "OnAfterDrawBackground" is deprecated: "Use OnAfterCustomDrawBackground instead"
tagraph.pas(978,76) Warning: Symbol "OnExtentChanging" is deprecated: "Used OnExtentValidate instead"
tagraph.pas(979,23) Warning: Symbol "OnExtentChanging" is deprecated: "Used OnExtentValidate instead"
tagraph.pas(1004,26) Warning: Symbol "OnAfterDraw" is deprecated: "Use OnAfterCustomDraw instead"
tagraph.pas(1005,16) Warning: Symbol "OnAfterDraw" is deprecated: "Use OnAfterCustomDraw instead"
tagraph.pas(1050,82) Warning: Symbol "OnBeforeDrawBackWall" is deprecated: "Use OnBeforeCustomDrawBackWall instead"
tagraph.pas(1051,25) Warning: Symbol "OnBeforeDrawBackWall" is deprecated: "Use OnBeforeCustomDrawBackWall instead"
tagraph.pas(1074,81) Warning: Symbol "OnAfterDrawBackWall" is deprecated: "Use OnAfterCustomDrawBackWall instead"
tagraph.pas(1075,24) Warning: Symbol "OnAfterDrawBackWall" is deprecated: "Use OnAfterCustomDrawBackWall instead"
taseries.pas(63,42) Warning: Symbol "TBeforeDrawBarEvent" is deprecated
taseries.pas(1280,79) Warning: Symbol "OnBeforeDrawBar" is deprecated: "Use OnCustomDrawBar instead"
taseries.pas(1281,22) Warning: Symbol "OnBeforeDrawBar" is deprecated: "Use OnCustomDrawBar instead"
tatools.pas(2135,21) Warning: Symbol "OnDraw" is deprecated: "Use OnCustomDraw"
tatools.pas(2136,11) Warning: Symbol "OnDraw" is deprecated: "Use OnCustomDraw"
tachartextentlink.pas(71,19) Hint: Unit "Types" not used in TAChartExtentLink
tadatatools.pas(126,3) Hint: Unit "GraphMath" not used in TADataTools
Unreachable code:
taseries.pas(1215,62) Warning: Unreachable code
taseries.pas(1799,93) Warning: Unreachable code
tafuncseries.pas(1827,45) Warning: Unreachable code
tafuncseries.pas(2477,104) Warning: Unreachable code
Case statement does not handle all possible cases:
tageometry.pas(302,3) Warning: Case statement does not handle all possible cases
tageometry.pas(307,3) Warning: Case statement does not handle all possible cases
tageometry.pas(312,3) Warning: Case statement does not handle all possible cases
tageometry.pas(317,3) Warning: Case statement does not handle all possible cases
tadrawutils.pas(550,5) Warning: Case statement does not handle all possible cases
taintervalsources.pas(237,3) Warning: Case statement does not handle all possible cases
tatypes.pas(470,5) Warning: Case statement does not handle all possible cases
tatextelements.pas(743,3) Warning: Case statement does not handle all possible cases
talegend.pas(988,3) Warning: Case statement does not handle all possible cases
tagraph.pas(1170,5) Warning: Case statement does not handle all possible cases
tasources.pas(1535,3) Warning: Case statement does not handle all possible cases
taradialseries.pas(737,3) Warning: Case statement does not handle all possible cases
taseries.pas(699,11) Warning: Case statement does not handle all possible cases
taseries.pas(592,5) Warning: Case statement does not handle all possible cases
tafuncseries.pas(2745,3) Warning: Case statement does not handle all possible cases
tadatatools.pas(236,3) Warning: Case statement does not handle all possible cases
tachartcombos.pas(394,11) Warning: Case statement does not handle all possible cases
tachartcombos.pas(406,7) Warning: Case statement does not handle all possible cases
tadiagramdrawing.pas(112,3) Warning: Case statement does not handle all possible cases
Unused units and variables:
tageometry.pas(117,3) Hint: Unit "GraphMath" not used in TAGeometry
tadrawutils.pas(812,9) Note: Local variable "testline" not used
tatextelements.pas(22,3) Hint: Unit "GraphMath" not used in TATextElements
tatools.pas(21,26) Hint: Unit "GraphMath" not used in TATools
tachartextentlink.pas(71,19) Hint: Unit "Types" not used in TAChartExtentLink
tadatatools.pas(126,3) Hint: Unit "GraphMath" not used in TADataTools