Represents chart legend properties.
Shows how to edit the appearance of a chart's legend.
#include <Aspose.Words.Cpp/Drawing/Charts/ChartLegend.h>
Public Member Functions | |
ChartLegend () | |
SharedPtr< ChartLegendEntryCollection > | get_LegendEntries () const |
Returns a collection of legend entries for all series and trendlines of the parent chart. More... | |
bool | get_Overlay () const |
Determines whether other chart elements shall be allowed to overlap legend. Default value is false. More... | |
LegendPosition | get_Position () const |
Specifies the position of the legend on a chart. Default value is Right. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
void | set_Overlay (bool value) |
Setter for get_Overlay. More... | |
void | set_Position (LegendPosition value) |
Setter for get_Position. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
Aspose::Words::Drawing::Charts::ChartLegend::ChartLegend | ( | ) |
System::SharedPtr<Aspose::Words::Drawing::Charts::ChartLegendEntryCollection> Aspose::Words::Drawing::Charts::ChartLegend::get_LegendEntries | ( | ) | const |
Returns a collection of legend entries for all series and trendlines of the parent chart.
bool Aspose::Words::Drawing::Charts::ChartLegend::get_Overlay | ( | ) | const |
Determines whether other chart elements shall be allowed to overlap legend. Default value is false.
Shows how to edit the appearance of a chart's legend.
Aspose::Words::Drawing::Charts::LegendPosition Aspose::Words::Drawing::Charts::ChartLegend::get_Position | ( | ) | const |
Specifies the position of the legend on a chart. Default value is Right.
Shows how to edit the appearance of a chart's legend.
|
overridevirtual |
|
overridevirtual |
void Aspose::Words::Drawing::Charts::ChartLegend::set_Overlay | ( | bool | value | ) |
void Aspose::Words::Drawing::Charts::ChartLegend::set_Position | ( | Aspose::Words::Drawing::Charts::LegendPosition | value | ) |
|
static |