Skip to content

🤔 [QUESTION]Slider如何监听变化 #3844

Open
@North9498

Description

@North9498

🐛 Question description

如题

💻 Link to minimal reproduction

···
const t1 = new Line("t1", {
data,
padding: "auto",
xField: "Date",
yField: "scales",
xAxis: {
tickCount: 5,
},
slider: {
start: 0.1,
end: 0.5,
},
});
t1.on("slider:change", (event) => {
console.log(event);
});

t1.render();
···

🏞 Expected result

🚑 Any additional [like screenshots]

  • G2Plot Version:2.4.32:
  • Platform:macos:

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions