tickLabelAnchor static method

TickLabelAnchor tickLabelAnchor(
  1. LabelAnchor? type
)

Implementation

static common.TickLabelAnchor tickLabelAnchor(LabelAnchor? type) {
  switch (type) {
    case LabelAnchor.after:
      return common.TickLabelAnchor.after;
    case LabelAnchor.before:
      return common.TickLabelAnchor.before;
    case LabelAnchor.inside:
      return common.TickLabelAnchor.inside;
    default:
      return common.TickLabelAnchor.centered;
  }
}