开发者

C# What object or design would one use to create an interactive distance chart

开发者 https://www.devze.com 2023-02-07 04:17 出处:网络
What object would one use to display cities running on the side and top of a chart, where the distance of the aligned cites will be displayed.

What object would one use to display cities running on the side and top of a chart, where the distance of the aligned cites will be displayed. I want something interactive where one could click on the distance "cell" one will get more information on that specific distance.

In summary what object should I use to displ开发者_如何学Pythonay the cities on the top and side of the chart?

Thank in advance


This is what I did in the end to solve the problem:

I used a datagridview! Using a List populated by city name form the cities table, I named the header of the column and row of the Datagridview. Then I used the count of the table to define the matrix Distance[List<>.count, List<>.count] Then I used a nested for loop to populated the datagrid.

0

精彩评论

暂无评论...
验证码 换一张
取 消