Bind PivotTable to ChartSpace Error

R

Roberto Lo Baido

I set XMLdata property to a Pivot Table in order to populate it with a saved
analysis with 3 measures.
Then i bind a Chartspace with the pivot.

PT.XMLData = myXML;
ChartSpace.DataSource = PT

It all works, but with a problem. The chart only display the first measure
of the pivot table.
How to solve this problem?
 
R

Roberto Lo Baido

I've found the solution:

add the following node to the XMLData of the ChartSpace Object
<x:pivotAggOrientation>Series</x:pivotAggOrientation>
 
V

Vaibhav

Hi Robert,
I'm also faced with the same problem. I'm using OWC PivotTable & Chart in my
web page. The chart is the scratch pad for the end user. They can create new
reports by dragging & dropping the fields of their choice. I store the
XMLData from the PivotTable in my database & the chart number from the
Chartspace.

Where & when should i add this node
"<x:pivotAggOrientation>Series</x:pivotAggOrientation>" Client side
(javascript) or server side?

Thanks in advance.

Regards,
Vaibhav
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top