AFN AFN Widgets
Gallery
Distribution Available v1.0.0

Purchases Closed on Time

On-time close share

Live preview

Rendered from sample data fed via .data — exactly how your app feeds it.

Data contract

ColumnTypeReq
PurchaseType string
Volume number

Emits ready, error and widget-select when a mark is clicked — wiring up drill-down.

Embed code

URL:
Colours:
<!-- 1. Load the widget (self-registers <afn-purchasesontime>) -->
<script type="module" src="https://widgets-d.afnai.com/cdn/afn-purchasesontime/v1/afn-purchasesontime.js"></script>

<!-- 2. Drop the tag -->
<afn-purchasesontime id="w"></afn-purchasesontime>

<!-- 3. Feed your data -->
<script>
  const el = document.querySelector('#w');
  el.data = [
    {"PurchaseType":"On Time","Volume":168000000},
    {"PurchaseType":"Late","Volume":27000000}
  ];
</script>

v1 gets non-breaking fixes automatically; a breaking change bumps to the next major and never touches your embed. Bring-your-own-data: your app feeds the rows via .data. Integration guide — framework setup, versioning and the origin allowlist.