Point 對(duì)象

此頁(yè)沒(méi)有內(nèi)容條目
內(nèi)容

Chart

parmultChartGroups (ChartGroup)

parchildparshareSeriesCollection (Series)

spacespaceparchildPoints (Point)

spacespacespaceparmultBorder

spacespacespaceparmultDataLabel

spacespacespaceparchildInterior

代表指定圖表上數(shù)據(jù)系列中的單個(gè)數(shù)據(jù)點(diǎn)。Point 對(duì)象是 Points 集合的成員,該集合包含指定數(shù)據(jù)系列中的所有數(shù)據(jù)點(diǎn)。

Point 對(duì)象用法

可用 Points(index)(其中 index 為數(shù)據(jù)點(diǎn)編號(hào))返回單個(gè) Point 對(duì)象。數(shù)據(jù)系列中的數(shù)據(jù)點(diǎn)按從左至右的順序編號(hào)。Points(1) 為最左邊的數(shù)據(jù)點(diǎn),而 Points(Points.Count) 為最右邊的數(shù)據(jù)點(diǎn)。下例設(shè)置第一個(gè)數(shù)據(jù)系列中第三個(gè)數(shù)據(jù)點(diǎn)的數(shù)據(jù)標(biāo)志樣式。為使本示例正常運(yùn)行,指定的數(shù)據(jù)系列必須為二維折線圖、散點(diǎn)圖或雷達(dá)圖中的數(shù)據(jù)系列。

myChart.SeriesCollection(1).Points(3).MarkerStyle = xlDiamond