waijune118 commented on issue #20552:
URL: https://github.com/apache/echarts/issues/20552#issuecomment-2510960139

   Hi Helgasoft, the bar chart is intended to display 2 series on a single 
point of time (e.g. 12:00 a.m. every day). The problems of the chart are the 
bar width is inappropriate and the x-axis does not show the defined timeframe 
(from "2024-11-21" to  "2024-11-28").   
   
   For your information, I have tried to set the barWidth to "_x%_" in order to 
achieve the "_Appropriate width_" in this case. However, if the barWidth is set 
to "3%", when the chart is set with shorter period (e.g. from "2024-11-21" to  
"2024-11-25") , the bars will be too slim.  (https://tinyurl.com/3wwjrak7)
   
   On the other hand, when the chart is set with larger period (e.g. from 
"2024-11-21" to  "2024-12-31"), the bars will span accross other dates too.  In 
this URL (https://tinyurl.com/5c3tmer5), the data on  "2024-11-22" still spans 
to  "2024-11-21" and  "2024-11-23". 
   
   Moreover, when the chart has no missing data, the barWidth with "3%" will be 
too slim. (https://tinyurl.com/ycyjd9uu) 
   
   The bar width should be _adaptive_ and the x-axis period should always show 
the defined min and max value.


-- 
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