{
  "version": "xarts.ordered-series/1",
  "family": "ordered-series",
  "operation": "cost-volume",
  "provenance": {
    "legacyId": "breakeven"
  },
  "data": {
    "kind": "observed-costs",
    "unit": "€",
    "rows": [
      {
        "id": "volume-0",
        "units": 0,
        "fixedCost": 12000,
        "totalCost": 12000,
        "revenue": 0
      },
      {
        "id": "volume-1",
        "units": 20,
        "fixedCost": 12000,
        "totalCost": 12700,
        "revenue": 1900
      },
      {
        "id": "volume-2",
        "units": 40,
        "fixedCost": 12000,
        "totalCost": 13400,
        "revenue": 3800
      },
      {
        "id": "volume-3",
        "units": 60,
        "fixedCost": 12000,
        "totalCost": 14100,
        "revenue": 5700
      },
      {
        "id": "volume-4",
        "units": 80,
        "fixedCost": 12000,
        "totalCost": 14800,
        "revenue": 7600
      },
      {
        "id": "volume-5",
        "units": 100,
        "fixedCost": 12000,
        "totalCost": 15500,
        "revenue": 9500
      },
      {
        "id": "volume-6",
        "units": 120,
        "fixedCost": 12000,
        "totalCost": 16200,
        "revenue": 11400
      },
      {
        "id": "volume-7",
        "units": 140,
        "fixedCost": 12000,
        "totalCost": 16900,
        "revenue": 13300
      },
      {
        "id": "volume-8",
        "units": 160,
        "fixedCost": 12000,
        "totalCost": 17600,
        "revenue": 15200
      },
      {
        "id": "volume-9",
        "units": 180,
        "fixedCost": 12000,
        "totalCost": 18300,
        "revenue": 17100
      },
      {
        "id": "volume-10",
        "units": 200,
        "fixedCost": 12000,
        "totalCost": 19000,
        "revenue": 19000
      },
      {
        "id": "volume-11",
        "units": 220,
        "fixedCost": 12000,
        "totalCost": 19700,
        "revenue": 20900
      },
      {
        "id": "volume-12",
        "units": 240,
        "fixedCost": 12000,
        "totalCost": 20400,
        "revenue": 22800
      },
      {
        "id": "volume-13",
        "units": 260,
        "fixedCost": 12000,
        "totalCost": 21100,
        "revenue": 24700
      },
      {
        "id": "volume-14",
        "units": 280,
        "fixedCost": 12000,
        "totalCost": 21800,
        "revenue": 26600
      },
      {
        "id": "volume-15",
        "units": 300,
        "fixedCost": 12000,
        "totalCost": 22500,
        "revenue": 28500
      },
      {
        "id": "volume-16",
        "units": 320,
        "fixedCost": 12000,
        "totalCost": 23200,
        "revenue": 30400
      },
      {
        "id": "volume-17",
        "units": 340,
        "fixedCost": 12000,
        "totalCost": 23900,
        "revenue": 32300
      },
      {
        "id": "volume-18",
        "units": 360,
        "fixedCost": 12000,
        "totalCost": 24600,
        "revenue": 34200
      },
      {
        "id": "volume-19",
        "units": 380,
        "fixedCost": 12000,
        "totalCost": 25300,
        "revenue": 36100
      },
      {
        "id": "volume-20",
        "units": 400,
        "fixedCost": 12000,
        "totalCost": 26000,
        "revenue": 38000
      }
    ]
  },
  "calculation": {
    "crossing": "first-observed",
    "domainPadding": 0.1,
    "zeroMaximum": 1
  },
  "layout": {
    "margin": {
      "top": 24,
      "right": 24,
      "bottom": 73,
      "left": 78
    },
    "measureYAxis": true,
    "annotationTextMeasurement": "basic-pairs",
    "axisInkPadding": 12,
    "axisMeasurementNumerals": "proportional-nums",
    "exportTextMeasurement": "glyph-advances",
    "minimumPlotWidth": 40,
    "minimumPlotHeight": 30
  },
  "lines": {
    "revenue": {
      "label": "Ingresos",
      "color": "series.blue",
      "width": 2.5,
      "dash": ""
    },
    "totalCost": {
      "label": "Coste total",
      "color": "series.teal",
      "width": 2.5,
      "dash": ""
    },
    "fixedCost": {
      "label": "Coste fijo",
      "color": "textMuted",
      "width": 1.5,
      "dash": "6,4"
    }
  },
  "zones": {
    "visible": true,
    "profitColor": "series.emerald",
    "profitOpacity": 0.12,
    "lossColor": "series.red",
    "lossOpacity": 0.1
  },
  "crossing": {
    "visible": true,
    "color": "series.amber",
    "radius": 5,
    "stroke": "surface",
    "strokeWidth": 2,
    "lineWidth": 1,
    "dash": "4,3",
    "label": "Punto muerto · {units} uds",
    "fontSize": 11,
    "fontWeight": 600,
    "labelColor": "textPrimary",
    "dx": 8,
    "dy": -10,
    "decimals": 0
  },
  "axes": {
    "xTitle": "Unidades equivalentes en cartera",
    "xTicks": 6,
    "prefix": "",
    "suffix": " €",
    "format": "magnitude-steps",
    "xNice": false,
    "yNice": true
  },
  "legend": {
    "visible": true,
    "exportMeasurement": "basic-pairs"
  },
  "annotations": [
    {
      "id": "threshold",
      "type": "point",
      "rowId": "volume-10",
      "series": "revenue",
      "label": "Equilibrio · 200 uds",
      "marker": "circle",
      "connector": true,
      "labelOffset": [
        -8,
        -26
      ]
    }
  ],
  "interaction": {
    "tooltip": true,
    "legend": true
  },
  "document": {
    "header": {
      "title": "Punto de equilibrio · 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": 940,
      "height": 620
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "breakeven-margin-quality",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
