Looker Studio · Schema

StyleConfig

Defines a group of style elements that appear in the Looker Studio property panel for the visualization.

AnalyticsBusiness IntelligenceDashboardsData VisualizationGoogleReports

Properties

Name Type Description
id string Unique identifier for this style group.
label string Display label for this style group.
elements array The individual style elements in this group.
View JSON Schema on GitHub

JSON Schema

looker-studio-styleconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StyleConfig",
  "title": "StyleConfig",
  "type": "object",
  "description": "Defines a group of style elements that appear in the Looker Studio property panel for the visualization.",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for this style group."
    },
    "label": {
      "type": "string",
      "description": "Display label for this style group."
    },
    "elements": {
      "type": "array",
      "description": "The individual style elements in this group.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for this style element."
          },
          "label": {
            "type": "string",
            "description": "Display label for this element."
          },
          "type": {
            "type": "string",
            "description": "The type of style input to render.",
            "enum": [
              "FONT_COLOR",
              "FONT_SIZE",
              "FONT_FAMILY",
              "FILL_COLOR",
              "BORDER_COLOR",
              "BORDER_WEIGHT",
              "OPACITY",
              "LINE_WEIGHT",
              "LINE_STYLE",
              "CHECKBOX",
              "TEXTINPUT",
              "SELECT_SINGLE",
              "SELECT_RADIO"
            ]
          },
          "defaultValue": {
            "type": "string",
            "description": "The default value for this style element."
          }
        }
      }
    }
  }
}