warkiz / IndicatorSeekBar

A custom SeekBar on Android, which can be changed the size ,color , thumb drawable , tick drawable , tick text and indicator , also , will show an indicator view with progress above SeekBar when seeking. https://github.com/warkiz/IndicatorSeekBar
Apache License 2.0
2.16k stars 417 forks source link

How to show data and marker only for few points. #245

Open KanishakCharitableImpact opened 1 year ago

KanishakCharitableImpact commented 1 year ago

Hi all,

There are scenarios in our current project, where we have to show colors based on months.

Suppose, there are 36 total months, but the data is available only for first two months or last two months. In this case, we have to fill colors in slider only for two months and remaining 34 months will have grey color and the user could slide the indicator only to these two colors.

How could we implement this solution ?

Any sort of help would be appreciated.

Thank you.