Skip to main content
Table of Contents

Getting started with TMS FNC Widget Trend Indicator

Prerequisites

  • TMS FNC Core installed and the runtime package added to the project.
  • TMS FNC Dashboard Pack design-time package registered in the IDE.

Add the control

  1. Drop TTMSFNCWidgetTrendIndicator from the TMS FNC Dashboard palette page onto a form.
  2. Set Value to the headline figure and DescriptionText to label it.
  3. Fill the Values series and choose GraphType (gtLine or gtBar).

The minimal card — a headline value and description:

Show a KPI value and descriptionPascalC++
procedure TForm1.SetupTrend;
begin
  FTrend := TTMSFNCWidgetTrendIndicator.Create(Self);
  FTrend.Parent := Self;
  FTrend.SetBounds(20, 20, 280, 160);

  FTrend.Value := 24358; // the headline figure shown large
  FTrend.DescriptionText := 'Page Views, Product Catalog 1';
end;
void __fastcall TForm1::SetupTrend()
{
  FTrend = new TTMSFNCWidgetTrendIndicator(this);
  FTrend->Parent = this;
  FTrend->SetBounds(20, 20, 280, 160);

  FTrend->Value = 24358; // the headline figure shown large
  FTrend->DescriptionText = "Page Views, Product Catalog 1";
}

Next steps