You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "sakura-flutter (via GitHub)" <gi...@apache.org> on 2025/10/10 06:24:07 UTC

[I] [Bug] markLine 无法固定显示并且会闪动 [echarts]

sakura-flutter opened a new issue, #21308:
URL: https://github.com/apache/echarts/issues/21308

   ### Version
   
   6.0.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=custom-profile&code=G4QwTgBAJiAuIQLwQNoF0DcAoUkbwGEB7AVwDtYkIBGABm1wgGd4xYAVASwFsBTK6gHYAbLVqCArAGYJATgAsIhuAgBjOLwDmRMJ15MqKAOTrYWnQE8AgkYA0EExu1gLAITsPT5lwSOYcKrAWAA76hlgQEADeEGQgfABcDgBSAMoQABK8IMEeqkQANjpJRgDEggBGsqq81EYQAL62EdGx8bwlACJEqiR8FEx5hcUOpRVQwhOq9U0tMXGJDgByRFD6Q0VgJeUSUAAcgvIzzZHz7SUAMpwsvGS8YIP2-ZvbvLQVqoJ7x3Nti0YAcQACgBVCAAWV43EsGxGZSgn0ECJ-pz-HQcwJBsK2o0EACYKlJhHiZlh_AB6ckQAG3e4aCDQ1QAa2gcBAWC8zj0TAAdAAzHQAURAqgAFgAKPnkVSwThEMgQcWcyz2ThkNYADwAlNEWowKiAmLwuHwqCxwBweLxsJEBZBxYxOFR6BAnQAeVmEUgUDCugDUfp1URakUYQVCAEkzNwqOH9ChwXBRTywN6oOLE7Bk2AQOqiNxxTqAFSKuO8gq3TRZiAAWhoWq1_kioZUUBIOdl8qomezaYzSZTuag-cLEBLdDEtC1Nub-BAPOCJCYEuDzebC3RcajUJ5G5Oa4goAKJHRKDVmvsBqNJt49nFV-NVogfuQbY7crIWvsb7gH7Q-7XTho1SIIKySVcD0iMgdG4EACnAkNILUYYcS3aMeWeHRELXBpsMaRCGmnRCHxvZ9kB7FM-wonM8wLYsIDxSciMiXDCOwKUyBlD8IDAW41jAbcC2CcB4iYewck4IM9RUZUXAjdVeA1KgJJ5I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7iCX-kBKE6jN
 FeNViKICgN8p7Dwh0yItx8j33jpBJ62V7B4jaQeJZqz_pmLnG_NAWAGgYCAA
   
   ### Steps to Reproduce
   
   1. 缩小 dataZoom
   2. 拖动 dataZoom,观察 markLine
   
   https://github.com/user-attachments/assets/94b5dc54-ce86-40f0-ae0c-c38e94dc528b
   
   ### Current Behavior
   
   左侧 markLine 不可见时会造成右侧 markLine 闪动。
   另外如何使中间的 markLine 固定显示?
   
   ### Expected Behavior
   
   markLine 不要闪动,中间的 markLine 可以固定显示
   
   <img width="739" height="476" alt="Image" src="https://github.com/user-attachments/assets/672dbabb-c49b-42e3-8817-9170369d9e8c" />
   希望:
   <img width="754" height="469" alt="Image" src="https://github.com/user-attachments/assets/9cedf5a8-5a0c-4642-b327-1c600f4535c3" />
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   ### Any additional comments?
   
   使用的示例是 https://echarts.apache.org/zh/tutorial.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E7%B3%BB%E5%88%97
   只是加上了 markLine 设置,其它没有更改


-- 
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-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] markLine 无法固定显示并且会闪动 [echarts]

Posted by "sakura-flutter (via GitHub)" <gi...@apache.org>.
sakura-flutter commented on issue #21308:
URL: https://github.com/apache/echarts/issues/21308#issuecomment-3392722366

   > > When the left markline is invisible, the right markline will flicker.
   > > Also, how can I make the middle markline fixed?
   > 
   > flicker - add `animation:false` middle fixed - make middle line a custom series, it has [clip](https://echarts.apache.org/en/option.html#series-custom.clip) so it will remain there on zoom
   
   Thank you for your response.
   
   Before:
   
   https://github.com/user-attachments/assets/ab390b6d-0b94-41b9-9bd9-ee49a4f19124
   
   After I added the animation, it worked, but I don't think it was an issue with the animation itself. The problem disappeared after I added the `name` attribute ([Link](https://echarts.apache.org/examples/zh/editor.html?c=custom-profile&code=G4QwTgBAJiAuIQLwQNoF0DcAoUkbwGEB7AVwDtYkIBGABm1wgGd4xYAVASwFsBTK6gHYAbLVqCArAGYJATgAsIhuAgBjOLwDmRMJ15MqKAOTrYWnQE8AgkYA0EExu1gLAITsPT5lwSOYcKrAWAA76hlgQEADeEGQgfABcDgBSAMoQABK8IMEeqkQANjpJRgDEggBGsqq81EYQAL62EdGx8bwlACJEqiR8FEx5hcUOpRVQwhOq9U0tMXGJDgByRFD6Q0VgJeUSUAAcgvIzzZHz7SUAMpwsvGS8YIP2-ZvbvLQVqoJ7x3Nti0YAcQACgBVCAAWV43EsGxGZSgn0ECJ-pz-HQcwJBsK2o0EACYKlJhHiZlh_AB6ckQAG3e4aCDQ1QAa2gcBAWC8zj0TAAdAAzHQAURAqgAFgAKPnkVSwThEMgQcWcyz2ThkNYADwAlNEWowKiAmLwuHwqCxwBweLxsJEBZBxYxOFR6BAnQAeVmEUgUDCugDUfp1URakUYQVCAEkzNwqOH9ChwXBRTywN6oOLE7Bk2AQOqiNxxTqAFSKuO8gq3TRZiAAWhoWq1_kioZUUBIOdl8qomezaYzSZTuag-cLEBLdDEtC1Nub-BAPOCJCYEuDzebC3RcajUJ5G5Oa4goAKJHRKDVmvsBqNJt49nFV-NVogfuQbY7crIWvsb7gH7Q-7XTho1SIIKySVcD0iMgdG4EACnAkNILUYYcS3aMeWeHRELXBpsMaRCGmnRCHxv
 Z9kB7FM-wonM8wLYsIDxSciMiXDCOwKUyBlD8IDAW41jAbcC2CcB4iYewck4IM9RUZUXAjdVeA1KgJJ5I8T3FKcZ0Yc02GU4JOAwogdHTFAVLU3hxWoL81CcSx5M1NBmMPFQ-L0gz8mM8VTP01S4PUvFrNkix7MUxytJUUVeE4TRRUoZAVKYTgAC8LJQWh7GoRyUEyscIFoHlhHCyBeJlVJRRyfhkF4MULV5TQc2CUVOFUDCCk4YIACVqtgVwLC6mVxUQiC1w1JIdNgNL_zwiwxtYCacrrSLotiiAqTxADmwAd04KAsySPjJtrZg5smjbIiWmLYCSC7YoIjbhubUaIGEnNuF5DywCgVILF5DUzogGbnpEt7DOM77eQsf7tt20Ukhe0TQc-8GeWhrN_puq6gde96jKRn6eQxgiWic3jYHbBVBrXErYDKiqIAAMnp3VILjEpqbsPDYBoxLOzIJJjGXCq_H-wXQiSanadCEXQPRBKZcLInIiI3CiGCXmqAg2AjIKWVggQtc7Vg2AzBxDiuK7cV4beqTINJ8msYR2CwCZe5nwdkGNzdowSjdq3eXMlApDQL2GUGGcWJaWZIllWAwOZ5szA1TGjCBVM-U4CsObXCs-WTmoKHuIxI_3OcAC0jO4fmhs5kJ0SMJg2v4rOD3TnX7nBVY6827ImQAMQzk3m7XZciE2zo2Vp4dNqSPk4KNf6tb1iB5DEf6ChACpeAKXuYLgE2SiLnD7prsWHDVRK1iH5tW5Nju1hKbuQD7gfC8ViApsieqdv15sMaSKQxDFxaBqKwGprg_0iNwNUs0LQ3g2kwdQccuYng2iAMBTALgby3hA6-u9jb3BntKdWDo4I2yQnbMACoKKwQ1BpewR4jrjRvDqP0DhQ5GHDs2XCOEgGRGsOgnBc4kiyW5Lw5g9xuRVzXA9SB4AmRXDuDg7OapeAgQsHHGRB5UawwgFIPCLF_qRCEagfRzZNGQQ3CUOohiDwgIETQEQ
 YhJBEgUCIUxBj3HxyQuuc4DgSQ2JGqA8BDjRDiAkCvVxwhPFR28SY2JZjPFrksQ4KQV94l2OCUIUJzjhCRICQefhwSjA0MPvExo-TTiJMekEpgSQslOPCbQPJVS-E1JKCUqp3DYloFMT0yCMS1ys08EuLW3A0k8T4vcQS4tJkCWjP9ICUI1EaNMarEUQFAb5T2HhAZzZbj5Hvl42x_NqD2DxB_JCmydn_WMXON-PSGgYCAA)). I'm not sure if this is actually a problem.
   
   
   middle fixed - It's the same issue as in [#1666](https://github.com/apache/echarts/pull/16026).


-- 
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-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] markLine 无法固定显示并且会闪动 [echarts]

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #21308:
URL: https://github.com/apache/echarts/issues/21308#issuecomment-3391203347

   > When the left markline is invisible, the right markline will flicker.
   > Also, how can I make the middle markline fixed?
   
   flicker - add `animation:false`
   middle fixed - make middle line a custom series, it has [clip](https://echarts.apache.org/en/option.html#series-custom.clip) so it will remain there on zoom


-- 
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-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] markLine 无法固定显示并且会闪动 [echarts]

Posted by "sakura-flutter (via GitHub)" <gi...@apache.org>.
sakura-flutter closed issue #21308: [Bug] markLine 无法固定显示并且会闪动
URL: https://github.com/apache/echarts/issues/21308


-- 
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-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] markLine 无法固定显示并且会闪动 [echarts]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #21308:
URL: https://github.com/apache/echarts/issues/21308#issuecomment-3388469485

   @sakura-flutter It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] markLine cannot be fixed and flickers
   </details>


-- 
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-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org