From 86af33c34370448e080c961873d44b1c4b1ca932 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Sun, 25 Jun 2023 16:28:09 +0000 Subject: [PATCH] NiceChart: Fix position of mouse cursor display label in demo project. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8852 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/nicechart/demo/common/Unit1.lfm | 1 + components/nicechart/source/NiceChart.pas | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/components/nicechart/demo/common/Unit1.lfm b/components/nicechart/demo/common/Unit1.lfm index 41a3d533e..b261293e5 100644 --- a/components/nicechart/demo/common/Unit1.lfm +++ b/components/nicechart/demo/common/Unit1.lfm @@ -16,6 +16,7 @@ object Form1: TForm1 Height = 15 Top = 573 Width = 34 + Anchors = [akLeft, akBottom] Caption = 'Label1' end object Button1: TButton diff --git a/components/nicechart/source/NiceChart.pas b/components/nicechart/source/NiceChart.pas index a20a5e0f0..6a26f6a7c 100644 --- a/components/nicechart/source/NiceChart.pas +++ b/components/nicechart/source/NiceChart.pas @@ -1013,7 +1013,6 @@ var dx: Integer; begin - if (List.Count = 0) or ChartEmpty then Exit;