© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•7mo ago•
1 reply
Nacho Man Randy Cabbage

Draw polygons on a Livecharts2 chart

I'm trying to figure out how to draw custom polygons on a chart using livecharts, but the documentation I'm seeing on their site does not match the latest releases. For instance, https://livecharts.dev/docs/eto/2.0.0-rc2/samples.general.drawOnCanvas these functions don't work or are marked obsolete.

Basically, I want to define 2 areas/polygons using a list of points and these polygons should be drawn on the chart and resize/move accordingly when the chart zooms/pans.
There will be a static min/max x and y for the chart. The polygons themselves could be redrawn with a different set of points, but won't be constantly updated or anything like that. Attached image for what I'm going for.
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Create hexagon polygons from point-list
C#CC# / help
3y ago
❔ How do I draw correctly on a PictureBox
C#CC# / help
3y ago
draw board caro
C#CC# / help
2y ago
✅ C# Winfrom Chart
C#CC# / help
6mo ago