Returns the chart the element is part of.
Returns what the element is. A series' marker and a point's are both 'marker', and the
major and minor gridlines both 'gridlines'; their paths tell them apart.
Returns the legend's entries, as drawn: one per series, or per slice of a single pie; a hidden entry is listed too.
Returns whether the legend is drawn over the plot area rather than taking room beside it.
Returns the element this one is part of: a point's series, a gridline's axis, a legend entry's legend. The parts at the top (the title, the legend, the plot area, an axis, a series, a group) are the chart area's; the chart area has none.
Returns where the element is in its chart, as IChart.getElement takes it.
A path is its parts' names joined by /, and does not change while the part is there:
chartArea, title, legend, legend/entries/<n>, plotArea, dataTable, and
dataLabels (every series' at once);axes/<primary|secondary>/<category|value|series>, and an axis's …/title,
…/majorGridlines and …/minorGridlines;series/<key>, and a series' …/marker, …/dataLabels, …/errorBars/<x|y>,
…/trendlines/<n>, …/trendlines/<n>/label, …/points/<n>, …/points/<n>/marker and
…/points/<n>/dataLabel;groups/<n>, and a group's …/upDownBars, …/hiLoLines, …/dropLines and …/seriesLines.A series' key is its index in the file (c:idx), which an edit does not change; its place in
the plot order can change. A point, a trendline, a legend entry and a group are named by their
place, from 0: when one before it is removed, the path names the one that took its place.
Returns where the legend sits.
Returns what the legend is drawn with: its fill, border and font. Setting it shows the legend.
Returns whether the legend is shown.
Sets whether the legend is drawn over the plot area, and shows it.
Optionaloptions: ITransaction.OperationOptionsMoves the legend, and shows it.
Optionaloptions: ITransaction.OperationOptionsShows or removes the legend. A legend shown anew is at the right, as in Excel.
Optionaloptions: ITransaction.OperationOptionsSets several properties of the legend at once, as one step to undo.
Optionaloptions: ITransaction.OperationOptions
The chart's legend.