Skip to content

[Feature] Expose moveHandle (dataZoom) radius option to chart options #18958

Closed as not planned

Description

@Nicolai8

What problem does this feature solve?

As of now it's not possible to configure border radius of move handler. It's hardcoded to [0, 0, 2, 2]: SliderZoomView.ts line 647

What does the proposed API look like?

I think something like: new options moveHandleRadius alongside moveHandleIcon and moveHandleSize options.

         const moveHandleHeight = parsePercent(dataZoomModel.get('moveHandleSize'), size[1]);
            const moveHandle = displayables.moveHandle = new graphic.Rect({
                style: dataZoomModel.getModel('moveHandleStyle').getItemStyle(),
                silent: true,
                shape: {
                    r: dataZoomModel.get('moveHandleRadius'),
                    y: size[1] - 0.5,
                    height: moveHandleHeight
                }
            });

and add default value here

Activity

  1. added
    en
    pending
    on Aug 3, 2023
  2. added and removed
    pending
    on Aug 4, 2023
  3. modified the milestone: 5.5.0 on Aug 4, 2023
  4. github-actions commented on Aug 3, 2025

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

  5. added
    stale
    on Aug 3, 2025
  6. github-actions commented on Aug 11, 2025

    @github-actions
    Contributor

    This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ennew-featurestaletopic: dataZoom

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions