2014-01-28 56 views
0

在X-Y散點圖中,我通過Point.DataLabel手動將文本標籤添加到數據點。不幸的是,我發現當點數擁擠時,很難判斷一個標籤屬於哪個系列。因此,我想爲文本標籤着色以匹配標記。如何設置PowerPoint圖表點文本標籤以匹配標記顏色?

我很滿意默認標記及其顏色,但不幸的是它們包含MarkerForegroundColor = -1和MarkerForegroundColorIndex = 0,無論我查看哪個系列。此外,Application.ActivePresentation.ColorSchemes是空的。我注意到point.MarkerStyle = xlMarkerStyleAutomatic。

回答

0

我發現顏色對應於活動主題的口音的顏色(僅在PowerPoint 2007年起提供):

presentation.SlideMaster.Theme.ThemeColorScheme.Colors(MsoThemeColorSchemeIndex.msoThemeAccent1 + series_i % 6); 
相關問題