Override the chart config

The --chart-config-options option can be used to change the chart configuration, as shown in the example below:


    {
        "chart-config": "uat/fusioncharts_chart.js",
            "chart-config-options": {
                "dataSource.chart.subCaption": "FusionExport",
                "dataSource": {
                  "chart": {
                    "theme": "ocean"
                  }
            }
        }
    }

In the above configuration, we are replacing the subheadings of all charts as well as adding a theme to the configuration. Once done, run the following command:


    $ fe -e fusioncharts_config.json
Was this article helpful to you ?