Skip to content
Moonsoft Software SolutionsDEMO
SITE

Homemoonsoft.es ↗

Demo SiteCalc Builder

19 of 21

Your loan
The amount you borrow.
Fixed for the whole term.
From 1 to 30 years.

CalcBuilder example · Charts · Intermediate

Loan Repayment Charts

December 1, 2026

Loan Repayment Charts shown on the live frontend, with a calculated result.

Live result on the frontend

Excel-powered loan: balance curve and yearly principal vs interest, without PHP.

Video walkthrough

How the example is built, in under two minutes. English audio and subtitles.

What it calculates

A visitor enters the amount, the interest rate and the term. The workbook returns:

  • Monthly payment, total repaid and total interest — plus the share of interest.
  • Line chart — how the outstanding balance goes down year after year.
  • Stacked bar chart — how each year's payments are divided between principal and interest.

How it’s built

There is no PHP code. The Spreadsheet screen holds the workbook, three input mappings (cells B3 to B5) and four output mappings (cells B7 to B10).

Both charts use Spreadsheet cells as data source, so they point straight at the yearly table: labels in Loan!A14:A43 and values in columns B, C and D. They are read after the workbook has been recalculated.

The table reserves 30 rows. For shorter loans the remaining cells are empty, and Calc Builder ignores empty cells at the end of a range: the chart gets exactly one point per year.

Charts require the Calc Builder version that includes the Charts screen.

Loan Repayment Charts - charts on the frontend

The charts as your visitors see them.

Loan Repayment Charts - Charts screen

The Charts screen: type, data source, labels and data series of each chart.

Loan Repayment Charts - Exit Layout

The Exit Layout: each ##chart_name## tag marks where a chart is drawn.

Loan Repayment Charts - Spreadsheet screen

The Spreadsheet screen: the workbook and the moment in which it is calculated.

Loan Repayment Charts - input field mapping

Input mapping: each variable is written into a cell before the workbook recalculates.

Loan Repayment Charts - input form on the frontend

The input form, styled with the Form Layout.

Want this exact example on your own site?

Download the file above, then in your Joomla admin open Components › CalcBuilder › Import and upload it — it’s the same file you’d get from that component’s own Export button, charts included.

The Excel workbook travels inside the export file, so the import also restores it together with its cell mappings. The separate download is there if you want to open or edit it.