0

I am trying to get bar chart as horizontal with vertical line. If there is boundaryGap: false for yAxis then bar chart goes below xAxis.

enter image description here

If I do not remove boundaryGap, then yAxis starts in middle of values. The vertical line starts in half of value.

enter image description here

Is it possible for vertical line to appear touching xAxis while barChart can be with boundary?

Vishnu
  • 2,135
  • 2
  • 30
  • 51

1 Answers1

0

I later realized that it can be achieved using field markLine. The API has all details and can be simply used as:

markLine:{ data:[1,2,3] }

Vishnu
  • 2,135
  • 2
  • 30
  • 51