kirchsuSICKAG commented on issue #21784: URL: https://github.com/apache/echarts/issues/21784#issuecomment-6360479739
@helgasoft As some background on our situation: I'm part of a design system team in a large company. We provide chart components that use ECharts as the underlying charting library and apply our own defaults and styling through a custom theme. The challenge for us is that we do not always know how application teams will use these components. In many cases, they simply consume the component and rely on the default behavior that we provide. If the recommendation is to disable highlight/emphasis for large datasets, we essentially have two options: - Disable it by default in our theme. This would prevent users from running into the performance issue, but it would also remove the interaction for the majority of charts where performance is not a concern. Developers would then need to explicitly re-enable it whenever they want the standard ECharts behavior. - Keep the current defaults and document the limitation for large datasets. In that case, however, teams may still only discover the issue once they start working with real-world data. I agree with your observation that repeatedly highlighting large line series is the expensive operation and can negatively impact the user experience. The difficulty for us is that both small and large datasets are common in our domain. For many charts, the default highlight and emphasis behavior works well and provides a good user experience. At the same time, we also have use cases involving sensor data with several thousand values per series, where the same defaults can become problematic. Since we cannot reliably predict which use case downstream applications will have, nor which browser or operating system their customers will use, finding the right default behavior becomes challenging. From my perspective, it would therefore be valuable if the interaction remained as robust as possible across different browser/OS combinations, even for larger datasets. That said, I agree with your analysis that the expensive part appears to be the highlight/downplay path rather than the tooltip itself. -- 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]
