How to use Invert Scroll option for charts to support reverse scrolling directions
This article explains how to use the Invert Scrollbar option for charts to support reverse scrolling directions.
Problem Statement
When bar chart data is sorted in descending order, the scroll position defaults to the bottom of the chart. As a result, users must manually scroll upward to view the top‑ranked values (for example, cities like London, Mexico DF, Madrid). This behavior can impact usability, especially with larger datasets.
Resolution
Enable the Invert Scroll option for charts. This ensures that when sorting is applied, the scroll bar aligns to the top, allowing immediate visibility of the highest‑ranked values.
Steps:
- Go to the Properties tab under Basic Settings.
- Enable the Invert Scroll option.
Final Output:
Note: Invert Scrollbar is supported only for EJ2 Chart widgets starting from version 16.1. Since EJ1 charts are deprecated, this option is not available for EJ1 charts.