In the meter chart, what is the logic to set different region dynamically rather hard coding the regions. Any samples would be great