Skip to content

Normalize dat on dataZoom not show correct chart  #16505

@edika99

Description

@edika99

Version

5.3.0

Link to Minimal Reproduction

https://jsfiddle.net/edika/L467cm0f/27/

Steps to Reproduce

I'm trying to show a comparison chart between two prices series.
The comparison should start always from 100.
When I zoom the chart the comparison should be recalculated to always show the comparison starting from 100 for the selected period of time.
Please check at the jsfiddle, and try to resize the chart to see the behaviour. Looks also at how the last date available is changed unexpectly.

Current Behavior

Data is recalculated correctly, but the resized timeline does not show correct data. The chart does not start from 100 even if the recalculated data start from 100.

Expected Behavior

The comparison should always start from 100, from the start date of the selected period of time

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.waiting-for: community

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions