Skip to content

Infragistics Community Forum / Desktop / Ultimate UI for Windows Forms / Create a graph that is the US states showing sales per state

Create a graph that is the US states showing sales per state

New Discussion
Darin Horton
Darin Horton asked on Apr 22, 2026 6:39 PM

Is there an example somewhere of how to create a grid/graph/map of the US showing shading of sales in each state?

Sign In to post a reply

Replies

  • 0
    Andrew Goldenbaum
    Andrew Goldenbaum answered on Apr 23, 2026 2:35 PM

    Hello Darin,

    While I do not have a runnable example of this at the moment, I do have some guidance on how one could create this. My best recommendation would be to utilize the UltraGeographicMap with a GeographicShapeSeries. You can find documentation on how to use this series type here: https://www.infragistics.com/help/winforms/geographicmap-using-geographic-shape-series. Note, you would need to find a shape file that has each of the states of the US as a separate shape.

    The GeographicShapeSeries has an event named AssigningShapeStyle that you could utilize that will give you information about each shape in the shape file, and if you have information about the sales of each of the states in this case, you can then set the Fill property of each of the shapes from the event arguments of this event.

    Please let me know if you have any other questions or concerns on this matter.

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Darin Horton
Favorites
0
Replies
1
Created On
Apr 22, 2026
Last Post
4 months, 1 week ago

Suggested Discussions

Tags

No tags

Created by

Created on

Apr 22, 2026 6:39 PM

Last activity on

Apr 22, 2026 6:39 PM