TX Sheet Control

Dashboards

Topic

A TX Sheet Control dashboard turns data that is already in a workbook into metrics, charts, tables, filters, date filters and text. You create dashboards from worksheet tables, named ranges or explicit ranges and save their definitions in TXWB documents. Filtering and drilling into a dashboard never modifies worksheet values. Designing in the browser editor, coding against the dashboard API, hosting a viewer and working with the analytics behind them each have a page of their own.

How Dashboards Work

A dashboard is a view of the workbook with a canvas of its own. It shares the document's persistence and authoring history with the worksheets:

  • Sources. Workbook analytics profiles the registered worksheet sources and returns grouped results. Worksheet-based dashboards use registered tables, names and ranges.
  • Widgets. Each widget is a card on a responsive grid of 12 columns. Its query chooses dimensions, which group rows, and measures, which aggregate numeric fields or counts.
  • Filters. Filter widgets, chart selections and drill paths narrow the other widgets that use the same source. They change the analytics context, not the worksheet cells or AutoFilter.
  • Design and view. You author a dashboard with a dedicated ribbon and the Widget Settings dialog. View mode hides the authoring controls, and a viewer hosting policy removes them for the lifetime of the control.
  • Persistence. TXWB and ODS retain the dashboard definitions with the worksheet data.

Find the Right Page

If you want toRead
Find your way around the dashboard designer, the card layout and view modeDashboard Designer and Viewer
Register worksheet data and add or generate a dashboard in codeCreating Dashboards
Choose widget types, aggregations, appearance and number displayWidgets
Configure a widget category by category, including date filtersWidget Settings Dialog
Filter by region or date, drill from regions to products or open source rowsFilters and Drill-Down
Publish a dashboard that readers explore without authoringDashboard Viewer
Understand field roles, queries and relationships between sourcesAnalytics Sources and Queries
Bring JSON or HTTP data into the workbookGeneric and HTTP Data
Find out why a widget is empty or an aggregate is wrongDashboards in Troubleshooting

To try a complete dashboard, open the sales workbook of the Sample Documents as StreamType.InternalWorkbookFormat. It holds a dashboard with KPI and filter widgets.

Where to Start

  1. Dashboard Designer and Viewer: what a dashboard looks like and how you design one.
  2. Creating Dashboards: a source and a first widget in code.
  3. Widget Settings Dialog: every setting of a widget.
  4. Dashboard Viewer, when you publish the result.

Pages in This Section

  • Dashboard Designer and Viewer: the dashboard ribbon, the design workflow, card layout, filtering on the canvas and view mode.
  • Creating Dashboards: analytics sources, a key metric added with addWidget, generated dashboards, queries and the layout grid.
  • Widgets: widget types, dimensions and measures, aggregations, appearance, number display and interactions.
  • Widget Settings Dialog: the categories Data, Text Format, Card & Title, Chart Appearance, Number Display and Explore & Interact, and date filters.
  • Filters and Drill-Down: filter widgets, source rows, shared filters set in code, date controls, drill hierarchies and status messages.
  • Dashboard Viewer: the dashboardMode viewer policy in JavaScript, Angular and Razor, saved modes and data authorization.
  • Analytics Sources and Queries: sources, field roles, queries, relationships and the application data access.
  • Generic and HTTP Data: application-owned data, data connections, refresh and application data integration.