TAChart: Make TChartDataItem advanced record instead of object to reduce memory footprint

git-svn-id: trunk@40042 -
This commit is contained in:
ask 2013-01-30 03:07:42 +00:00
parent 0f6e1b9b19
commit f58b1e6120

View File

@ -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;