rules.json Example

Refer to this example of the rules.json file.

The corresponding dashboardOne.json file that uses the above rules files looks like:

When the rules are applied to the dashboard, the chart_1 widget will have a chartType of “pie” and the “pos” will be updated to w=501, y=41, h=121, and x=51. The chart_2 widget will be removed.