Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns the x coordinate of the upper left corner of the chart region, in units of 1/4000 of the chart area.

Signature
C#
C#

 public int X{ get; set; }
Signature
vb.net
vb.net

Public Property X() As Integer
Remarks

For SeriesDataLabel s and Trendline labels, the origin for the X coordinate is relative to the default location of the Data label would in if DataLabelPlacement were set to 'Default'data label.

If you set X to a value is set that would put the Chart region off the chart, then when the workbook writes, the value will be clamped such that the region will still appear on the chartis outside the range of 0 through 4000 inclusive, the value will be adjusted to be within that range.