# DashboardRenderResult Interface

> DashboardRenderResult interface in the TX Sheet Control TypeScript API for the browser, with its syntax and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > DashboardRenderResult Interface
- **1325 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/llms-full.txt

---

Detached widget rendering output. SVG charts reuse the spreadsheet painter and require no editor DOM.

Package: `@txtextcontrol/tx-sheet-control`. This is a settings/result contract, not a runtime constructor.

### Members

| Property | Description |
|---|---|
| [kpi](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/kpi-property/llms-full.txt) | Calculated comparison, target and sparkline data for a KPI widget. |
| [type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/type-property/llms-full.txt) | Configures type on DashboardRenderResult; apply the complete settings object through its owning dashboard. |
| [title](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/title-property/llms-full.txt) | Configures title on DashboardRenderResult; apply the complete settings object through its owning dashboard. |
| [data](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/data-property/llms-full.txt) | Configures data on DashboardRenderResult; apply the complete settings object through its owning dashboard. |
| [svg](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/svg-property/llms-full.txt) | Configures svg on DashboardRenderResult; apply the complete settings object through its owning dashboard. |
| [text](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/text-property/llms-full.txt) | Configures text on DashboardRenderResult; apply the complete settings object through its owning dashboard. |
| [appearance](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/appearance-property/llms-full.txt) | Configures appearance on DashboardRenderResult; apply the complete settings object through its owning dashboard. |

### Examples

Configure a complete sales dashboard using this contract. Pass the workbook from your existing editor or server control.

```typescript
import type { Workbook } from '@txtextcontrol/tx-sheet-control';

async function configureSalesDashboard(book: Workbook) {
    const sheet = book.sheets.at(0);
    sheet.range('A1:G5').setValues([
        ['Region', 'Country', 'Customer', 'Revenue', 'Profit', 'Date', 'Units'],
        ['Europe', 'Germany', 'Studio', 42000, 12000, '2026-01-15', 12],
        ['Europe', 'France', 'Labs', 38000, 9000, '2026-02-15', 15],
        ['Americas', 'Canada', 'Partners', 31000, 8000, '2026-01-15', 9],
        ['Americas', 'United States', 'Design', 49000, 15000, '2026-02-15', 18]
    ]);
    book.analytics.setSource({ id: 'sales', name: 'Sales', sheetId: sheet.id, range: 'A1:G5', hasHeaderRow: true });
    const dashboard = book.dashboards.add('Sales Performance');
    dashboard.update({ sections: [{ id: 'summary', title: 'Executive Summary' }] });
    dashboard.addWidget({
        id: 'revenue', type: 'column', title: 'Regional Revenue',
        placement: { x: 0, y: 0, width: 8, height: 6 },
        query: { sourceId: 'sales', dimensions: ['Region'], measures: [
            { field: 'Revenue', aggregation: 'SUM', alias: 'Revenue' },
            { field: 'Profit', aggregation: 'SUM', alias: 'Profit' }
        ] }
    });
    dashboard.updateWidget('revenue', { type: 'kpi', kpi: { measure: 'Revenue', comparisonMeasure: 'Profit', target: 180000 } });
    const result = await dashboard.render('revenue');
    const report = document.createElement('pre');
    report.textContent = JSON.stringify(result, null, 2);
    document.body.append(report);
    book.activeView = { type: 'dashboard', id: dashboard.id };
}
```

---

## In This Section

- [DashboardRenderResult.appearance Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/appearance-property/llms-full.txt): DashboardRenderResult.appearance property in the browser TypeScript API, with its type DashboardWidgetAppearance and a TypeScript example.
- [DashboardRenderResult.data Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/data-property/llms-full.txt): DashboardRenderResult.data property in the TX Sheet Control TypeScript API for the browser, with its type AnalyticsResult and a TypeScript example.
- [DashboardRenderResult.kpi Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/kpi-property/llms-full.txt): DashboardRenderResult.kpi property in the TX Sheet Control TypeScript API for the browser: Calculated comparison, target and sparkline data for a KPI widget.
- [DashboardRenderResult.svg Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/svg-property/llms-full.txt): DashboardRenderResult.svg property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [DashboardRenderResult.text Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/text-property/llms-full.txt): DashboardRenderResult.text property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [DashboardRenderResult.title Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/title-property/llms-full.txt): DashboardRenderResult.title property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [DashboardRenderResult.type Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/type-property/llms-full.txt): DashboardRenderResult.type property in the TX Sheet Control TypeScript API for the browser, with its type DashboardWidgetType and a TypeScript example.

---

## Nearby

- **Previous:** [DashboardPlacement.y Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardplacement/y-property/llms-full.txt)
- **Next:** [DashboardRenderResult.appearance Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dashboardrenderresult/appearance-property/llms-full.txt)
