A
ad
I want to add value to the chart of OWC.
I used the codes below, but I can't see the value.
How can I do?
----------------------------------------------------------------------------
----
frm1.ChartSpace1.Clear();
frm1.ChartSpace1.DataSource = frm1.PivotTable1;
frm1.ChartSpace1.style.visibility = "visible";
frm1.ChartSpace1.HasChartSpaceLegend= true
frm1.ChartSpace1.Charts(0).Axes(frm1.ChartSpace1.Constants.chAxisPositionVal
ue).Scaling.Minimum=0;
c= frm1.ChartSpace1.Constants;
aChart=frm1.ChartSpace1.Charts(0);
aChart.Type = c.chChartTypePieExploded;
aChart.SeriesCollection(0).DataLabelsCollection.Add;
dl=aChart.SeriesCollection(0).DataLabelsCollection(0);
dl.HasValue = true;
dl.HasPercentage = true;
I used the codes below, but I can't see the value.
How can I do?
----------------------------------------------------------------------------
----
frm1.ChartSpace1.Clear();
frm1.ChartSpace1.DataSource = frm1.PivotTable1;
frm1.ChartSpace1.style.visibility = "visible";
frm1.ChartSpace1.HasChartSpaceLegend= true
frm1.ChartSpace1.Charts(0).Axes(frm1.ChartSpace1.Constants.chAxisPositionVal
ue).Scaling.Minimum=0;
c= frm1.ChartSpace1.Constants;
aChart=frm1.ChartSpace1.Charts(0);
aChart.Type = c.chChartTypePieExploded;
aChart.SeriesCollection(0).DataLabelsCollection.Add;
dl=aChart.SeriesCollection(0).DataLabelsCollection(0);
dl.HasValue = true;
dl.HasPercentage = true;