You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "battlebeast01 (via GitHub)" <gi...@apache.org> on 2024/06/13 10:59:20 UTC

[I] [Bug] Wrong label placement of the pictorial bar elements when symbolRepeat and symbolClip is used [echarts]

battlebeast01 opened a new issue, #20028:
URL: https://github.com/apache/echarts/issues/20028

   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=doc-example%2FpictorialBar-symbolSize&reset=1&edit=1&code=G4QwTgBGD2DGDWBTALhAvAKAhA5ABxGQAsAuAejIFkBaAJgBZ6A6AZgE4A2AGkdbbdgAGLsMFN6AdjpM2LAIzT6tKRyYBWObVi0mADjltquprVpyuLEwrlqmEwWwtXqNuw4DOtiWzVc5rXRYuLx8uCVZaNQBhOhZw_V0LNiYObzpedm4M_nTmTJ48_gAvCBpaDjE483oxXWUhEWpLXX0XHTZ6Dia9VrljeQFBRTluMXLaamY1DlGUjkNVDQkiOXCOXXohcTlzfx9aERSJX2Y5QXpD1N9FgwbbWjYFZok_ftXu3Re-1lWACToKqwJHISmU1MwJPRfN8fHJYC4ZI4hpYKkF_KkuijBEFLJDNsIdIJ1n4UponHinKjyYxYHsWiJKYIJuiJNwsRNcYwAMp0NQ6Y5fYyw3kQqGvGQaUG82x88w6Uy6YDUWwOXQrcRM4DMTgCdHYklmIK2DrmFXzMIyQS7HRqIgucKCaIA_xxILhV288IMXyWNRqXTS9RmLjy2i6IplDgql7ZQaNRYSKQQszUBNSOTMXScITKmRKYJ2DrUd2RAveejFiJqdyVWQW-j0yxmXZeQS6GLlGXsHj-TqGTtMQQxwr9qOD4d8NhSyI6FhZWw2AA2CNWXX8pgAMiK7FmeLpl73PpNB_MD4ODCGmDsOGeGwHmuUiMYiRItzPWPOr2oijgANwYaA8GQABLaAADt0AgABvLAIFgaBF2gMASAgABtHAAGIACMsMEPD6BwLhcAwgAxEiABEGwAQRwABdLhYMXRAAHNEDAgATFCYOwbB2MIEAUP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IDpAptd64JIw
 dI7B4B9EMNgrRf89VKpRDgWAWh8VkAAHln4XyOqzCaIA8BEBEihQCe8wJMHMn5JgHMQBMFkssi-29d7UwgBfDqiBZIADkXoY1yhxRApkb58xyipZAqMwAQTeXjU6503oTTpngAJoVyaU02ShWSozxm0PgmBYAGlkD-WgAABXUTJC-OAJpTSUqhPKTNTJEXsLRK-pMeKwFWYudimlBJ-15vSni_zjYFVMopcleM5obRwOUjSoKeZiSRrgBqi8mL8rxu4U6TE6r8xOs8jaj816bPcPip5plaJMAAFbQDyligAOmBHAZLGWhTUYuYqxEcJ4XOPQ2Vk8OU5RhptK0jKx78wnjzWerNDJXzKstKCfVgJMXylrYasEr7_nKlMwK8k6bIBOTvUS5zr63wPuxI-K8lUb2vsMiA0KxngFoeBLFqM8Ac00UpNNGan7KojRgYyzrBARqAA
   
   ### Steps to Reproduce
   
   1. Use a pictorial-bar series.
   2. Set symbolRepeat and SymbolClip to true.
   
   ### Current Behavior
   
   Currently there is a gap between the clipped pictorial bar element and the label. ( as seen in the example the value 32 sits above the value 35 on the Y Axis.)
   
   ### Expected Behavior
   
   The label should be positioned right above the clipped pictorial-bar element, there shouldn't be any unnecessary gap between the pictorial-bar element and the label (32 in the case of the above example.). It should behave exactly the same way as the regular bar chart.
   
   ### Environment
   
   ```markdown
   - OS:Ubuntu 22.04
   - Browser:Google Chrome
   - Framework:Vue 2.6.14
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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] Wrong label placement of the pictorial bar elements when symbolRepeat and symbolClip is used [echarts]

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

   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


-- 
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] Wrong label placement of the pictorial bar elements when symbolRepeat and symbolClip is used [echarts]

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

   Maybe you can try this method. Check the official documentation and we can find the location setting of the label.
   ![image](https://github.com/apache/echarts/assets/141796004/36fd697e-33b1-40a5-8a10-1111bb8f79c2)
   
   You can change the distance between the label and the graphic bar element by setting the label's position.Use relative percentage, or absolute pixel values to represent position of label relative to top-left corner of bounding box.
   You can set it uniformly or set it one by one. The effect after setting is as follows
   ![image](https://github.com/apache/echarts/assets/141796004/a9ee7811-5fad-45ff-86ad-f2e0423565f2)
   
   


-- 
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] Wrong label placement of the pictorial bar elements when symbolRepeat and symbolClip is used [echarts]

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

   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


-- 
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] Wrong label placement of the pictorial bar elements when symbolRepeat and symbolClip is used [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #20028: [Bug] Wrong label placement of the pictorial bar elements when symbolRepeat and symbolClip is used
URL: https://github.com/apache/echarts/issues/20028


-- 
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