BUBLE TROUBLE

N

NICO

Hi all!
I've got a problem when I try to set the datalabel from my .Net application
in a PowerPoint Bouble chart.
My application creates a PPT application with some bouble chart using the
interop-library Powerpint and Graph; I would like to show series datalabel
from my application just like it does manually by right-click on the
ChartOptions>>DataLabels>>SeriesName ;
could you help me please, I have try in thousand way but with no result...
thanx for your attention,
regards

here my code...

Dim AppGrafico As Graph.Application
Dim ChtGrafico As Graph.Chart

AppGrafico = CType(CreateObject("MsGraph.Application"),
Graph.Application)
ChtGrafico = CType(AppGrafico.Chart, Graph.Chart)

AppGrafico.Application.Visible = True

stop 'insert data for buble chart...

ChtGrafico.Application.AddChartAutoFormat("test")

ChtGrafico.Application.Chart.ChartType = XlChartType.xlBubble3DEffect

'dosn't work on a Bublechart but a Bar (?!)
ChtGrafico.SeriesCollection(1). _
ApplyDataLabels(Type:=4)
 

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