Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to customize chart to have a timeline-style bar with different colored segments? #5508

Open
@noname6996-tta

Description

Hi, thank you for this amazing library!

I'm trying to create a custom mXAxis similar to the one in the attached image. It looks like:

Several colored segments along the line (e.g., pink from 3 to 4.5, cyan from 7 to 10.5).

Highlighted values like a filled circle at 11, and bold numbers at specific points (e.g., 8 and 13).

The values are positioned along the x-axis, ranging from 1 to 15.

Here is the image:

Image

Is it possible to create this kind of UI using MPAndroidChart?
If not directly supported, could you suggest an approach or point me to which chart type would be best to customize for this?

Thanks a lot for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /