My proposal aims to enhance both user and developer experience by introducing a feature that allows customization of the height property for annotations on the x-axis, similar to the existing width property for annotations on the y-axis.
API Changes
Insert _getXAxisAnnotationHeight at XAxisAnnotations , using the example at YAxisAnnotations
change calc w.globals.gridHeight + anno.offsetY(2x) for this._getYAxisAnnotationWidth(anno)
REMINDER: The changes mentioned above are mere assumptions and empirical knowledge about the tool. I haven't had the opportunity or managed to test the code above. I encountered issues with installing ApexCharts on my machine.
Intended Use Case
As previously mentioned, it's already a feature on the y-axis, so having it on the x-axis as well would be beneficial for creating highlighted areas on the chart.
Summary
My proposal aims to enhance both user and developer experience by introducing a feature that allows customization of the height property for annotations on the x-axis, similar to the existing width property for annotations on the y-axis.
API Changes
_getXAxisAnnotationHeight
atXAxisAnnotations
, using the example atYAxisAnnotations
w.globals.gridHeight + anno.offsetY
(2x) forthis._getYAxisAnnotationWidth(anno)
REMINDER: The changes mentioned above are mere assumptions and empirical knowledge about the tool. I haven't had the opportunity or managed to test the code above. I encountered issues with installing ApexCharts on my machine.
Intended Use Case
As previously mentioned, it's already a feature on the y-axis, so having it on the x-axis as well would be beneficial for creating highlighted areas on the chart.![image](https://github.com/apexcharts/apexcharts.js/assets/51349076/1df276c8-5af6-4ded-9bb9-8d3cf131bd11)