Documentation

Ataytis Vega Studio documentation.

Build, inspect, refine, and share Vega-powered Power BI visuals.

Templates

Understanding templates

Learn what an Ataytis Vega Studio template contains, how field placeholders make it portable, and how template pages in this documentation are organised.

What is an Ataytis Vega Studio template?

A template is a portable JSON representation of a Vega Studio visual. It combines the Vega specification with Studio metadata that explains the template, identifies its required fields, preserves relevant configuration and interaction choices, and optionally includes a small preview image.

What a template contains

PartPurpose
Vega specificationThe transforms, scales, marks, signals, and encodings that create the visual.
ConfigurationThe Vega configuration stored separately from the specification.
Studio and provider versionsThe Ataytis Vega Studio build, template metadata version, Vega provider, and provider version used to create it.
Template informationName, description, author, unique identifier, and generation time.
Dataset placeholdersRequired columns or measures, expected data types, original field context, and author notes.
Interactivity metadataTooltip, context-menu, selection, highlighting, selection mode, and data-point-limit choices where included.
Optional preview imageA PNG preview capped at 150 × 150 pixels for identification in template tooling.

Template lifecycle

  1. 1

    Author a working visual

    Build and test the specification with real Power BI fields.

  2. 2

    Generate a template

    The Studio tracks used fields and tokenizes their references into portable placeholders.

  3. 3

    Add guidance

    Provide a clear template name, description, author, field names, field purposes, and optional preview.

  4. 4

    Download or copy JSON

    Save the generated .ataytisVegaStudio.json file, or copy JSON when downloads are blocked by the host.

  5. 5

    Import into another visual

    Validate the file, assign suitable columns and measures to its placeholders, and create a new working specification.

  6. 6

    Review and adapt

    Check data types, field semantics, formatting, interactions, and viewport behavior in the destination report.

Screenshot placeholder

Template anatomy

Create a diagram or composite screenshot showing template information, field placeholders, configuration, interactivity metadata, and preview image.

Planned alt text: Anatomy of an Ataytis Vega Studio template and the metadata it carries.

How visual template pages are organised

Every visual template included with Ataytis Vega Studio receives its own page in the Contents menu after this overview. Each page explains the visual's purpose, required fields, data expectations, specification structure, interactions, configuration points, setup procedure, and common failure modes. The current built-in catalogue contains Blank Vega Canvas; future included visuals appear as peer pages in the Visual templates section.

Understanding templates | AtaytisTech