سؤال

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