From 6f88439cd103978ac3c9c2feb0b39fabd526014e Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Fri, 20 Sep 2024 18:17:55 +0000 Subject: [PATCH] FPSpreadsheet: Fix 'General" number format for xlsx chart reader git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9457 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/fpspreadsheet/source/common/xlsxooxmlchart.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/fpspreadsheet/source/common/xlsxooxmlchart.pas b/components/fpspreadsheet/source/common/xlsxooxmlchart.pas index b1f76ea1d..e175043b1 100644 --- a/components/fpspreadsheet/source/common/xlsxooxmlchart.pas +++ b/components/fpspreadsheet/source/common/xlsxooxmlchart.pas @@ -412,6 +412,9 @@ begin AChartAxis.DateTime := true; AChartAxis.LabelFormatDateTime := s; end else + if s = 'General' then + AChartAxis.LabelFormat := '' + else AChartAxis.LabelFormat := s; end; end;