How to redraw gauge view


how to refresh gauge view? I want to change fillcolor of indicator depending on data,

let gaugeView = page.getViewById("gaugeView");
let scale = gaugeView.scales.getItem(0);
let barIndicator = scale.indicators.getItem(0);

after this when I log fillColor of indicator I see its changed but in the view there is still old color,
thats reason why I’m asking for redraw or refresh meybe it needs to redraw?