New issue
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
Anotations not work in stacked bar charts #51
Comments
Can you please provide more information? I would like to see your code what have you tried. |
Finally, annotations appeared in my chart, but they still do not work properly. Here is my code: var options = {
chart: {
height: 200,
type: 'bar',
stacked: true,
},
plotOptions: {
bar: {
horizontal: true,
},
},
series: [{
name: 'Marine Sprite',
data: [44]
},{
name: 'Striking Calf',
data: [53]
},{
name: 'Tank Picture',
data: [12]
},{
name: 'Bucket Slope',
data: [9]
},{
name: 'Reborn Kid',
data: [25]
}],
xaxis: {
categories: ['Usage'],
},
legend: {
show: false
},
annotations: {
xaxis: [ {
x: 100,
borderColor: '#FEB019',
label: {
text: 'limit',
}
}]
}
}
var chart = new ApexCharts(
document.querySelector("#chart"),
options
);
chart.render(); Annotation should be on tick 100. |
Thanks for providing details, the code is helpful to generate the issue on my side as well. I confirm that annotations doesn’t works as expected on horizontal bar charts. Thanks |
@junedchhipa is this still an issue? |
Yes, couldn't work on this issue. Just started working on it, thanks for reminding ;) |
Anotations in stacked bar charts don't show at all
The text was updated successfully, but these errors were encountered: