add csp revenue chart

This commit is contained in:
Tobias Brunner 2025-07-23 15:45:40 +02:00
parent 5cc6b779c5
commit ec64dd7415
Signed by: tobru
SSH key fingerprint: SHA256:kOXg1R6c11XW3/Pt9dbLdQvOJGFAy+B2K6v6PtRWBGQ
3 changed files with 166 additions and 43 deletions

View file

@ -584,16 +584,16 @@ document.addEventListener('DOMContentLoaded', function() {
</div>
</div>
<!-- TERTIARY CHART - Full Width -->
<!-- CSP REVENUE BREAKDOWN CHART - Full Width -->
<div class="row mb-4">
<div class="col-12">
<div class="card border-0 shadow-sm">
<div class="card-header bg-white border-0 pb-0">
<h5 class="mb-1"><i class="bi bi-graph-up text-info"></i> Investment Model Comparison</h5>
<p class="small text-muted mb-0">Net profit comparison: Fixed loan returns vs. performance-based direct investment across scenarios</p>
<h5 class="mb-1"><i class="bi bi-cash-stack text-success"></i> CSP Revenue Breakdown</h5>
<p class="small text-muted mb-0">Direct investment revenue breakdown: Service fees, core infrastructure sales, total CSP revenue, and Servala share over time</p>
</div>
<div class="card-body pt-3">
<canvas id="modelComparisonChart" style="height: 400px; width: 100%;"></canvas>
<canvas id="cspRevenueChart" style="height: 400px; width: 100%;"></canvas>
</div>
</div>
</div>