You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wanting to display a value on my data labels that is different from the charted data. So I made a collection that matches the x-axis labels that I wanted to pull from given the index value.
Discussed there is an "opts" parameter that seems to be what I want. However, I am getting an error when I attempt to use it. Is this not supported? Or am I doing something incorrectly?
I'm on Rails 5.1.6. Relevant gems installed: apexcharts, functionable-json
I am wanting to display a value on my data labels that is different from the charted data. So I made a collection that matches the x-axis labels that I wanted to pull from given the index value.
I found this documentation here for the "formatter": Apex Charts Data Labels Documentation
Discussed there is an "opts" parameter that seems to be what I want. However, I am getting an error when I attempt to use it. Is this not supported? Or am I doing something incorrectly?
I'm on Rails 5.1.6. Relevant gems installed: apexcharts, functionable-json
Error:
undefined local variable or method `opts' for #<#Class:0x00007faab8427b50:0x00007faaa9cfb588>
The text was updated successfully, but these errors were encountered: