Skip to content

dataZoomModel is undefined when setting options separately #10785

@mucst

Description

@mucst

Version

4.2.1

Reproduction link

https://jsfiddle.net/hu_tmx/34yzmt26/3/

Steps to reproduce

  1. create a chart with dataZoom feature: https://jsfiddle.net/hu_tmx/hgv2mb6e/
  2. refactor the code so that it has the same options, except merged together in 3 steps https://jsfiddle.net/hu_tmx/34yzmt26/3/

What is expected?

I should be able to use the dataZoom feature the same way as in the jsfiddle in point 1.

What is actually happening?

dataZoom does not work, there is a error on the console "TypeError: dataZoomModel is undefined: DataZoom.js:149:25"


used the latest version of firefox

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.

    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