Insert data
Select the shape by
nameyou want to modify. See here to find shape names.Specify chart title under
titleif necessaryUnder
data:The first array contains the array of series labels e.g. North in below example
The second array contains the list of categories e.g. January in below example
The third array contains the series values in order for first category e.g. North in January followed by South in January and so on in below example
The forth array contains the series values in order for second category e.g. North in February followed by South in February and so on in below example
Continue inserting data in array
Reference:
Download: input.zip | output.pptx


{
  "presentation": {
    "template": "template.pptx",
    "slides": [
      {
        "slide_index": 0,
        "shapes": [
          {
            "name": "Chart 1",
            "title": "Average Annual Precipitations",
            "data": [
              [
                "North",
                "South",
                "East",
                "West"
              ],
              [
                "January",
                "February",
                "March"
              ],
              [
                11,
                15,
                4,
                7
              ],
              [
                25,
                60,
                77,
                30
              ],
              [
                40,
                50,
                65,
                44
              ]
            ]
          }
        ]
      }
    ]
  }
}Last updated
Was this helpful?