Operations
Available
v1.0.0
Leakage Flip Costs And Pairout Costs
Costs over time
Live preview
Rendered from sample data fed via .data — exactly how your app feeds it.
Data contract
| Column | Type | Req |
|---|---|---|
| Category | string | ✓ |
| Value | number | ✓ |
| Series | string | — |
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-leakageflippairout>) -->
<script type="module" src="https://widgets-d.afnai.com/cdn/afn-leakageflippairout/v1/afn-leakageflippairout.js"></script>
<!-- 2. Drop the tag -->
<afn-leakageflippairout id="w"></afn-leakageflippairout>
<!-- 3. Feed your data -->
<script>
const el = document.querySelector('#w');
el.data = [
{"Category":"Feb","Series":"Flip Costs","Value":85000},
{"Category":"Feb","Series":"Pairout Costs","Value":42000},
{"Category":"Mar","Series":"Flip Costs","Value":92000},
{"Category":"Mar","Series":"Pairout Costs","Value":38000},
{"Category":"Apr","Series":"Flip Costs","Value":78000},
{"Category":"Apr","Series":"Pairout Costs","Value":51000},
{"Category":"May","Series":"Flip Costs","Value":103000},
{"Category":"May","Series":"Pairout Costs","Value":47000},
{"Category":"Jun","Series":"Flip Costs","Value":88000},
{"Category":"Jun","Series":"Pairout Costs","Value":55000}
];
</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.