MatthiasMert commented on issue #20770: URL: https://github.com/apache/echarts/issues/20770#issuecomment-2670691528
You can pass a function to [axis.min / axis.max](https://echarts.apache.org/en/option.html#yAxis.max) and compute the axis boundary values from the min and max in your data. [Example ](https://echarts.apache.org/examples/zh/editor.html?c=line-smooth&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnxFUpMpRqyAbowA2Srz8sAC2jBhEABR-gVQAlAgAfMQe6PQweGBhjBysEHCIAAwAdACMANwh6ZnZIMAA7lQcCLASzNol9Q1RZUU8bR0lAGb-wJxR7WCdY6x9MQFKJeEY8YkAtLBl8VVpsBxUYAoccFOd9FQQ_lELccsRsABUsL2wANQ5eQVrsAD0sN1molnoCOLtSA4QqECtFYkpEvAUu40hloFlPvlCrBSpVqrBUejQa0zl1Gr1-oNpiMxhMSbN5nCqPdVhstjs8QcjidKZ1RuMODdGcsCk8XmVYJtwl9oD9_qDgQDGs1weg7PZHLA8M0IFRCLBRCFkR4hGARPqABwAJgpAE4AMyWgY2oplJ12gAsAzKludXrtdopZQdRWsGo8FGodH8BWUYdIeFC42mRDAHCUITV6FsdgqQA) -- 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]
