You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to make it so that it completely covers the area above horizontally. This way it will be easy for users to click and select. As it stands, they have to constantly navigate to the side pages with the arrow keys.
Are you willing to contribute? / 是否愿意参与贡献?
✅ Yes / 是
The text was updated successfully, but these errors were encountered:
It seems like you want to modify the legend in antvis/G6 to display more than 3 nodes or edges side by side, allowing it to cover the area horizontally for easier user interaction. Since you are willing to contribute, you might want to look into the configuration options for the legend in G6 or modify the source code to achieve this.
Here's a general approach you can take:
Explore Legend Configuration: Check if there are existing configuration options in G6 that allow you to change the number of items displayed in the legend. This might involve looking into the documentation or source code.
Modify Source Code: If the configuration isn't available, you might need to modify the source code. Look for the part of the code that handles the rendering of the legend and adjust the logic to increase the number of items displayed.
Contribute Back: Since you are willing to contribute, once you have a working solution, consider submitting a pull request to the G6 repository with your changes.
If you need further assistance or specific guidance on where to look in the code, feel free to ask!
🪧 Tips
For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.
Describe the feature / 功能描述
I want to make it so that it completely covers the area above horizontally. This way it will be easy for users to click and select. As it stands, they have to constantly navigate to the side pages with the arrow keys.
Are you willing to contribute? / 是否愿意参与贡献?
✅ Yes / 是
The text was updated successfully, but these errors were encountered: