Explore the API
Sales performance overview
Explore revenue, profit, units, monthly trends and customer details from 432 spreadsheet orders.
Try this workflowExplore and compare
Change the inputs, run an action, and inspect the live result below.
ResultLive API output
All examples use the same 432 orders across 2025 and 2026. Overview and order details initially show 2026. Reset restores the complete starting workbook; TXWB downloads preserve all three dashboards.
Preparing sample...
Keep exploringReset or save
Reset restores this sample's starting document. TXWB retains its spreadsheet, dashboard, and reporting definitions.
Ready to tryUse the controls above to interact with this demo.
What this demonstrates
Sales performance overview
The worksheet table powers three dashboards: Sales Performance, Order Details and Chart Gallery. KPI cards compare years, show trend sparklines and targets. Dashboard creation is batched into a single workbook update for quick startup.
APIs used
Workbook.batch()
Dashboard.kpi()
Workbook.activeView
editor.save(StreamType.PDF, options)
How to explore
Explore revenue, profit, units, monthly trends and customer details from 432 spreadsheet orders.
All examples use the same 432 orders across 2025 and 2026. Overview and order details initially show 2026. Reset restores the complete starting workbook; TXWB downloads preserve all three dashboards.
Document ownership
The ready event supplies the initialized editor. Each action resolves document objects from the current workbook. Reset loads a clean TXWB snapshot; worksheet, range, chart, and dashboard handles must be acquired again after loading.
The Code panel shows this sample's actual implementation and the shared hosting code. Downloads contain the current document; changes are not stored on the server.
NuGet packages
TXTextControl.TXSheetControl.AspNetCore
2.0.0-beta.2
Provides the Razor spreadsheet editor, browser APIs, and packaged fonts.
dotnet add package TXTextControl.TXSheetControl.AspNetCore --version 2.0.0-beta.2