Replies: 2 comments 1 reply
-
Ok I fixed by creating a new class. My gift for the public. Note that now you have to supply number 0 to 9 for the shape to .GeometrySvg of the lineseries. `Imports LiveChartsCore.Drawing Public Class CustomChartPoint
End Class ` |
Beta Was this translation helpful? Give feedback.
0 replies
-
Seems like a bug, #1943 raised |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Setting geometrySvg is throwing error at Svg.cs at: path.GetTightBounds(out var result);
An unhandled exception of type 'System.ExecutionEngineException' occurred in LiveChartsCore.SkiaSharpView.dll
I assume SKPath is being disposed causing this error?
If unique string is set, it works fine. But if I reuse the same string (svg path) it will crash.
edit:
Clearing cache before setting the same string seems to work.
VariableSVGPathGeometry.Cache.Clear()
edit2:
ok this doesn't work. Apparently clearing cache if you have two series it will still crash.
If I don't clear cache, the error is here:

Beta Was this translation helpful? Give feedback.
All reactions