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
To build a water fall chart with a range chart, I want to use different colors for the values and total.
Add color attribute for a datapoint/datarange. e.g.:
series: [ { data: [ { x: 'Team A', y: [0, 5], color: ['#CECECE'] }, { x: 'Team B', y: [5, 7], color: ['#CECECE'] }, { x: 'Team C', y: [7, 8], color: ['#CECECE'] }, {x: 'Total', y:[0,8], color:'#FFFFFF'} ], }, ]
How it's looking now
var options = { series: [ { data: [ { x: 'Team A', y: [0, 5], color: ['#CECECE'] }, { x: 'Team B', y: [5, 7], color: ['#CECECE'] }, { x: 'Team C', y: [7, 8], color: ['#CECECE'] }, {x: 'Total', y:[0,8], color:'#FFFFFF'} ], }, ], chart: { type: 'rangeBar', height: 350, }, plotOptions: { bar: { horizontal: false, }, }, dataLabels: { enabled: true, }, }; var chart = new ApexCharts(document.querySelector('#chart'), options); chart.render();
And how it should looks like
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
To build a water fall chart with a range chart, I want to use different colors for the values and total.
API Changes
Add color attribute for a datapoint/datarange. e.g.:
Intended Use Case
How it's looking now
And how it should looks like
The text was updated successfully, but these errors were encountered: