Вопрос

What is analog of AddFieldTo on FastCube 2 components for Delphi? We've used the following code before:

TfcxSlice.AddFieldTo(FieldName, Caption, rf_CapXAx);

The problem is caused by the new TfcxCommonFieldsOfRegion class:

private
  procedure Delete(AIndex: TfcxSmallCount);
  function Add(AField: TfcxCommonFieldOfRegion): TfcxSmallCount;
  procedure Insert(AField: TfcxCommonFieldOfRegion; AIndex: TfcxSmallCount);

So, there is no strict way to change TfcxCommonFieldsOfRegion object.

Это было полезно?

Решение

The new code:

XAxisContainer.AddDimension(TfcxSliceField, FieldName, Caption);
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top