Skip to main content
All docs
V25.1
  • TdxChartSimpleToolTipOptions.ShowForPoints Property

    Specifies if the Chart control displays tooltips for series points.

    Declaration

    property ShowForPoints: Boolean read; write; default True;

    Property Value

    Type Default Description
    Boolean True

    True if a tooltip appears when the mouse pointer hovers over a series point; otherwise, False.

    Remarks

    Series point tooltips display additional information on series points, such as arguments, values, and corresponding series captions.

    VCL Chart Control: A Series Point Tooltip Example

    Use ShowForSeries and ShowForPoints properties to enable or disable tooltips for series and their points. To apply custom formatting patterns to series and series point tooltips, use SeriesToolTipFormat and PointToolTipFormat properties of the target series.

    XY Series: Line and Area Views

    You can set ShowForSeries and ShowForPoints properties to False or True to independently disable or enable tooltips for XY series and their points when a Line or Area View is active.

    ShowForPoints Value Example[1]
    True (default) VCL Chart Control: A Visible XY Series Point Tooltip Example
    False VCL Chart Control: No Tooltip for an XY Series Point

    All Simple Series and Bar XY Series

    For a simple series or an XY series with any Bar View active, point tooltips replace series tooltips when the ShowForPoints property is set to True regardless of the ShowForSeries property value.

    ShowForPoints Value Example (Disabled Series Labels)[2] Example (Enabled Series Labels)[3]
    True (default) VCL Chart Control: A Visible Simple Series Point Tooltip Example VCL Chart Control: A Simple Series Point Tooltip Overrides a Simple Series Tooltip
    False[4] VCL Chart Control: No Tooltip for a Simple Series VCL Chart Control: A Visible Simple Series Tooltip Example

    Default Value

    The ShowForPoints property’s default value is True.

    Footnotes
    1. This example demonstrates different ShowForPoints property values on the same XY series with the active Line View.

    2. This example demonstrates different ShowForPoints property values on the same simple series with the active Doughnut View when the ShowForSeries property is set to False.

    3. This example demonstrates different ShowForPoints property values on the same simple series with the active Doughnut View when the ShowForSeries property is set to True.

    4. A simple series tooltip can be visible only if the ShowForPoints property is set to False.

    See Also