mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 10:00:32 +02:00
TAChart: Make TChartDataItem advanced record instead of object to reduce memory footprint
git-svn-id: trunk@40042 -
This commit is contained in:
parent
0f6e1b9b19
commit
f58b1e6120
@ -18,6 +18,7 @@
|
||||
unit TACustomSource;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$modeswitch advancedrecords}
|
||||
|
||||
interface
|
||||
|
||||
@ -86,9 +87,8 @@ type
|
||||
|
||||
TChartValueTextArray = array of TChartValueText;
|
||||
|
||||
{ TChartDataItem }
|
||||
|
||||
TChartDataItem = object
|
||||
TChartDataItem = packed record
|
||||
public
|
||||
X, Y: Double;
|
||||
Color: TChartColor;
|
||||
Text: String;
|
||||
|
Loading…
Reference in New Issue
Block a user