Propriedade DataLabel. IsPercent (Word)DataLabel.ShowPercentage property (Word)
True para exibir o valor da porcentagem dos rótulos de dados em um gráfico.True to display the percentage value for the data labels on a chart. False para ocultar o valor.False to hide the value. Boolean de leitura/gravação.Read/write Boolean.
SintaxeSyntax
expressão. **** Concentoexpression.ShowPercentage
expressão Uma variável que representa um objeto' DataLabel '.expression A variable that represents a 'DataLabel' object.
ExemploExample
O exemplo a seguir permite que o valor percentual seja mostrado para os rótulos de dados da primeira série no primeiro gráfico.The following example enables the percentage value to be shown for the data labels of the first series on the first chart.
With ActiveDocument.InlineShapes(1)
If .HasChart Then
.Chart.SeriesCollection(1).DataLabels. _
ShowPercentage = True
End If
End With
Confira tambémSee also
Objeto DataLabelDataLabel Object
Suporte e comentáriosSupport and feedback
Tem dúvidas ou quer enviar comentários sobre o VBA para Office ou sobre esta documentação?Have questions or feedback about Office VBA or this documentation? Confira Suporte e comentários sobre o VBA para Office a fim de obter orientação sobre as maneiras pelas quais você pode receber suporte e fornecer comentários.Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.