{
  "title": {
    "text": "Argentina's budget flipped to surplus in 2024",
    "left": "center",
    "textStyle": { "fontSize": 15, "fontWeight": 600, "color": "#17212b" }
  },
  "tooltip": { "trigger": "axis" },
  "legend": {
    "bottom": 0,
    "data": ["Argentina", "Brazil"]
  },
  "grid": {
    "left": 12,
    "right": 16,
    "top": 52,
    "bottom": 44,
    "containLabel": true
  },
  "xAxis": {
    "type": "category",
    "data": ["2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025", "2026"],
    "axisTick": { "alignWithLabel": true }
  },
  "yAxis": {
    "type": "value",
    "name": "% of GDP",
    "nameLocation": "middle",
    "nameGap": 36
  },
  "series": [
    {
      "name": "Argentina",
      "type": "bar",
      "data": [-6.7, -5.4, -4.4, -8.7, -4.3, -3.8, -5.3, 0.5, -0.4, 0.5],
      "itemStyle": { "color": "#1f4e79" },
      "barMaxWidth": 28
    },
    {
      "name": "Brazil",
      "type": "line",
      "data": [-8.0, -7.0, -4.9, -11.6, -2.6, -4.0, -7.7, -6.2, -8.1, -7.7],
      "smooth": false,
      "symbol": "triangle",
      "symbolSize": 8,
      "lineStyle": { "width": 2, "type": "dashed", "color": "#c47b14" },
      "itemStyle": { "color": "#c47b14" }
    }
  ]
}
