Aspose::Words::Drawing::Charts::ChartYValueCollection class

ChartYValueCollection class

Represents a collection of Y values for a chart series.

class ChartYValueCollection : public System::Collections::Generic::IEnumerable<System::SharedPtr<Aspose::Words::Drawing::Charts::ChartYValue>>

Methods

MethodDescription
get_Count()Gets the number of items in this collection.
get_FormatCode()Gets or sets the format code applied to the Y values.
GetEnumerator() overrideReturns an enumerator object.
GetType() const override
idx_get(int32_t)Gets or sets the Y value at the specified index.
idx_set(int32_t, const System::SharedPtr<Aspose::Words::Drawing::Charts::ChartYValue>&)Gets or sets the Y value at the specified index.
Is(const System::TypeInfo&) const override
set_FormatCode(const System::String&)Setter for Aspose::Words::Drawing::Charts::ChartYValueCollection::get_FormatCode.
static Type()

Remarks

All items of the collection other than null must have the same ValueType.

The collection allows only changing Y values. To add or insert new values to a chart series, or remove values, the appropriate methods of the ChartSeries class can be used.

See Also