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
20
Cannot bind nested value as 'valueMemberPath'
posted

I am trying to reproduce this sample http://www.igniteui.com/data-chart/polar-series but my data has a different structure. I have to do something like:

series: [{
name: "series1",
type: seriesType,
angleAxis: "angleAxis",
radiusAxis: "radiusAxis",
angleMemberPath: "measure.angle",
radiusMemberPath: "measure.radius"
}]

where my data source is a collection of objects which have a measure property. Currently this property is an object with two properties - angle and radius, but I might need to use it as an array, too. So 'measure.angle' would become 'measure[0]' and 'measure.radius' - ''measure[1]'. I have tried both scenarios and none of them worked, while having angle and radius as top-level properties works but is not an option in my case. Is there a way to set these binding properties to nested values?

Parents Reply Children
No Data