C# Tutorial - How to Create Geo Chart, GeoHeatMap using Live Charts in C# | FoxLearn

preview_player
Показать описание
C# - Live Chart, Geo Map in Windows Forms App C# .NET

A Geomap is a map of a country, continent, or region map, with colors and values assigned to specific regions, whose values are displayed as a color scale.

If your application is based on some kind of dashboard that needs to display the map to show different countries or a single country with its region, your best bet is to use a library to achieve it, instead of displaying SVG manually with extra code that has been already implemented on a third party library.

Map Chart using free chart control (LiveCharts) in WinForms C#
c# chart library open source
c# heatmap charts
Рекомендации по теме
Комментарии
Автор

Again a helpfull vid from Fox Learn. Also for the people who is asking for some other usage, here i have something.


to form load event : geoMap.LandClick += GeoMap_LandClick;
if you using something re-sharper you will get this auto. but if you don't just type yourself followings ;



private void GeoMap_LandClick(object arg1, LiveCharts.Maps.MapData arg2)
{

MessageBox.Show(arg2.Name);
// or whatever action you need //
}


this example will show the name of countries if you click on them.


if you change property as MessageBox.Show(arg2.id);
, then it will show the id of clicked countries like US, CN, TR etc..


or if you need some zoom action, just add: = true;


or if you need add some extra thickness to land borders, use : geoMap.LandStrokeThickness = 3;


and one last example, if you need to see the result on mouseover, lets say hover, add this code : geoMap.Hoverable = true;


hope this helps someone.

evrenersoy
Автор

Thank you.
Please upload System Monitor with C# - ex. CPU, HDD, RAM ... etc....

SystemServer
Автор

Hi, thanks for the video. Do you know how you can change the country's colors in fonction of an input ? I searched for the .updatekey() method and didn't find it.
I juste want a green country when my value is positive or red when negativ.
Thank you so much !
Or at least where to find the color property of a key/value pair

pierre-emmanuelgiuglaris
Автор

Please make video Android with c# . thanks 😍

laptrinhwindowsform
Автор

I have a question about in this line: geoMap.Dock = DockStyle.Fill; I can use in wpf? what do I have to change for wpf? please help me!!!

josefernandez-bpqu
Автор

Please can you do a video of how to connect Pie CHart and Mysql data?

zarjtutorials
Автор

sr how can i make backup and restore datagridiew in vb.net * with access database*

kiossoandre
Автор

Please explain what this means in detail.

محمدالعنزي-متس
Автор

thanks for the video
how to activate this control
:
"Hot Reload is not available "
thank you

samianouar
join shbcf.ru