Skip to content

Commit

Permalink
- Activate label spreading on the X slider (custom GeoView attribute)
Browse files Browse the repository at this point in the history
- Disable thumb swapping on the X slider (native Slider attribute)
  • Loading branch information
Alex-NRCan committed Oct 2, 2024
1 parent 1b5e5e3 commit fb8f0a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1551,6 +1551,8 @@ export function GeoChart<
max={xSliderMax}
step={xSliderSteps}
value={xSliderValues || 0}
disableSwap
labelSpread
onChangeCommitted={handleSliderXChange}
onValueLabelFormat={handleSliderXValueFormat}
onValueDisplayAriaLabel={handleSliderXValueFormat}
Expand Down

0 comments on commit fb8f0a5

Please sign in to comment.