Order 屬性 (Excel Graph)Order property (Excel Graph)

會傳回或設定趨勢線的順序 (大於 1 的整數) 當趨勢線類型為xlPolynomialXlTrendlineType 列舉)。Returns or sets the trendline order (an integer greater than 1) when the trendline type is xlPolynomial (XlTrendlineType enumeration). 可讀寫的 LongRead/write Long.



需要 expressionexpression Required. 可傳回 [套用至]**** 清單內其中一個物件的運算式。An expression that returns one of the objects in the Applies To list.


如果第一個數列的第一條趨勢線為多項式,本範例會設定其順序。This example sets the order of the first trendline for series one if it's polynomial.

With myChart.SeriesCollection(1).Trendlines(1) 
 If .Type = xlPolynomial Then .Order = 3 
End With

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.