Chart styling

  • Specify the chart title under title if necessary.

  • Under settings, you can:

    • Insert chart legend related settings (see Adjust chart legend section).

    • Insert desired font under chartFont and font size under chartFontSize.

Reference:

Download: input.zip | output.pptx


{
  "presentation": {
    "template": "template.pptx",
    "slides": [
      {
        "slide_index": 0,
        "shapes": [
          {
            "name": "Chart 1",
            "title": "Average Annual Precipitations",
            "settings": {
              "chartShowLegend": true,
              "chartLegendPosition": "Top",
              "chartLegendFontColor": "255,0,0",
              "isChartLegendBold": true,
              "chartFont": "Trebuchet MS",
              "chartFontSize": 20
            }
          }
        ]
      }
    ]
  }
}

Last updated

Was this helpful?