cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Bar Chart Issue

AP_9587236
17-Peridot

Bar Chart Issue

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 ?

ACCEPTED SOLUTION

Accepted Solutions
abjain
15-Moonstone
(To:AP_9587236)

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

View solution in original post

5 REPLIES 5
abjain
15-Moonstone
(To:AP_9587236)

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

AP_9587236
17-Peridot
(To:abjain)

Okay, thanks

abjain
15-Moonstone
(To:AP_9587236)

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:

AP_9587236
17-Peridot
(To:abjain)

Thanks

Announcements


Top Tags