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

[Bug] Unhandled ArgumentNullException rendering charts #330

Open
mfeingol opened this issue Jun 10, 2023 · 0 comments
Open

[Bug] Unhandled ArgumentNullException rendering charts #330

mfeingol opened this issue Jun 10, 2023 · 0 comments
Labels

Comments

@mfeingol
Copy link

Describe the bug
Same issue as #193

An unhandled exception occurs rendering charts on Windows UWP. This issue occurs with 0.9.5.9 and 1.0.0.0-preview. It does not occur with 0.7.1. I would love to see an official or even preview release that has a fix for this.

System.ArgumentNullException: Value cannot be null.
Parameter name: text
   at SkiaSharp.SKCanvas.DrawText(String text, Single x, Single y, SKFont font, SKPaint paint)
   at Microcharts.PointChart.DrawLabels(SKCanvas canvas, String[] texts, SKPoint[] points, SKRect[] sizes, SKColor[] colors, Orientation orientation, Boolean isTop, SKSize itemSize, Single height)
   at Microcharts.PointChart.DrawFooter(SKCanvas canvas, String[] labels, SKRect[] labelSizes, SKPoint[] points, SKSize itemSize, Int32 height,

Which platform and version is this for?
Windows UWP

To Reproduce
cf #193

Expected behavior
No unhandled exceptions

@mfeingol mfeingol added the bug label Jun 10, 2023
@mfeingol mfeingol changed the title [Bug] [Bug] Unhandled ArgumentNullException rendering charts Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant