Вопрос о TChart
Вопрос : как взять значение точки в серии ,
как присвоить этой точке новое значение?
Файл справки покоцан так что отвечайте по существу.
Заранее спасибочки Витал.
Цитата:
Originally posted by vital
Задача : смоделировать квантование по уровню
Вопрос : как взять значение точки в серии ,
как присвоить этой точке новое значение?
Файл справки покоцан так что отвечайте по существу.
Заранее спасибочки Витал.
Задача : смоделировать квантование по уровню
Вопрос : как взять значение точки в серии ,
как присвоить этой точке новое значение?
Файл справки покоцан так что отвечайте по существу.
Заранее спасибочки Витал.
Для начала: http://www.teechart.com/support/faq/NewVCL/FAQ_VCL_VALUES.htm
Далее:
Цитата:
Declaration
property XValues:TChartValueList
Description
By default, any TChartSeries has an XValues property. This is the TChartValueList where the point values will be stored at runtime. Also by default, XValues is a Public property. Some derived Series publish it: TLineSeries, TBarSeries, TPointSeries, etc. Some others publish it with another, more friendly name: TGanttSeries.StartValues, etc.
WARNING:
You CAN NOT Delete, Clear or Add values DIRECTLY. You need to call the TChartSeries equivalent methods to do this.
property XValues:TChartValueList
Description
By default, any TChartSeries has an XValues property. This is the TChartValueList where the point values will be stored at runtime. Also by default, XValues is a Public property. Some derived Series publish it: TLineSeries, TBarSeries, TPointSeries, etc. Some others publish it with another, more friendly name: TGanttSeries.StartValues, etc.
WARNING:
You CAN NOT Delete, Clear or Add values DIRECTLY. You need to call the TChartSeries equivalent methods to do this.
Ещё:
Цитата:
Declaration
property YValues : TChartValueList;
Description
By default, any TChartSeries has an YValues property. This is the TChartValueList where the point values will be stored at runtime. Also by default, YValues is a Public property.
Some derived Series publish it: TLineSeries, TBarSeries, TPointSeries, and some others publish it with another, more friendly name: TPieSeries.PieValues, etc.
WARNING:
You CAN'T Delete, Clear or Add values DIRECTLY. You need to call the TChartSeries equivalent methods to do it.
property YValues : TChartValueList;
Description
By default, any TChartSeries has an YValues property. This is the TChartValueList where the point values will be stored at runtime. Also by default, YValues is a Public property.
Some derived Series publish it: TLineSeries, TBarSeries, TPointSeries, and some others publish it with another, more friendly name: TPieSeries.PieValues, etc.
WARNING:
You CAN'T Delete, Clear or Add values DIRECTLY. You need to call the TChartSeries equivalent methods to do it.
У TChartValueList есть свойтство Value:
Цитата:
Declaration
property Value[ Index:Longint ] : Double;
Description
Run-time only.
The Value array property holds all values in the list. The Series component repaints whenever values are changed. You can use the Value property to retrieve or change values.
property Value[ Index:Longint ] : Double;
Description
Run-time only.
The Value array property holds all values in the list. The Series component repaints whenever values are changed. You can use the Value property to retrieve or change values.
Cпасибо еще раз, буду переводить, пока.