-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
calcite-slider > decouple ticks, labels and stops #5827
Comments
@driskull can you please change the priority of this issue to high as MV is asking for dimension/range slider. @jcfranco, we hope you can work the slider issues when you get back from your paternity leave. :) The other slider issues that need to be addressed before the Ranger slider widget can be implemented in the API: Here are the API requirements for the Range Slider: https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/46032#issuecomment-3805946 |
@ubatsukh marked them as higher priority. We will figure out which milestone these can be taken care of after the 1.0 release. |
Better understand user priority. Start in April for future milestone implementation |
Blocked by #5522. @geospatialem @DitwanP |
Good progress has been made to decouple steps, ticks and labels. Steps and ticks are now independent and while labels are coincident with ticks can be customized with a However steps and ticks are still regularly spaces from the start of the slider. When dealing with temporal data, irregular spaced steps, ticks and labels are the norm. Below are a few scenarios that have irregular steps/ticks/labels:
In this sample, the months of 2024 are shown as steps and ticks. Note that because these are evenly spaced that the start of July is assumed to be July 2. |
Description
At present
calcite-slider
assumes that ticks, tick labels and stops coincide and that all three are at regular intervals. This is rarely the case. The solution is to have independent properties for all three. For examples:What are Labels?
Label will consist of text and longer tick mark, See #2584 for proposal on custom label formatter.
Design
Breaking changes:
slider.labelTicks
is obsoleteslider.ticks
changes fromnumber
tonumber[]
// @driskull @jcfranco
Acceptance Criteria
See above.
Relevant Info
Related issues:
#5522 - calcite-slider > layout vertical and horizontal
#2584 - Enhancement: calcite-slider - custom tick label formatters
#1631 - Enhancement: Configurable slider highlighting
Which Component
calcite-slider
Example Use Case
Esri team
ArcGIS API for JavaScript
The text was updated successfully, but these errors were encountered: