You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When axis range is 0~1, tooltip display position is wrong.
To Reproduce
Steps to reproduce the behavior:
Project: ViewModelsSamples, In VisualStudio
Open Scatter-Basic-ViewModel.cs
Modify the point values as shown below.
4. Build and Execute WinUISample.exe
5. When you select the Scatter-Basic chart, you can see that the location of the tooltip is wrong.
Expected behavior
The tooltip should be displayed near the point
Screenshots
Desktop (please complete the following information):
OS: Windows 11
Browser : Not used. It's WinUI3 Environment
Additional context
I modified the code temporarily as follows. I hope it's useful.
Project: LiveChartCore
File: ScatterSeries.cs
Method: public override void Measure(Chart chart)
//Changes to correct problems where tooltips are not displayed properly in a range of less than 1
//uwx = uwx < gs ? gs : uwx;
//uwy = uwy < gs ? gs : uwy;
uwx = (uwx > 1) ? (gs + 2) : (uwx < gs ? gs : uwx);
uwy = (uwy > 1) ? (gs + 2) : (uwy < gs ? gs : uwy);
The text was updated successfully, but these errors were encountered:
Describe the bug
When axis range is 0~1, tooltip display position is wrong.
To Reproduce
Steps to reproduce the behavior:
![image](https://user-images.githubusercontent.com/51893532/203191157-cbd524dd-ee0c-4d07-ab16-ef221813620d.png)
4. Build and Execute WinUISample.exe 5. When you select the Scatter-Basic chart, you can see that the location of the tooltip is wrong.Expected behavior
The tooltip should be displayed near the point
Screenshots
![image](https://user-images.githubusercontent.com/51893532/203190392-40271b1c-b77d-4762-b5e0-90a5952b8d3b.png)
Desktop (please complete the following information):
Additional context
I modified the code temporarily as follows. I hope it's useful.
Project: LiveChartCore
File: ScatterSeries.cs
Method: public override void Measure(Chart chart)
The text was updated successfully, but these errors were encountered: