diff --git a/components/plotfunction/demo/event/ploteventdemo.res b/components/plotfunction/demo/event/ploteventdemo.res index 16ba81cf6e..1e979fca48 100644 Binary files a/components/plotfunction/demo/event/ploteventdemo.res and b/components/plotfunction/demo/event/ploteventdemo.res differ diff --git a/components/plotfunction/demo/expression/exprdemo.res b/components/plotfunction/demo/expression/exprdemo.res index 7c6cf3e4be..f6e8499568 100644 Binary files a/components/plotfunction/demo/expression/exprdemo.res and b/components/plotfunction/demo/expression/exprdemo.res differ diff --git a/components/plotfunction/plotpanel.pp b/components/plotfunction/plotpanel.pp index b4392010ba..e77a4d57d6 100644 --- a/components/plotfunction/plotpanel.pp +++ b/components/plotfunction/plotpanel.pp @@ -431,6 +431,7 @@ procedure TPlotAxis.SetAxisColor(const AValue: TColor); begin if FColor=AValue then exit; FColor:=AValue; + Changed; end; @@ -447,6 +448,7 @@ begin If FInterval<=0 then Raise EPlotPanel.CreateFmt(SerrInvalidInterval,[AValue]); FInterval:=AValue; + Changed; end; procedure TPlotAxis.SetCaption(const AValue: TPlotCaption); @@ -554,8 +556,10 @@ begin inherited Create; FCaption:=TPlotCaption.Create; FCaption.FOnChange:=@DoCaptionChange; + FCaption.Font.OnChange:= @DoCaptionChange; FColor:=DefAxisColor; FTickFont:=TFont.Create; + FTickFont.OnChange := @DoCaptionChange; FLegendInterval:=DefLegendInterval; FInterval:=DefInterval; FTickColor:=DefTickColor;