bgmeinder commented on issue #18252: URL: https://github.com/apache/echarts/issues/18252#issuecomment-1470880523
@helgasoft Version 4 had the behavior. Version 5 added new intervals for Year/Month. Look at my demo above. The X axis looks terrible. Look at your demo. It's 4 day intervals, then suddenly the 1st is there after 2 days. Update your demo to be a 3 month span, and yyyy/MM/dd format and you suddenly see why it's a problem. splitNumber doesn't fix that. "Note that this number serves only as a recommendation, and the true segments may be adjusted based on readability." MinInterval seems like it might help, but it's unclear what that number should be. Milliseconds? Even so, adding that didn't change my demo. Think about a use case of previous 90 days. You don't care if it's the first of the of month or the year. The goal of the feature request is to not add arbitrary ticks, or make them something like a minorTick that can be hidden. That if I have a previous 60 days timespan, and echarts determines that interval to be 7 days, it's always 7 days. Not, 7 days, 1st of the month, 7 days from that. -- 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]
