Skip to main content
All docs
V25.1
  • TdxChartSeriesLineOptimization Enum

    Enumerates available series line and point rendering modes for Line and Area series Views.

    Declaration

    TdxChartSeriesLineOptimization = (
        Default,
        None,
        RemoveOverlaps,
        PiecewiseLinear,
        Full
    );

    Members

    Name Description
    Default

    Default (Recommended Option). This option corresponds to None or RemoveOverlaps depending on the number of series points and the currently available XY Diagram area.

    Default corresponds to RemoveOverlaps if the distance between any two series points is less than half of the current line width. Otherwise, Default corresponds to None.

    None

    All series line and point calculation and rendering optimizations are disabled in this mode.

    RemoveOverlaps

    The diagram merges two adjacent series points if the distance between them is less than half of the current line width.

    PiecewiseLinear

    The diagram removes a series point between two other series points if it is possible to connect all these points by a straight line.

    Do not use this mode if you display value markers and you need to display all values in a series.

    Full

    All series line and point calculation and rendering optimizations are in effect for any number of series points and any diagram area size.

    This mode combines PiecewiseLinear and RemoveOverlaps options.

    Do not use this mode if you display value markers and you need to display all values in a series.

    Remarks

    The Optimization property of Line and Area series Views references the TdxChartSeriesLineOptimization type.

    Note

    TdxChartSeriesLineOptimization is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxChartSeriesLineOptimization.None (in Delphi) or TdxChartSeriesLineOptimization::None (in C++Builder) to refer to the None value in code.

    See Also