helgasoft commented on issue #18370:
URL: https://github.com/apache/echarts/issues/18370#issuecomment-1464860735

   not-a-bug
   Current Behavior does not contradict and Expected Behavior does not match 
the documentation.
   I think the title here should be changed from [Bug] to "[Feature] make 
candlestick behave like bar chart respecting _candlestick.barWidth_ when xAxis 
is type time".
   
   The problem is that 
[candlestick.barWidth](https://echarts.apache.org/en/option.html#series-candlestick.barWidth)
 is not taken into account in xAxis, as 
[bar.barWidth](https://echarts.apache.org/en/option.html#series-bar.barWidth) 
is. This is illustrated, as you said, by "candlestick first candle is 
overflowing outside of the left edge".
   A humble workaround is to add ```barCategoryGap: '90%'``` to the volume 
serie. Vertical alignment will be practically fixed, but volume bars will look 
anorexic.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to