Owc10 problem with category title in 3D chart

M

milcec

I am trying to develop a chart using c#. The chart has a multiple
category axis (2 or more) and the chart type is
chChartTypeColumnClustered3D (or any other 3D chart type). When the
chart is generated I use chartspace.ExportPicture to save the chart in
a gif format. When the chart is viewed the Title of the category axis
is shown WITHIN OR ABOVE the chart plot area. How do I ensure that the
chart's category axis title remain at the bottom of the chart.

I have tried setting chart.Axes[0].Title.Top/Position but get error
messages "inappropriate time to alter layout" and "cant move axis
title" respectively.

Please, please help! I wish to create 3D charts using server side code
and also
be able to give the category axis a title which must appear at the
bottom of the chart. How can I do this when using multiple category
axis
 
T

Thao Moua [ms]

Each axis can have a title. So if you have a category ontop of the chart, the title for that category should be displayed onto of the category

You can only change chart element position in the AfterLayout() event

sub Chartspace_AfterLayout(DrawObj
Chartspace.ChartspaceTitle.Left = 10
Chartspace.ChartspaceTitle.Top = 5
end su

Thao Mou
OWC Chartspace Suppor

This posting is provided "AS IS" with no warranties, and
confers no rights. Use of included script samples are
subject to the terms specified at
http://www.microsoft.com/info/cpyright.ht

----- milcec wrote: ----

I am trying to develop a chart using c#. The chart has a multipl
category axis (2 or more) and the chart type i
chChartTypeColumnClustered3D (or any other 3D chart type). When th
chart is generated I use chartspace.ExportPicture to save the chart i
a gif format. When the chart is viewed the Title of the category axi
is shown WITHIN OR ABOVE the chart plot area. How do I ensure that th
chart's category axis title remain at the bottom of the chart

I have tried setting chart.Axes[0].Title.Top/Position but get erro
messages "inappropriate time to alter layout" and "cant move axi
title" respectively

Please, please help! I wish to create 3D charts using server side cod
and als
be able to give the category axis a title which must appear at th
bottom of the chart. How can I do this when using multiple categor
axi
 

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