Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1215
Binding a SeriesCollection to map using DataMapping=
posted

We have a map layer datasource containing (in addition to the wkt) several string, integer and double properties, alongside with a property of type SeriesCollection.

The map layer has a ValueTemplate containing a WebChart, and the idea was to bind the datasource SeriesCollection property to the Series property of the chart. The other properties bind as expected and appear as tooltip, title, etc., but the SeriesCollection causes the following message when included in the DataMapping:

Invalid data mapping. Make sure the map column names match the database column names.

Changing the data series property to String for testing causes the binding to proceed without errors (but of course, that does not work for the chart).

Is there restrictions on the data types of properties that can be bound through DataMapping, and if so, how can we proceed to pass chart data series through the map layer and to the embedded chart control? The number of DataPoints in the series is unknown at design time.