B
brian_madden
Hi,
I have a chart control that I am binding to a pivot table in javascript. The
pivot table is pulling data from an OLAP data source. I am trying to change
the chart type from the default bar chart to one of the other types but it is
not working. I have a code snippet below showing what I am doing.
var consts;
consts = form1.Chart1.Constants;
form1.Chart1.Type = consts.chChartTypeColumn3D;
form1.PivotTable1.XMLData = results.value;
form1.Chart1.Clear();
form1.Chart1.DataSource = form1.PivotTable1;
Can someone help me with this?
Thanks!
Brian
I have a chart control that I am binding to a pivot table in javascript. The
pivot table is pulling data from an OLAP data source. I am trying to change
the chart type from the default bar chart to one of the other types but it is
not working. I have a code snippet below showing what I am doing.
var consts;
consts = form1.Chart1.Constants;
form1.Chart1.Type = consts.chChartTypeColumn3D;
form1.PivotTable1.XMLData = results.value;
form1.Chart1.Clear();
form1.Chart1.DataSource = form1.PivotTable1;
Can someone help me with this?
Thanks!
Brian