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 using conditional Paint with a lineSeries the line is drawn over the point unlink happens with the points when not painted with the condition.
Steps to reproduce the behavior:
Create a line series with a condition paint
See line drawn over the chart point.
My line series:
var createdSerie = new LineSeries<GraphStop, StopGeometry>
{
Name = serviceDescriber,
Fill = null,
LineSmoothness = 0,
DataLabelsFormatter = (point) => point.Model.IsStartOfTrip() ? point.Model.Stop.TripDescriber : "",
DataLabelsPosition = DataLabelsPosition.Top,
DataLabelsPaint = new SolidColorPaint(paintingColor, 3),
Stroke = new SolidColorPaint(paintingColor, 1),
GeometryStroke = new SolidColorPaint(paintingColor, 1),
GeometryFill = new SolidColorPaint(SKColors.Black),
GeometrySize = 5,
Values = newServiceStops,
TooltipLabelFormatter = (chartPoint) => $"{"Service: " + serviceDescriber}" + Environment.NewLine +
$"{"TDN: " + chartPoint.Model.Stop.TripDescriber}" +
ConstructArrivalAndDepartureString(chartPoint.Model)
}.WithConditionalPaint(new SolidColorPaint(SKColors.Red, 3)).When((point) => point.Model.PaintNoStabling());
Expected behavior
Normal draw of chart point in top of the line.
Screenshots
Check that when the conditional paint is drawn with red the line overlaps the chart point. What not happens with the others.
Thank you!
The text was updated successfully, but these errors were encountered:
Describe the bug
When using conditional Paint with a lineSeries the line is drawn over the point unlink happens with the points when not painted with the condition.
Steps to reproduce the behavior:
My line series:
var createdSerie = new LineSeries<GraphStop, StopGeometry>
{
Name = serviceDescriber,
Fill = null,
LineSmoothness = 0,
DataLabelsFormatter = (point) => point.Model.IsStartOfTrip() ? point.Model.Stop.TripDescriber : "",
DataLabelsPosition = DataLabelsPosition.Top,
DataLabelsPaint = new SolidColorPaint(paintingColor, 3),
Stroke = new SolidColorPaint(paintingColor, 1),
GeometryStroke = new SolidColorPaint(paintingColor, 1),
GeometryFill = new SolidColorPaint(SKColors.Black),
GeometrySize = 5,
Values = newServiceStops,
TooltipLabelFormatter = (chartPoint) => $"{"Service: " + serviceDescriber}" + Environment.NewLine +
$"{"TDN: " + chartPoint.Model.Stop.TripDescriber}" +
ConstructArrivalAndDepartureString(chartPoint.Model)
}.WithConditionalPaint(new SolidColorPaint(SKColors.Red, 3)).When((point) => point.Model.PaintNoStabling());
Expected behavior
Normal draw of chart point in top of the line.
Screenshots
![image](https://private-user-images.githubusercontent.com/134623223/255663447-5101c07d-e0ac-4c21-9a91-d52f9c47efa8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTg5ODYsIm5iZiI6MTczOTU5ODY4NiwicGF0aCI6Ii8xMzQ2MjMyMjMvMjU1NjYzNDQ3LTUxMDFjMDdkLWUwYWMtNGMyMS05YTkxLWQ1MmY5YzQ3ZWZhOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQwNTUxMjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNmRjZjNjZGZiZGUwYjMwZDExZTQzMWM3MzQxNzUyODZmNzUwM2VlMjFiYzI4NDM4MjU4MTE3ZDRlNWRkMzlhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.Yo5TzdyKW6kiuA6btMrQYJCDCO0TIyHNH1IQjbRE39M)
Check that when the conditional paint is drawn with red the line overlaps the chart point. What not happens with the others.
Thank you!
The text was updated successfully, but these errors were encountered: