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

AG-13306 Migrate SeriesAreaManager to widgets/ framework #2956

Draft
wants to merge 28 commits into
base: latest
Choose a base branch
from

Conversation

@olegat olegat added the blocked label Nov 11, 2024
@olegat olegat force-pushed the AG-13306/seriesAreaManager_widgets branch 4 times, most recently from a1b8965 to d27f2b7 Compare November 14, 2024 11:48
@olegat olegat removed the blocked label Nov 14, 2024
@olegat olegat force-pushed the AG-13306/seriesAreaManager_widgets branch 3 times, most recently from 3f6ac1b to 1a37906 Compare November 15, 2024 09:44
Copy link
Contributor

Snapshots automatically updated, please review before merge: diff

1 similar comment
Copy link
Contributor

Snapshots automatically updated, please review before merge: diff

@olegat olegat force-pushed the AG-13306/seriesAreaManager_widgets branch 2 times, most recently from 50851ec to ed89205 Compare November 15, 2024 13:17
Copy link
Contributor

Snapshots automatically updated, please review before merge: diff

1 similar comment
Copy link
Contributor

Snapshots automatically updated, please review before merge: diff

This fixes a bug where creating an annotation by clicking on a financial chart
would delete the annotation when lifting the mouse button because both the
'drag-start' and 'click' events would get dispatched to annotations.ts.
These are relative to the sourceEvent.target but these offsets are being used as
if they were relative to the series regions x/y position. Therefore, replace
these properties with more explicit regionXY properties that calculated using
the same technique as canvasXY.
The actual 'hover' logic is highlighting the datum immediately to the left of
the expected datum by a fraction of a pixel. I think that we can live with that.
We need to make sure that we click on the series-area HTML element. Therefore,
change the click coords.
Copy link
Contributor

Snapshots automatically updated, please review before merge: diff

@olegat olegat force-pushed the AG-13306/seriesAreaManager_widgets branch from 3bfa639 to 472c567 Compare November 15, 2024 15:59
Copy link
Contributor

Snapshots automatically updated, please review before merge: diff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant