UIButtonPictures: {
    Circle: typeof UICircle;
    Diamond: typeof UIDiamond;
    Rectangle: typeof UIRectangle;
} = ...

Collection of available UIButtonPictures. Can be used to customize the shape of buttons and checkboxes of UIElements.

ButtonPicture must be specified when the UIElement is created by method of its builder.

Example usage:

// Create ButtonBox with specified ButtonPicture
Chart.addUIElement(UIElementBuilders.ButtonBox.setPictureOff(UIButtonPictures.Circle))
// Create LegendBox with specified ButtonPicture
Chart.addUIElement(UIElementBuilders.HorizontalLegendBox.setEntry(
UIElementBuilders.TextBox.setPictureOff(UIButtonPictures.Circle)))

Type declaration

  • Circle: typeof UICircle

    Circular picture.

  • Diamond: typeof UIDiamond

    45 degree rotated rectangle picture.

  • Rectangle: typeof UIRectangle

    Rectangular picture.