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
A subsequent change of the Fill for single columns in a column series by means of OnPointMeasured() does not adapt the Fill of the icon in the associated tooltip.
Code excerpt
var series = new ColumnSeries<int>
{
Values = input.Select(x => x.Rank),
XToolTipLabelFormatter = (chartPoint) => $"TooltipText...",
IsVisibleAtLegend = false
}.OnPointMeasured(point =>
{
if (point.Coordinate.PrimaryValue == 1)
point.Visual!.Fill = new SolidColorPaint(new SKColor(0, 128, 0));
if (point.Coordinate.PrimaryValue == 2)
point.Visual!.Fill = new SolidColorPaint(new SKColor(255, 255, 0));
if (point.Coordinate.PrimaryValue == 3)
point.Visual!.Fill = new SolidColorPaint(new SKColor(255, 128, 0));
if (point.Coordinate.PrimaryValue == 4)
point.Visual!.Fill = new SolidColorPaint(new SKColor(255, 0, 0));
});
To Reproduce
Steps to reproduce the behavior:
Create a column series and adapte the Fill of the columns based on their value => The Fill of the icon in the tooltip has a different color than the associated column
Expected behavior
An adaption of a columns Fill via OnPointMeasured() should also adapt the color of the associated tooltip icon, i.e. the color of the icon in the tooltip is defined per column and may differ within a series.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows 10, Version 22H2
Browser --> Not applicable; WPF app
Version: LiveChartsCore 2.0.0-rc1.2, LiveChartsCore.SkiaSharpView.WPF 2.0.0-rc1.2
Framework: .NET 7.0
Smartphone (please complete the following information):
--> NA
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
A subsequent change of the Fill for single columns in a column series by means of OnPointMeasured() does not adapt the Fill of the icon in the associated tooltip.
Code excerpt
To Reproduce
Steps to reproduce the behavior:
Create a column series and adapte the Fill of the columns based on their value => The Fill of the icon in the tooltip has a different color than the associated column
Expected behavior
An adaption of a columns Fill via OnPointMeasured() should also adapt the color of the associated tooltip icon, i.e. the color of the icon in the tooltip is defined per column and may differ within a series.
Screenshots
![grafik](https://private-user-images.githubusercontent.com/118933349/278674836-5c1e4173-73d2-414e-96a5-ec8b6ad3d9b3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTgxMzAsIm5iZiI6MTczOTU5NzgzMCwicGF0aCI6Ii8xMTg5MzMzNDkvMjc4Njc0ODM2LTVjMWU0MTczLTczZDItNDE0ZS05NmE1LWVjOGI2YWQzZDliMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQwNTM3MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00MDUwYTAxMzlhMjRlZDc1MGZlZTZmNmE1ODRiMDcxMDI5ODA3NGI2ZmE1YjIxMjMyZDZhYTYwOGEwZDI1ZTE4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.WsX0xx40bUQr-fR4Vr1id3nJZA2eDt4J8PXjDqIpMsM)
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows 10, Version 22H2
Browser --> Not applicable; WPF app
Version: LiveChartsCore 2.0.0-rc1.2, LiveChartsCore.SkiaSharpView.WPF 2.0.0-rc1.2
Framework: .NET 7.0
Smartphone (please complete the following information):
--> NA
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: