owc10.ExportPicture problem

G

gerardp

i can't seem to understand why owc10 would not return my desired chart
type when exporting it to an image file...





With myChart

c = .Constants

.Clear()

.DataSource = myCube

.PlotAllAggregates =
OWC10.ChartPlotAggregatesEnum.chPlotAggregatesSeries



With .Charts(0)

.Type = OWC10.ChartChartTypeEnum.chChartTypeColumn3D

.HasLegend = True

.HasTitle = False

.WidthRatio = 200

.HeightRatio = 200

End With



.Interior.Color = "#fff8dc"

.Repaint()

.PrintQuality3D = 1.0

.ExportPicture(Server.MapPath("/images/graph/test.jpg"), "jpg", 600,
400)



End With





It always return 1 type of chart w/c the very basic one. i tried
changing the chart type but i still get the same result.



please help
 
G

gerardp

HARHARHAR....



i found the cure by accident.... the server should at least have Direct
X 7.0 installed in it to render 3D charts.
 

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