Search code examples
apexcharts

In bar chart, is it possible to create a bar only marker in the current month (projection)?


I want to create a marker, to make the value projection, but only to the bar of the current month.enter image description here]![enter image description here


Solution

  • To draw shapes on certain values, you can try annotations. Using yaxis.annotations, you will be able to draw text as well as a shape on y-values.

    A complete example of how to use annotations can be found here