Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Improvement Suggestion for the xAxis of the Issues Tooltip Chart #762

Closed
HalloMelon opened this issue Nov 28, 2023 · 4 comments · Fixed by #792
Closed

[Feature] Improvement Suggestion for the xAxis of the Issues Tooltip Chart #762

HalloMelon opened this issue Nov 28, 2023 · 4 comments · Fixed by #792
Assignees
Labels
kind/enhancement Category issues or prs related to enhancement.
Milestone

Comments

@HalloMelon
Copy link
Collaborator

Description

I would like to propose some enhancements for the xAxis of the issues tooltip chart. Currently, it is not as clear and user-friendly as it could be. The first time I saw the chart,I cannot understand the meaning of xAxis so quickly. So the text on the xAxis could be easier to read.

For examples:
In this repo ( its url as follow: https://github.com/hypertrons/hypertrons-crx ), perhaps it would be better to only display the numerical values of the years on the xAxis within this time range,.

a026709a10ec0ce0c26e22eb8881fd2

In this repo ( its url as follow: https://github.com/X-lab2017/open-research ),within this time range, I think this presentation format is more reasonable.

4378edf3d0d108ec1e5796cd6d78583

@HalloMelon HalloMelon added the kind/feature Category issues or prs related to feature request. label Nov 28, 2023
@wxharry
Copy link
Collaborator

wxharry commented Nov 28, 2023

Thank you for the advice. Actually, we had the same conversation to improve the display of year in the biweekly meeting last week. Your solution also looks good to me (didn't look into the code for now). What do you think? @tyn1998

@wxharry wxharry added kind/enhancement Category issues or prs related to enhancement. and removed kind/feature Category issues or prs related to feature request. labels Nov 28, 2023
@tyn1998
Copy link
Member

tyn1998 commented Apr 9, 2024

image

Hello @HalloMelon, the issue can be resolved by combining xAxis.minInterval and xAxis.axisLabel.formatter.

@wangyantong2000
Copy link
Collaborator

wangyantong2000 commented Apr 22, 2024

@HalloMelon's question is mainly about explaining the meanings of the x-axis and y-axis. Now I have an idea to mimic this feature:the setting interface of the Hypercrx plugin.
The link in Chrome: chrome-extension://inlecjdnpbciaembmkojceckffmmlllb/options.html or the link in Edge: extension://lbbajaehiibofpconjgdjonmkidpcome/options.html.
image
Add a small component next to the chart title to trigger the display of the meanings of the x-axis and y-axis. If this is feasible, @HalloMelon do you have any specific ideas on implementation details?

@HalloMelon
Copy link
Collaborator Author

I think we need to state two things in the tips box: the first is that the vertical axis represents the increment rather than the total for each period, and the second is that the horizontal axis represents the time at which the user can resize the interval by scrolling with the mouse.

So the following example is a possible representation:the vertical axis represents the increments for each time period; the horizontal axis represents the time; the horizontal axis intervals are resized by scrolling with the mouse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Category issues or prs related to enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants