# DashboardAxis Interface

> DashboardAxis interface in the Node.js TypeScript API: Axis bounds are finite and ordered; logarithmic axes require strictly positive bounds and observations.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > DashboardAxis Interface
- **1250 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/llms-full.txt

---

Axis bounds are finite and ordered; logarithmic axes require strictly positive bounds and observations.

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

### Members

| Property | Description |
|---|---|
| [minimum](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/minimum-property/llms-full.txt) | Configures minimum on DashboardAxis; apply the complete settings object through its owning dashboard. |
| [maximum](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/maximum-property/llms-full.txt) | Configures maximum on DashboardAxis; apply the complete settings object through its owning dashboard. |
| [title](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/title-property/llms-full.txt) | Configures title on DashboardAxis; apply the complete settings object through its owning dashboard. |
| [scale](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/scale-property/llms-full.txt) | Configures scale on DashboardAxis; apply the complete settings object through its owning dashboard. |
| [showGridlines](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/showgridlines-property/llms-full.txt) | Configures showGridlines on DashboardAxis; 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, DashboardAxis } from '@txtextcontrol/tx-sheet-control-server';

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' }
        ] }
    });
    const settings: DashboardAxis = {
        "minimum": 0,
        "maximum": 200000,
        "title": "Revenue (USD)",
        "scale": "linear",
        "showGridlines": true
    };
    dashboard.updateWidget('revenue', { chart: { axis: settings } });
    const { writeFile: saveDashboard } = await import('node:fs/promises');
    await saveDashboard('sales-dashboard.svg', await dashboard.renderSvg());
}
```

---

## In This Section

- [DashboardAxis.maximum Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/maximum-property/llms-full.txt): DashboardAxis.maximum property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [DashboardAxis.minimum Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/minimum-property/llms-full.txt): DashboardAxis.minimum property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [DashboardAxis.scale Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/scale-property/llms-full.txt): DashboardAxis.scale property in the TX Sheet Control TypeScript API for Node.js, with its type 'linear' | 'log' and a TypeScript example.
- [DashboardAxis.showGridlines Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/showgridlines-property/llms-full.txt): DashboardAxis.showGridlines property in the TX Sheet Control TypeScript API for Node.js, with its type boolean and a TypeScript example.
- [DashboardAxis.title Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/title-property/llms-full.txt): DashboardAxis.title property in the TX Sheet Control TypeScript API for Node.js, with its type string and a TypeScript example.

---

## Nearby

- **Previous:** [DashboardInteractions.tooltipTrendQuery Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardinteractions/tooltiptrendquery-property/llms-full.txt)
- **Next:** [DashboardAxis.minimum Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardaxis/minimum-property/llms-full.txt)
