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
While using a function as value for "barColor", I have come across people needing arbitrary data(apart from percentage) to decide the color of a bar.
We could add a property in the config, eg: "barColorArgs" which accepts an array of props from the chart config, which will be passed to the function(in addition to percentage).
I will be sending a pull request in a couple of days, will be glad to get some feedback on this.
The text was updated successfully, but these errors were encountered:
While using a function as value for "barColor", I have come across people needing arbitrary data(apart from percentage) to decide the color of a bar.
We could add a property in the config, eg: "barColorArgs" which accepts an array of props from the chart config, which will be passed to the function(in addition to percentage).
I will be sending a pull request in a couple of days, will be glad to get some feedback on this.
The text was updated successfully, but these errors were encountered: