{
  "version": "xarts.metric-panels/1",
  "family": "metric-panels",
  "operation": "metric-dashboard",
  "provenance": {
    "legacyId": "stat-tile"
  },
  "data": {
    "rows": [
      {
        "id": "metric-1",
        "label": "Indicador 1",
        "value": 72,
        "target": null,
        "delta": null,
        "direction": "higher",
        "group": null,
        "unit": "%",
        "history": [],
        "historyScale": 1,
        "sub": "Escenario simulado",
        "color": "blue",
        "format": {
          "mode": "number",
          "prefix": "",
          "suffix": "%",
          "decimals": 0
        },
        "provided": {}
      },
      {
        "id": "metric-2",
        "label": "Indicador 2",
        "value": 48,
        "target": null,
        "delta": null,
        "direction": "higher",
        "group": null,
        "unit": "%",
        "history": [],
        "historyScale": 1,
        "sub": "Escenario simulado",
        "color": "rose",
        "format": {
          "mode": "number",
          "prefix": "",
          "suffix": "%",
          "decimals": 0
        },
        "provided": {}
      },
      {
        "id": "metric-3",
        "label": "Indicador 3",
        "value": 36,
        "target": null,
        "delta": null,
        "direction": "higher",
        "group": null,
        "unit": "%",
        "history": [],
        "historyScale": 1,
        "sub": "Escenario simulado",
        "color": "cyan",
        "format": {
          "mode": "number",
          "prefix": "",
          "suffix": "%",
          "decimals": 0
        },
        "provided": {}
      },
      {
        "id": "metric-4",
        "label": "Indicador 4",
        "value": 81,
        "target": null,
        "delta": null,
        "direction": "higher",
        "group": null,
        "unit": "%",
        "history": [],
        "historyScale": 1,
        "sub": "Escenario simulado",
        "color": "red",
        "format": {
          "mode": "number",
          "prefix": "",
          "suffix": "%",
          "decimals": 0
        },
        "provided": {}
      }
    ]
  },
  "encoding": {
    "metric": "label",
    "value": "value",
    "target": "target",
    "group": "group"
  },
  "calculation": {
    "mode": "value-only",
    "zeroTarget": "null",
    "summary": "none",
    "closeRatio": 0.9,
    "statusLabels": {
      "favorable": "Positive",
      "unfavorable": "Negative",
      "met": "Met",
      "close": "Close",
      "miss": "Miss"
    },
    "providedTolerance": 0.000001,
    "ratioDecimals": 0,
    "historyEndCheck": true,
    "levels": [],
    "scaleMaximum": 100,
    "progress": "value-target-ratio"
  },
  "groups": [],
  "profile": {
    "view": "stat-tiles",
    "variant": "arc",
    "margin": {
      "top": 16,
      "right": 16,
      "bottom": 28,
      "left": 16
    },
    "columns": 0,
    "gapX": 18,
    "gapY": 18,
    "value": {
      "color": "textPrimary",
      "inverse": "surface",
      "weight": 800,
      "heightRatio": 0.4,
      "maxSize": 76,
      "minSize": 14,
      "uniform": true,
      "metricColor": false,
      "charFactor": 0.66
    },
    "label": {
      "color": "textSecondary",
      "inverse": "surface",
      "inverseOpacity": 0.92,
      "size": 12,
      "weight": 600,
      "maxLines": 2,
      "lineHeight": 1.7,
      "charFactor": 0.54
    },
    "sub": {
      "color": "textMuted",
      "inverse": "surface",
      "inverseOpacity": 0.72,
      "size": 10,
      "weight": 500
    },
    "tile": {
      "fill": "surface",
      "stroke": "borderLight",
      "width": 1,
      "radius": 4,
      "padding": 14,
      "accentHeight": 4,
      "gap": 6
    },
    "accent": {
      "visible": true,
      "width": 28,
      "height": 3,
      "radius": 1.5
    },
    "row": {
      "separators": true,
      "color": "border",
      "width": 1,
      "inset": 0.18
    },
    "circle": {
      "radiusRatio": 0.94,
      "labelWidthRatio": 0.78,
      "valueWidthRatio": 0.82
    },
    "badge": {
      "padding": 16,
      "heightRatio": 1.55
    },
    "arc": {
      "maximum": 100,
      "startAngle": -2.356194490192345,
      "endAngle": 2.356194490192345,
      "thicknessRatio": 0.18,
      "radiusRatio": 0.95,
      "track": "borderLight",
      "roundCaps": true
    },
    "footnote": {
      "text": "",
      "style": {
        "color": "textMuted",
        "size": 10,
        "weight": 400
      }
    }
  },
  "annotations": [],
  "document": {
    "exportTextMeasurement": "shaped",
    "textOverflow": "preserve",
    "header": {
      "title": "Indicadores sintéticos",
      "subtitle": "Datos generados para demostrar la gramática del gráfico",
      "source": "Ejemplo sintético · sin datos de clientes"
    },
    "footer": {
      "source": "Ejemplo sintético generado para la biblioteca",
      "notes": "Valores y entidades ficticios. No representan clientes, planes ni resultados reales."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 16,
      "minimumTextGap": 4
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 960,
      "height": 340
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "stat-tile",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
