Adjust chart legend

  1. Find the shape name you want to update. See here to find shape names.

  2. Specify chart title under title if necessary

  3. Insert chart legend reltaed settings under settings. For more info please refer to "Chart legend" section on this page [insert link]

  4. Insert data value under data. For more info please refer to this page [insert link].

Before vs After

Template Presentation

JSON Payload

{
  "presentation": {
    "template": "slides_as_template_chart_legend.pptx",
    "export_version": "Pptx2010",
    "slides": [
      {
        "type": "slide",
        "slide_index": 0,
        "shapes": [
          {
            "name": "Chart 14",
            "title": "Average Annual Precipitations",
            "settings": {
              "chartShowLegend": true,
              "chartLegendPosition": "Top",
              "chartLegendFontColor": "255,0,0",
              "isChartLegendBold": true
            }
          }
        ]
      }
    ]
  }
}

Last updated