Skip to main content
All docs
V25.1
  • TdxChartCrosshairLabelAppearance.ImageSize Property

    Specifies pixel dimensions of crosshair label item glyphs.

    Declaration

    property ImageSize: TdxSizeFloat read; write;

    Property Value

    Type Description
    TdxSizeFloat

    ImageSize.Width and ImageSize.Height property values specify width and height (in pixels) of the area allocated to a crosshair label item glyph at 96 DPI.

    Remarks

    Use ImageSize.Width and ImageSize.Height properties to shrink or expand areas allocated to item glyphs within the crosshair label pane layout.

    Property Value Examples

    ImageSize.Width Value ImageSize.Height Value Example[1]
    20 16[2] VCL Chart Control: The Default Glyph Dimensions in the Main Crosshair Label
    10 8[3] VCL Chart Control: Shrunk Glyphs in the Main Crosshair Label
    30 24[4] VCL Chart Control: Increased Glyphs in the Main Crosshair Label

    Property Values and Scaling

    ImageSize.Width and ImageSize.Height properties specify the base pixel dimensions of a crosshair label item glyph area that correspond to 96 DPI. The Chart control’s draw routines multiply ImageSize.Width and ImageSize.Height property values by the current scale factor and round the results to the nearest integer to calculate the actual item glyph dimensions on the target screen.

    Default Value

    Default ImageSize.Width and ImageSize.Height property values are 20 and 16, respectively.

    Footnotes
    1. These examples demonstrate different ImageSize.Width and ImageSize.Height property values for the same XY diagram with three simple Line series.

    2. The default glyph dimensions.

    3. Smaller series glyphs reduce the main crosshair label size.

    4. Larger series glyphs expand the main crosshair label size.

    See Also