AdjacentPosition

public enum AdjacentPosition : String, Encodable

Specifies the location of the text.

inside positions text inside, next to the bar end (rotated and scaled if needed). outside positions text outside, next to the bar end (scaled if needed), unless there is another bar stacked on this one, then the text gets pushed inside. auto tries to position text inside the bar, but if the bar is too small and no bar is stacked on this one the text is moved outside.

Note

Used by Bar<XData, YData>.textPosition, Funnel<XData, YData>.textPosition, Waterfall<XData, YData>.textPosition, Pie<LabelsData, ValuesData>.textPosition.
  • Undocumented

    Declaration

    Swift

    case inside
  • Undocumented

    Declaration

    Swift

    case outside
  • Undocumented

    Declaration

    Swift

    case auto
  • Undocumented

    Declaration

    Swift

    case none