GeographicalSchemaLegendItem

Properties:

LabelText
Picture
SampleColor
SampleFont
SampleText
Series
ShowScale

Description:

Used to access the legend element of a geographical schema.

Availability:

Server, thick client, external connection.

Example:

// Create a serie to display data in the geographical schema layer
TotalSumByRegionsSerie = LayerRegoins.Series.Add();
TotalSumByRegionsSerie.Text = "Amount of turnover";
ShowMode = GeographicalSchemeLayerSeriesDrawingType.Column;
TotalSumByRegionsSerie.ShowMode = ShowMode;

// Add to the legend
LegendElement = Scheme.LegendArea.Items.Add();
LegendElement.Series = TotalSumByRegionsSerie;
LegendElement.SampleText = "Amount by regions";

See also:

GeographicalSchemaLegendItems
GeographicalSchemaLegendItems, method Get
GeographicalSchemaLegendItems, method Add
GeographicalSchemaLegendItems, method Delete
GeographicalSchemaLegendItems, method IndexOf

    

1C:Enterprise Developer's Community