pissang commented on issue #16666: URL: https://github.com/apache/echarts/issues/16666#issuecomment-1071987351
There are several unexpected issues here: 1. The `xAxis` is a time axis. And when calculating the start point of bar. We usually starts with `0` value. Like https://github.com/apache/echarts/blob/master/src/layout/barGrid.ts#L606 did. But `0` is not a quite valid value in the time axis. So it cause a very weried shape: ```ts { "x": -9730657.766666668, "y": 247.11, "width": 9730721.866666667, "height": 111.78 } ``` 2. Even if the calculated rect shape is quite unexpected. We can still render it normally in most cases after clipped in https://github.com/apache/echarts/blob/master/src/chart/bar/BarView.ts#L691 . And there may be a precision issue when do clipping calculation which cause the bar is totoally clipped and marked to be ignore -- 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]
