Jump to content
Software FX Community

Load Data into a Map Graphic


Recommended Posts

You mean the data? A map, like a chart, can get data from diferent data sources includding arrays, collections, data controls, datasets, text files, and more.

The only diference with a map is that the data must contain one string field that identifies the map element to which that  piece of data belongs.

Here is an example of using arrays:

ICollection[] data = new ICollection[3];

data[0] =

new double[] { 10,20,30,40 };data[1] = new double[] { 60,70,80 };

data[2] =

new string[] { "FL","LA","GA","NY" };ListProvider lstProvider = new ListProvider(data);

chart1.DataSourceSettings.DataSource = lstProvider;


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...