Hey, is there a way to set a dynamic value to the arrow property of the angular gauge chart.
I want to fire a query and display the result of that query in the ARROW Value field.
Hello!
Yes, you can set the value to the arrow, but you should repaint the chart:
@Inject
private AngularGaugeChart gaugeChart;
@Subscribe
public void onAfterShow(AfterShowEvent event) {
GaugeArrow arrow = gaugeChart.getArrows().get(0);
arrow.setValue(69D);
gaugeChart.repaint();
}
1 Like