-
Notifications
You must be signed in to change notification settings - Fork 8
Improvement/artesca 16534 chart axis issues #991
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
Improvement/artesca 16534 chart axis issues #991
Conversation
… the starting point and legend Improve sorting for symmetrical chart: avoid missing separator when below values is 0 display <0.01 in tooltip when values are too small Fix issue with inconsistent tooltip display when switching for one chart to another: multiple chart tooltip coud be displayed, so add a check on which chart is active and only display tooltip for this chart
Hello jeanmarcmilletscality,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
…art.tsx is now focused on chart rendering, logic has been moved to 2 hook files: useChrtdata and useChartHover, and tooltip has its own file Issue with inconsistent tooltip on hover was not fixed with previous commit: change logic so Tooltip is checking on render which chart is the hovered one
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
- Improve rounding logic - Improve tick formatting by using ISO formatting fn
…ent to use formatISONumber utility. Update logic to handle large, normal, small, and very small values with appropriate notation.
… cases with all zero values. Set topValue and topDomain to 1 for better representation.
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
- Utilize useMemo for colorSet calculation to optimize rendering - Implement useCallback for tickFormatter to enhance performance - Clean up conditional rendering logic for loading and error states - Update getTicks function signature for clarity - Fix typo in parameter name in normalizeChartDataWithUnits function
… and simplify tooltip hover logic. Update related types and components for consistency.
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
| onMouseEnter={() => setHoveredValue(label)} | ||
| onMouseLeave={() => setHoveredValue(undefined)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Line components previously had onMouseEnter/onMouseLeave handlers that updated hoveredValue state, which was used to highlight the corresponding item in the
tooltip (via isHovered prop on ChartTooltipItem). This appears to have been removed. Was this intentional, or should the hover highlighting be preserved?
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
… thzt became unnecessary after simplification of useChartHover
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
|
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
|
I have successfully merged the changeset of this pull request
Please check the status of the associated issue ARTESCA-16534. Goodbye jeanmarcmilletscality. |
No description provided.