{
  "version": "xarts.opposed/1",
  "family": "opposed",
  "operation": "mirror-bars",
  "provenance": {
    "legacyId": "opposed-bar"
  },
  "data": {
    "unit": "presencias",
    "rows": [
      {
        "id": "row-1",
        "label": "Proveedor 01",
        "left": 9,
        "right": 2
      },
      {
        "id": "row-2",
        "label": "Proveedor 02",
        "left": 7,
        "right": 7
      },
      {
        "id": "row-3",
        "label": "Proveedor 03",
        "left": 1,
        "right": 2
      },
      {
        "id": "row-4",
        "label": "Proveedor 04",
        "left": 2,
        "right": 5
      },
      {
        "id": "row-5",
        "label": "Proveedor 05",
        "left": 2,
        "right": 3
      },
      {
        "id": "row-6",
        "label": "Proveedor 06",
        "left": 7,
        "right": 0
      },
      {
        "id": "row-7",
        "label": "Proveedor 07",
        "left": 7,
        "right": 8
      },
      {
        "id": "row-8",
        "label": "Proveedor 08",
        "left": 9,
        "right": 3
      },
      {
        "id": "row-9",
        "label": "Proveedor 09",
        "left": 5,
        "right": 5
      },
      {
        "id": "row-10",
        "label": "Proveedor 10",
        "left": 5,
        "right": 0
      },
      {
        "id": "row-11",
        "label": "Proveedor 11",
        "left": 2,
        "right": 2
      }
    ]
  },
  "sides": {
    "left": {
      "label": "Automatización (10 catálogos)",
      "color": "series.blue"
    },
    "right": {
      "label": "Empresarial (11 escaparates)",
      "color": "series.pink"
    }
  },
  "calculation": {
    "order": "input",
    "domainPadding": 0.08,
    "roundDomain": true,
    "zeroDomainMaximum": 1,
    "scale": "shared-linear"
  },
  "layout": {
    "legendHeight": 48,
    "margin": {
      "top": 24,
      "right": 16,
      "bottom": 40,
      "left": 16
    },
    "bandPadding": 0.28,
    "measureYAxis": false,
    "axisInkPadding": 0,
    "axisMeasurementNumerals": "proportional-nums",
    "exportTextMeasurement": "glyph-advances",
    "legendExportMeasurement": "basic-pairs",
    "center": {
      "kind": "character-factor",
      "width": 250,
      "maxFraction": 0.5,
      "padding": 12,
      "characterFactor": 0.55,
      "fontSize": 13,
      "fontWeight": 500,
      "exportMeasurement": "basic-pairs"
    },
    "valueGutter": 30,
    "minimumSideWidth": 10,
    "legend": "top",
    "flexLegend": true,
    "rowPaint": "by-row"
  },
  "marks": {
    "radius": 0,
    "opacity": 0.9,
    "omitZeroBars": true,
    "divider": "none",
    "dividerColor": "border",
    "dividerWidth": 1
  },
  "axes": {
    "primary": "none",
    "ticks": 4,
    "rowLabels": false,
    "gridRows": false,
    "gridColumns": false,
    "baseline": false,
    "secondary": "both",
    "secondaryColor": "axis"
  },
  "labels": {
    "centerKind": "text",
    "fontSize": 13,
    "fontWeight": 500,
    "color": "textPrimary",
    "values": true,
    "integerPrecision": true,
    "sideHeaders": "none",
    "sideFontSize": 13,
    "sideFontWeight": 600
  },
  "annotations": [],
  "interaction": {
    "tooltip": true,
    "legend": false,
    "hover": "row"
  },
  "document": {
    "header": {
      "title": "Comparación de canales · simulación",
      "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": 880,
      "height": 470
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "opposed-bar-quality",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
