helgasoft commented on issue #18437: URL: https://github.com/apache/echarts/issues/18437#issuecomment-1529280832
Aah what a beauty, a **model** for problem/feature presentation, great job @maciej-flexcompute ! The new data helped me improve algorithm and code. > But in general case (interval are real numbers) this is not possible to find such interval. Curious on the reason behind this statement. A constant step (interval) is crucial for the algorithm. Please take a look at the couple lines where _smp_ is generated. Could it not work with different data ? > Finally, you can make a restriction that x values are common for both y1 and y2 That may eventually help depending on what comes out of the previous question. But hope this limitation won't be necessary. [Latest Demo](https://echarts.apache.org/examples/en/editor.html?c=themeRiver-basic&code=PTAEBMEMBdNAHATgU3gKAGYFcB2BjaASwHsdQBPAMUWIFsANACnmMJ2gEYAaBV9gJh4APAJSgA3mlCgA5okjhCydqAC8oZn2j8A2hwC6oALS82nPfrFhNZ3QAZDJlmY46HIgNxTQZ5Ijyo0Gqm7K4GxrLyispBAFQh5g5e0ijQWIhkcgpKKvFCoADUPux-AfDQXgC-mLgEJGR4dPCQKAByWLQARn4AzoyQPJ1ikinIaRmgcCadVWggxfBYQQBukAA2WMigPX5KPWg9PcE63ifS0m4AdHbcoBzX-lzeF3aXAKw893YAzI_PoHprrcvm8_ucAfcPndrgAOMHnHT8IGfS4GJ7gxHvYGo37ohHfZHQjigvEXAlQ-4cADs8IuABZCfd-LSAQyKZd-MzSQC3tcUfwSf8dLy3tj-DTuToAGyMy64oUy9nfLlCqmy750lk6NWilHfCVCmF86HfACcWqN7LpaKFptldM1krtVqlWo4rxuKLpcMl7qxKMFGI4XwDKqDkOxb0dQo4SM90LeBqDSN1CfNvoJ8fuUptQfJKKlYYRHAZdgL0aDDME0KlgeLDOtBddvoZUoLSfrlxh7bdvKzlylPpjvOr2fTw8ujehHYuxIHKJnEN53enueLMv7VKLs5l_GxW7dMrpC_lQZlbenFfXXYXV9narL07r945C-bMbVU_uVPfQbVOYXRc9DVGF9yHIMjU3cDiyNUdLipccIMnbFoNnI0L3uVCISNUCUVAt07UfTC11nO09zw7cITtY9oRhSi9DtDCu1PYs7Vw2j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AOQADV1ibGqaASoeIhAAEEhCEB6GUnQ4g8HkHgMgGp49G mVHhOQDpXSyniBad4CJMhSHTNmdIRoaxGY9OqZ0Ce1SeDVLkMgZQOzQDVJQOAI5ez5DkGqfCRBewen_FweCaAAyhnHLWGwZAOyTGgBwJAWhNTyAcC-eCaQUBYBlMOE7bk0hO6QCrs80p5Tcka2DuQMpdhmk8BALfYgxBollOgIgTY0KOYa1YWU9-aw1j_GWecR55xnmDJqe8suwKQW_P-cc8g_A2XgjBZACFKixIwpQHChFry-nIrwKi9FmL-431oLi_FeCiXIBJT0WAeByU_KwFSmlXE8RZHgP4vA9zwR9PmGA_BpBvmMteSc5ABBeXnCZjITWVTQBvDLLa3JZT-DepBRUoQ0AADCpBObsGmRzcgiK-mc2DTUqu5dg5ayOZTKlNTOg0HLjgJpPjaVPMqWGnAlMZBRpYD0YO9QalsEreAT5mLvmkDwO8rVZTsD4CIKQDQ4jeGBtMak4IABCFJaxdHgloOQENmsWjQCbmMAA8nk0gddB0AH4hbwH4KAMpuSu04FiSC6o4Jj2gH0GgSo5MwAarJTnUALKF65O3eoR1M7EDQCVksLelwW2kGQIwPd9Qr5PrTsHCJBSg0euqSGumcCv7wrJXmrwIH2mdJUQ4YIhSXk1JgfTRmVy8SQDQwAFUIG28p6xCAyBwAAdWDprAAMpAboawCWqsbdIToxBcBQHgQAcRNu2zJyAL1PBA7cyexxvD0rtcyj5zqOX2sBc6m95HqkatYUc1TrD4XyFgWi45HtnWwvhTGiVm6UXPPRXKDj5x-UUvQ-e6QtKZPYbefJ7kimAU8u5NpmpGmtOap04S2DBnqlGe5CZ8VUapUytKt8WzoKYACp-UKpzzTSYeCAA), essentially redrawing the lines with new X-values with a fixed step (_smp_). Number of points for each series: original value = 58, new categorical = 100. ![image](https://user-images.githubusercontent.com/13038071/235393636-1690aeac-0683-43ef-bf87-53ef15652539.png) -- 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: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org