Skip to content

Deprecated 8.3.12 platform features. (DeprecatedAttributes8312)

Type Scope Severity Activated
by default
Minutes
to fix
Tags
Code smell BSL Info Yes 1 deprecated

Description

The following items are deprecated and their use is not recommended since platform version 8.3.12:

  • For the system enumeration ChildFormItemsGroup implemented the value AlwaysHorizontal, the value ChildFormItemsGroup.Horizontal is deprecated
  • ChartLabelsOrientation system enum is no longer available. Actual variant is ChartLabelsOrientation
  • The following properties and methods of Chart object are obsolete and not recommended for use:

  • ColorPalette;

  • GradientPaletteStartColor;
  • GradientPaletteEndColor;
  • GradientPaletteMaxColors;
  • GetPalette();
  • SetPalette().

  • Names of properties of the object ChartPlotArea:

  • ShowScale

  • ScaleLines
  • ScaleColor

  • Properties of ChartPlotArea object are obsolete, not recomended for use and supported only for backward compatibility:

  • ShowSeriesScaleLabels - it is recommended to use SeriesScale.ScaleLabelLocation
  • ShowPointsScaleLabels - it is recommended to use PointsScale.ScaleLabelLocation
  • ShowValuesScaleLabels - it is recommended to use ValuesScale.ScaleLabelLocation
  • ShowScaleValueLines - it is recommended to use ValuesScale.GridLinesShowMode
  • ValueScaleFormat - it is recommended to use ValuesScale.LabelFormat
  • LabelsOrientation - it is recommended to use PointsScale.LabelOrientation

  • The ShowLegend and ShowTitle properties of the Chart, GanttChart, PivotChart objects are deprecated and deprecated for use

  • Global context method ClearEventLog() is deprecated and only applicable to logs that have SQLite format

Sources

Source: Platform 8.3.12 changelog (RU)

Snippets

Diagnostic ignorance in code

// BSLLS:DeprecatedAttributes8312-off
// BSLLS:DeprecatedAttributes8312-on

Parameter for config

"DeprecatedAttributes8312": false