We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-series color support for stroke in bar charts
Similar to a functional support provided for colors (ref: link) need to utilize the same for applying stroke colors via a function.
Requirement:
For 2nd series, I need to apply border colors to the paths/bar based on values driven on y-axis
Usage:
Have been trying this code for the same. (seriesIndex & value is required to apply the logic)
stroke: { show: true, width: 2, colors: [ function ({ value, seriesIndex, w }) { if (seriesIndex == 1) value < 3.6 ? "#54A0FF" : "#FFC759"; }, ], dashArray: 0, }
Package versions used
"apexcharts": "3.45.2", "react-apexcharts": "^1.4.1", "react": "^17.0.2",
Discussions:
Older ref-2813
The text was updated successfully, but these errors were encountered:
fixed with #4374
Sorry, something went wrong.
No branches or pull requests
Summary
Multi-series color support for stroke in bar charts
Intended Use Case
Similar to a functional support provided for colors (ref: link) need to utilize the same for applying stroke colors via a function.
Requirement:
Usage:
Discussions:
The text was updated successfully, but these errors were encountered: