English 中文(简体)
为什么我会设置数据实验室。 职位:
原标题:Why can t I set DataLabel.Position to xlLabelPositionCustom?

我正与vb.net和Excel 2007合作,为我编写一些图表。 由于上述职位(<>xlLabelPositionAbo)的缺失导致标签与错误条码相冲突,而一方的缺省选择(例如xlLabelPositionRight)可能将标签留给另一点或其他错误规则。 因此,我要把标签上贴在一种习俗上,在这种习俗中,它对最高权利有大约45度的吸引力(例如,在上述违约的中间点和正确的位置上的权利)。

我试图通过调整<代码>xlMySeries.Points(index.DataLabel.Top和xlMySeries.Points(index.DataLabel)来做到这一点。 但是,首先,“被拖到一种描述错误之中,导致我相信我没有正确做事。 然后,我想尝试制定<条码>xlMySeries.Dataels.Position = xlLabelPositionCustom,然后调整顶和左边。 然而,令我惊讶的是,我甚至不能改动<条码>xlMySeries.DataLabels.Position至<条码>xlLabelPositionCustom!

每当我试图调整上层、左边或某些数据记录职位时,我就获得HRESultam:0x80004005(E_FAIL),我通常认为,这指的是“你正在做错事”,而我迄今为止的经验是用Excel。 我不能把该职位推到习俗中,或者除上述外,其他东西都离开、右边、中心(不适合、习俗或内任何东西)。

我为什么不能把立场财产确定在我需要的东西上,或者改变我的数据实验室的地位,有什么想法? 我只需要SOME办法,以调整我的数据实验室的位置,使之适应习惯的松ition(或除以上外的位置,左、右、中心、下游)。 提前感谢!

问题回答

You can set positions only to whose which you can see on the Data Label properties window.





相关问题
Is Shared ReadOnly lazyloaded?

I was wondering when I write Shared ReadOnly Variable As DataType = New DataType() Or alternatively Shared ReadOnly Variable As New DataType() Is it lazy loaded or as the instance initializes? ...

Entertaining a baby with VB.NET

I would like to write a little application in VB.NET that will detect a baby s cry. How would I get started with such an application?

Choose Enter Rather than Pressing Ok button

I have many fields in the page and the last field is a dropdown with list of values. When I select an item in a dropdown and press Enter, it doesn t do the "Ok". Instead I have to manually click on Ok ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

Set Select command in code

On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...

Hover tooltip on specific words in rich text box?

I m trying to create something like a tooltip suddenly hoovering over the mouse pointer when specific words in the richt text box is hovered over. How can this be done?

热门标签