Skip to content

Fix RectangleHoverArea IsPointerOver - #2166

Closed
mou-haz wants to merge 1 commit into
Live-Charts:masterfrom
mou-haz:fix_tooltip
Closed

mou-haz wants to merge 1 commit into
Live-Charts:masterfrom
mou-haz:fix_tooltip

Conversation

@mou-haz

@mou-haz mou-haz commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Fix #2165
IsPointerOver support situations when Width/Height is less than 0.

@github-actions

Copy link
Copy Markdown

Benchmark delta — ✅ 2 improvements, no regressions

Show details

Base: master — Head: 8b844ef
Thresholds: 🔴 > +10% slower, 🟢 > -10% faster. Numbers on GitHub-hosted runners are noisy — treat double-digit deltas on non-trivial benchmarks as signal, single-digit as noise.

Benchmark Base (ms) Head (ms) Δ Alloc base Alloc head
BoxSeriesBench.Reinvalidate 12.251 11.957 -2.4% 631.4 KB 631.4 KB
BoxSeriesBench.UpdateOnePoint 12.126 12.013 -0.9% 631.5 KB 631.5 KB
CandlesticksSeriesBench.Reinvalidate 11.066 11.082 +0.1% 657.3 KB 657.3 KB
CandlesticksSeriesBench.UpdateOnePoint 11.162 11.128 -0.3% 657.5 KB 657.5 KB
ColumnSeriesBench.Reinvalidate 5.197 5.529 +6.4% 524.5 KB 524.5 KB
ColumnSeriesBench.UpdateOnePoint 5.181 5.540 +6.9% 518.3 KB 518.3 KB
HeatSeriesBench.Reinvalidate 2.754 2.742 -0.5% 502.4 KB 502.4 KB
HeatSeriesBench.UpdateOnePoint 2.743 2.749 +0.2% 502.4 KB 502.4 KB
LineSeriesBench.FirstRender(PointCount: 1000) 19.731 19.346 -2.0% 3.2 MB 3.9 MB
LineSeriesBench.FirstRender(PointCount: 10000) 189.832 192.273 +1.3% 27.5 MB 27.5 MB
LineSeriesBench.Reinvalidate(PointCount: 1000) 16.686 16.541 -0.9% 801.1 KB 801.2 KB
LineSeriesBench.Reinvalidate(PointCount: 10000) 163.564 156.024 -4.6% 4.0 MB 4.0 MB
LineSeriesBench.ToggleNullGap(PointCount: 1000) 16.581 16.721 +0.8% 849.7 KB 849.7 KB
LineSeriesBench.ToggleNullGap(PointCount: 10000) 174.600 156.257 🟢 -10.5% 4.4 MB 4.4 MB
LineSeriesBench.UpdateOnePoint(PointCount: 1000) 16.771 16.471 -1.8% 801.2 KB 801.2 KB
LineSeriesBench.UpdateOnePoint(PointCount: 10000) 168.824 153.062 -9.3% 4.0 MB 4.0 MB
PieSeriesBench.Reinvalidate 1.055 0.917 🟢 -13.1% 96.6 KB 96.6 KB
PieSeriesBench.UpdateOnePoint 0.974 0.969 -0.5% 96.6 KB 96.6 KB
PolarLineSeriesBench.Reinvalidate 15.777 14.295 -9.4% 637.6 KB 637.6 KB
PolarLineSeriesBench.UpdateOnePoint 14.526 14.395 -0.9% 637.6 KB 637.6 KB
ScatterSeriesBench.Reinvalidate 5.832 5.826 -0.1% 528.0 KB 528.0 KB
ScatterSeriesBench.UpdateOnePoint 5.853 5.732 -2.1% 521.8 KB 521.8 KB
StackedAreaSeriesBench.Reinvalidate 5.239 4.873 -7.0% 1.7 MB 1.7 MB
StackedAreaSeriesBench.UpdateOnePoint 5.485 5.278 -3.8% 1.7 MB 1.7 MB
StepLineSeriesBench.Reinvalidate 16.257 15.981 -1.7% 722.8 KB 722.8 KB
StepLineSeriesBench.ToggleNullGap 16.335 16.252 -0.5% 771.2 KB 771.2 KB
StepLineSeriesBench.UpdateOnePoint 16.499 15.888 -3.7% 722.8 KB 722.8 KB

@github-actions

github-actions Bot commented Apr 25, 2026 •

Copy link
Copy Markdown

Thanks for your contribution!

Build summary for run #339.

Packing ✅

Download the NuGet packages for this build here (dev-339). Available for 30 days — you can either use them directly or wait for this PR to be merged to have them published to NuGet.org.

Core & Snapshot Tests ✅

Core ✅ | Snapshot ✅

UI Tests ✅

Windows ✅ | Linux ✅ | Mac ✅ | Browser ✅ | Android ✅ | iOS ✅

Code Coverage 📈

Line Coverage
Before 80.3%
After 80.4%
Delta +.1%

pull Bot pushed a commit to Mu-L/LiveCharts2 that referenced this pull request Apr 25, 2026
The LiveCharts workflow's report-progress-starting / after-*-tests jobs
called the issues API to create/update a PR comment. On fork PRs the
GITHUB_TOKEN is forced read-only by GitHub regardless of the workflow's
declared permissions, so those steps 403'd and the failure cascaded into
pack/test-* being skipped (Live-Charts#2166).

Move all PR commenting into a new pr-comment.yml workflow triggered on
workflow_run completed. That workflow runs in the base repo's context,
gets full write permissions, and posts a single consolidated comment by
reading job conclusions and artifacts from the upstream run. The PR
number is resolved via the head SHA so fork PRs work the same as
same-repo ones.

Trade-off: contributors no longer see staged "starting / Section 1 /
Section 2" updates; they get one comment after the whole run finishes.
Live status is still visible via the Actions check list on the PR.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
pull Bot pushed a commit to Mu-L/LiveCharts2 that referenced this pull request Apr 25, 2026
The benchmarks workflow was still calling .github/actions/comment-progress,
which was removed in the workflow_run refactor — runs failed with
"Can't find 'action.yml'". Move comment posting to pr-comment.yml so the
benchmarks job stops trying to comment from the fork-restricted context.

Also replace listPullRequestsAssociatedWithCommit (returns [] for open PR
head SHAs not reachable from the default branch) with pulls.list keyed on
head_repository.owner:head_branch, which works for both same-repo and
fork PRs. PR Live-Charts#2166's run silently no-op'd because of this.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@beto-rodriguez

Copy link
Copy Markdown
Collaborator

Thanks for the PR, I will close this, but your changes were merged in #2183

@mou-haz

mou-haz commented Apr 28, 2026

Copy link
Copy Markdown
Contributor Author

Ok, Thank you.

@mou-haz
mou-haz deleted the fix_tooltip branch April 28, 2026 21:41
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.

Tooltip is not consistent in some scenarios.

2 participants