Skip to main content
17-Peridot
June 14, 2022
Solved

Bar Chart Issue

  • June 14, 2022
  • 2 replies
  • 1661 views

While the service is loading Bar chart is showing the word "error" in the place of xaxis values. Once the service passed output to the xaxis values of bar chart, the word "error" is replaced with the xaxis values. 

 

The word error should not be displayed at all. How to fix this ?

Best answer by abjain

@AP_9587236 : This is already being worked upon as part of an enhancement by our R&D team.

2 replies

abjain15-MoonstoneAnswer
15-Moonstone
June 16, 2022

@AP_9587236 : This is already being worked upon as part of an enhancement by our R&D team.

17-Peridot
July 14, 2022

Okay, thanks

15-Moonstone
June 16, 2022
1-Visitor
July 11, 2022

You're accessing ArrayList index that is way out of bounds, because you are trying to use value as an index. You need to find index of value to return it.

You have to override getAxisLabel(), the deprecated method getFormattedValue(float, AxisBase) is never called. Kotlin example: