Skip to content

AxisLabel example implementation #85

Description

@michaelpomogajko

Hi,
the docu talks about displaying the max and min value labels with the AxisLabel component passed into Top/BottomAxisLabel props, but no AxisLabel component is being exported from the package, nor is it clear how it should be implemented?

Does somebody has a working example?

Activity

  1. colinfran commented on Aug 14, 2023

    @colinfran
  2. huytdps13400 commented on Aug 30, 2026

    @huytdps13400
    Contributor

    Implemented in #137.

    The README now explains that AxisLabel is not exported by the package: TopAxisLabel and BottomAxisLabel are zero-argument callbacks that render app-owned React Native elements. The previous undefined component example is replaced with a complete Text implementation that derives and displays the maximum and minimum values.

    Prettier, Jest, TypeScript, ESLint, package build, and Expo web export verification all pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions