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
The first different is the black background. I would have expected white like Windows or Linux. The bug is the rendering is not working as expected when Catalyst output is used. It works with MacOS/Skia. See screenshot below:
To Reproduce
1- Create a new Uno Project using the latest version (Single Project).
public ISeries[] Series { get; set; } =
{
new LineSeries
{
Values = new ObservableCollection
{
new DateTimePoint(new DateTime(2021, 1, 1), 300),
new DateTimePoint(new DateTime(2021, 2, 1), 600),
new DateTimePoint(new DateTime(2021, 3, 1), 500),
new DateTimePoint(new DateTime(2021, 4, 1), 300),
new DateTimePoint(new DateTime(2021, 5, 1), 500),
new DateTimePoint(new DateTime(2021, 6, 1), 600),
new DateTimePoint(new DateTime(2021, 7, 1), 800),
new DateTimePoint(new DateTime(2021, 8, 1), 700),
new DateTimePoint(new DateTime(2021, 9, 1), 900),
new DateTimePoint(new DateTime(2021, 10, 1), 600),
new DateTimePoint(new DateTime(2021, 11, 1), 800),
new DateTimePoint(new DateTime(2021, 12, 1), 750)
}
}
};
public Axis[] XAxes { get; set; } =
{
new DateTimeAxis(TimeSpan.FromDays(1), date => date.ToString("MMM dd"))
};
public Axis[] YAxes { get; set; } =
{
new Axis
{
Name = "kW",
TextSize = 20,
}
};
Expected behavior
This should be like Windows or Linux output:
Screenshot
Desktop (please complete the following information):
Latest MacOS official version
The text was updated successfully, but these errors were encountered:
ArchieCoder
changed the title
Bad rendering on MacOS with a Uno Platform project
Bad rendering on MacOS/Catalyst with a Uno Platform project
May 17, 2024
Describe the bug
The first different is the black background. I would have expected white like Windows or Linux. The bug is the rendering is not working as expected when Catalyst output is used. It works with MacOS/Skia. See screenshot below:
To Reproduce
1- Create a new Uno Project using the latest version (Single Project).
2- Add the control
<winUi:CartesianChart
Grid.Row="2"
Series="{Binding Series}"
XAxes="{Binding XAxes}"
YAxes="{Binding YAxes}" />
3- Create the data
public ISeries[] Series { get; set; } =
{
new LineSeries
{
Values = new ObservableCollection
{
new DateTimePoint(new DateTime(2021, 1, 1), 300),
new DateTimePoint(new DateTime(2021, 2, 1), 600),
new DateTimePoint(new DateTime(2021, 3, 1), 500),
new DateTimePoint(new DateTime(2021, 4, 1), 300),
new DateTimePoint(new DateTime(2021, 5, 1), 500),
new DateTimePoint(new DateTime(2021, 6, 1), 600),
new DateTimePoint(new DateTime(2021, 7, 1), 800),
new DateTimePoint(new DateTime(2021, 8, 1), 700),
new DateTimePoint(new DateTime(2021, 9, 1), 900),
new DateTimePoint(new DateTime(2021, 10, 1), 600),
new DateTimePoint(new DateTime(2021, 11, 1), 800),
new DateTimePoint(new DateTime(2021, 12, 1), 750)
}
}
};
public Axis[] XAxes { get; set; } =
{
new DateTimeAxis(TimeSpan.FromDays(1), date => date.ToString("MMM dd"))
};
public Axis[] YAxes { get; set; } =
{
new Axis
{
Name = "kW",
TextSize = 20,
}
};
Expected behavior
This should be like Windows or Linux output:
Screenshot
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: