Interface VerticalAnnotation

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:15.900Z") @Stability(Stable) public interface VerticalAnnotation extends
Vertical annotation to be added to a graph.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 VerticalAnnotation verticalAnnotation = VerticalAnnotation.builder()
         // the properties below are optional
  • Method Details

    • getDate

      @Stability(Stable) @NotNull String getDate()
      The date and time (in ISO 8601 format) in the graph where the vertical annotation line is to appear.
    • getColor

      @Stability(Stable) @Nullable default String getColor()
      The hex color code, prefixed with '#' (e.g. '#00ff00'), to be used for the annotation. The Color class has a set of standard colors that can be used here.

      Default: - Automatic color

    • getFill

      @Stability(Stable) @Nullable default VerticalShading getFill()
      Add shading before or after the annotation.

      Default: No shading

    • getLabel

      @Stability(Stable) @Nullable default String getLabel()
      Label for the annotation.

      Default: - No label

    • getVisible

      @Stability(Stable) @Nullable default Boolean getVisible()
      Whether the annotation is visible.

      Default: true

    • builder

      @Stability(Stable) static VerticalAnnotation.Builder builder()
      a VerticalAnnotation.Builder of VerticalAnnotation