{
  "title": {
    "text": "Solar overtook nuclear capacity in 2018",
    "left": 0,
    "textStyle": {
      "fontSize": 16,
      "fontWeight": 600,
      "color": "#17212b"
    }
  },
  "legend": {
    "bottom": 0
  },
  "grid": {
    "left": 72,
    "right": 28,
    "top": 56,
    "bottom": 78
  },
  "tooltip": {
    "trigger": "axis"
  },
  "xAxis": {
    "type": "category",
    "data": [
      "2000",
      "2001",
      "2002",
      "2003",
      "2004",
      "2005",
      "2006",
      "2007",
      "2008",
      "2009",
      "2010",
      "2011",
      "2012",
      "2013",
      "2014",
      "2015",
      "2016",
      "2017",
      "2018",
      "2019",
      "2020",
      "2021",
      "2022",
      "2023",
      "2024",
      "2025"
    ],
    "name": "Year",
    "nameLocation": "middle",
    "nameGap": 32,
    "axisLabel": {
      "interval": 4,
      "showMaxLabel": true,
      "showMinLabel": true
    }
  },
  "yAxis": {
    "type": "value",
    "name": "On-grid capacity (GW)",
    "nameLocation": "middle",
    "nameGap": 52,
    "min": 0
  },
  "series": [
    {
      "name": "Nuclear",
      "type": "line",
      "data": [
        358.462,
        360.322,
        366.68,
        366.526,
        373.805,
        377.974,
        378.599,
        379.783,
        378.602,
        379.948,
        381.693,
        386.418,
        378.877,
        376.877,
        384.795,
        390.281,
        399.108,
        398.759,
        405.238,
        403.692,
        397.526,
        400.862,
        399.511,
        399.148,
        407.344,
        406.908
      ],
      "showSymbol": false,
      "lineStyle": {
        "width": 3,
        "type": "solid",
        "color": "#3F4C7A"
      },
      "itemStyle": {
        "color": "#3F4C7A"
      },
      "markLine": {
        "silent": true,
        "symbol": "none",
        "lineStyle": {
          "type": "dotted",
          "color": "#5C6770"
        },
        "label": {
          "color": "#5C6770",
          "formatter": "Solar first larger"
        },
        "data": [
          {
            "xAxis": "2018"
          }
        ]
      }
    },
    {
      "name": "Solar",
      "type": "line",
      "data": [
        1.176,
        1.27,
        1.544,
        2.237,
        3.305,
        4.78,
        6.325,
        8.745,
        14.98,
        23.248,
        40.998,
        71.973,
        101.881,
        138.389,
        177.251,
        224.712,
        296.278,
        389.42,
        484.303,
        586.473,
        717.039,
        861.294,
        1052.423,
        1415.451,
        1871.603,
        2381.248
      ],
      "showSymbol": false,
      "lineStyle": {
        "width": 3,
        "type": "dashed",
        "color": "#D97706"
      },
      "itemStyle": {
        "color": "#D97706"
      }
    }
  ]
}
