Widget Index
This feature is only available in ESP-DASH Pro
ESP-DASH Pro provides you with a setIndex
function in both cards and charts to modify the position of them on the dashboard.
card.setIndex(0); // Set your card index
OR
chart.setIndex(0); // Set your chart index
Indexing works in ascending format. The lowest card index will be placed in the front of the list and the highest index will be put in the end. It allows you to set the layout according to your wish.