Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

dataFunction with deeply nested XML for charts

Not applicable
I have an xmlListCollection with deeply nested tags ( and a
confusing XML design not of my making) and I want to chart some
sections of it. When I use a dataFunction series, I expect to get
repeating chart elements, like bars. What I get is zip in the
chart, and trace reveals that I get two kinds of data:

xml data visible here
xml data

code visible here

using this notation:

I get





using this notation


What I expect:

I am passing an array to the series which will spread it out
dynamically. Obviously I am feeding it data in the wrong form.

I have tried:

1) dropping the ".." ( dot dot ) notation in favor of all the
intervening elements explicit.

2) docs-

advanced data visualization developer guide pdf

3) using valueOf() which returns the elements and data

Oddly this all works with less complex XML, just like the
examples its drawn from.

Any idea what I am doing wrong?

1 Reply
Not applicable
If this is a really stupid and obvious question, I apologize
in advance, call it a senior moment, make fun, whatever. I really
really did RTFM.

so I'll run after any idea like a dog after a