Adjust chart legend

  1. Select the shape by name you want to modify. 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 chart

  4. Insert data value under data. For more info please refer to this page chart.

Reference: chart

Download: input.zip | output.pptx


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

Last updated

Was this helpful?