diff --git a/components/tachart/taradialseries.pas b/components/tachart/taradialseries.pas index c40957f7f1..3cf2adb6df 100644 --- a/components/tachart/taradialseries.pas +++ b/components/tachart/taradialseries.pas @@ -499,6 +499,8 @@ begin // This is a workaround for db source invalidating the cache due to // unnecessary "dataset changed" events. total := Source.ValuesTotal; + if total = 0 then + exit; for i := 0 to Count - 1 do begin di := Source[i]; if IsNan(di^.Y) then continue;