Skip to content
silverpoint
Documentation menu

Hosts

silverpoint in Tableau

Viz extensions that draw on the Marks card: one extension per chart (55 of them), each with its own tiles (X, Value, Row, …), drawn by silverpoint's standalone script, served with the page from the repository's GitHub Pages.

At a glance

IntegrationPackageRegistryKindThroughStatus
Tableausilverpoint-tableaugithub-pagesbiembedreleased

Draws with @silverpoint/embed 0.10.1 (silverpoint-embed.full.js).

Requirement
TableauDesktop, Server or Cloud 2024.2 or later (Extensions API 1.12)
Datasummary data only: no manifest asks for full data
Not availablecandlestick-chart: five roles, and a viz extension takes at most four tiles

For authors

  1. Download the .trex of the chart you want from the latest release, or silverpoint-tableau-trex-X.Y.Z.zip for all of them.
  2. In a worksheet: Marks card → mark type → Viz Extensions → Add Extension → Access Local Viz Extensions, and choose the file.
  3. Drag fields onto the extension's tiles. Until every required tile has a field, the chart says which ones to fill.
  4. Format Extension opens the chart's options, the view options (title, data table) and the appearance (ground, substrate, mode, palette). They are saved with the workbook.

For a line chart of hits per hour: line-chart.trex, Hour on X, SUM(Hits) on Value and, for the dotted series, SUM(Baseline) on Secondary. The chart fills the worksheet, reads by keyboard, switches to precision mode under high contrast and, with one dimension tile, selects the matching marks when you press Enter on an item.

The manifest declares one tile per role and the page that draws it:

xml
<manifest manifest-version="0.1" xmlns="http://www.tableau.com/xml/extension_manifest">
  <worksheet-extension id="to.seraph.silverpoint.line-chart" extension-version="0.1.0">
    <min-api-version>1.12</min-api-version>
    <source-location>
      <url>https://ecrespo.github.io/silverpoint-tableau/v0.1/index.html?chart=line-chart</url>
    </source-location>
    <encoding id="x">
      <display-name>X</display-name>
      <role-spec><role-type>discrete-dimension</role-type></role-spec>
      <fields max-count="1"/>
    </encoding>
    <encoding id="value">
      <display-name>Value</display-name>
      <role-spec><role-type>continuous-measure</role-type><role-type>discrete-measure</role-type></role-spec>
      <fields max-count="1"/>
    </encoding>
    <!-- … secondary … -->
  </worksheet-extension>
</manifest>

For administrators

The extensions are network-enabled. On Tableau Server or Tableau Cloud, allow this URL under Settings → Extensions → Enable specific extensions:

url
https://ecrespo.github.io/silverpoint-tableau/v0.1/index.html

Each release line has its own folder (/v0.1/, /v0.2/, …) that never changes once released, so a workbook keeps working after the next release. The page loads two scripts, both from that origin (the Tableau Extensions API library and silverpoint's standalone file), and sends worksheet data nowhere.

See also