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

Keep improving event docs #1695

Merged
merged 35 commits into from
Nov 10, 2024
Merged

Keep improving event docs #1695

merged 35 commits into from
Nov 10, 2024

Conversation

beto-rodriguez
Copy link
Owner

No description provided.

Added a new using directive for LiveChartsCore.Kernel.Drawing.
Revised descriptions for TooltipFindingStrategy enum members
to clarify comparison logic involving HoverArea in X and Y axes.
Introduced a new enum member ExactMatch to check if the pointer
is inside the drawn shape.
…sest

Updated comments for CompareAllTakeClosest, CompareOnlyXTakeClosest, and CompareOnlyYTakeClosest to clarify behavior on overlap. Added new enum value ExactMatchTakeClosest with explanation of its functionality.
Adds ExactMatchTakeClosest to the series that need it.
The code now assigns the TooltipFindingStrategy to a variable
and checks if it is set to Automatic. If so, it calls
VisibleSeries.GetTooltipFindingStrategy() to determine the
appropriate strategy. This change enhances the flexibility
and adaptability of the tooltip behavior.
This returns a new instance... is not a cast actually...
also renames on views TooltipsFindingStrategy to FindingStrategy
…cesibility

Improve chart methods accessibility
The `TooltipFindingStrategy` property has been renamed to `FindingStrategy` throughout the documentation. The description of the `FindingStrategy` property has been updated to reflect its role in determining the hover area planes (X or Y) that a chart will use to trigger the `HoverArea` instances. The list of available options for the `FindingStrategy` property has been updated and expanded to include `CompareAll`, `CompareOnlyY`, `ExactMatch`, `CompareAllTakeClosest`, `CompareOnlyXTakeClosest`, `CompareOnlyYTakeClosest`, `ExactMatchTakeClosest`, and `Automatic` (default). Updated images and descriptions for each `FindingStrategy` option have been added. Code examples in different frameworks (XAML, Blazor, WinForms) have been updated to use the new `FindingStrategy` property name. The section on customizing the `FindingStrategy` has been updated to reflect the new property name and includes a link to the updated documentation. Minor formatting and grammatical corrections have been made for clarity and consistency.
@beto-rodriguez beto-rodriguez merged commit 5d120f2 into dev Nov 10, 2024
4 checks passed
@beto-rodriguez beto-rodriguez deleted the events branch November 10, 2024 16:22
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