|
|
|
Как програмно добавить надписи
|
|||
|---|---|---|---|
|
#18+
В Excel графику необходимо добавить надписи по оси X, значения добавил с помощью SeriesCollection. Надписи добавить не могу :( ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.06.2006, 18:42:16 |
|
||
|
Как програмно добавить надписи
|
|||
|---|---|---|---|
|
#18+
Там же, в SeriesCollection есть под-коллекция DataLabels ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.06.2006, 19:29:15 |
|
||
|
Как програмно добавить надписи
|
|||
|---|---|---|---|
|
#18+
код можно ? вот что я делаю с данными Worksheets("Report").ChartObjects(3).Activate ActiveChart.ChartArea.ClearContents data = Strings.Replace("K96:K101", " ", "") labels = Strings.Replace("J96:J101", " ", "") ActiveChart.SeriesCollection.Add Source:=Worksheets("Report").Range(data) labels - это range для надписей ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.06.2006, 11:34:27 |
|
||
|
Как програмно добавить надписи
|
|||
|---|---|---|---|
|
#18+
Если ничто другое не помогает, прочтите наконец инструкцию: DataLabelRepresents the data label on a chart point or trendline. On a series, the DataLabel object is a member of the DataLabels collection. The DataLabels collection contains a DataLabel object for each point. For a series without definable points (such as an area series), the DataLabels collection contains a single DataLabel object. Using the DataLabel Object Use DataLabels(index), where index is the data-label index number, to return a single DataLabel object. The following example sets the number format for the fifth data label in series one in embedded chart one on worksheet one. Код: plaintext 1. Код: plaintext 1. 2. 3. 4. 5. Код: plaintext 1. 2. 3. 4. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.06.2006, 17:59:40 |
|
||
|
|

start [/forum/topic.php?fid=61&fpage=327&tid=2184746]: |
0ms |
get settings: |
6ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
25ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
34ms |
get tp. blocked users: |
1ms |
| others: | 203ms |
| total: | 291ms |

| 0 / 0 |
