Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
North9498 opened this issue Mar 6, 2025 · 0 comments
Open

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

North9498 opened this issue Mar 6, 2025 · 0 comments
Labels
Question Further information is requested

Comments

@North9498
Copy link

🐛 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:
@North9498 North9498 added the Question Further information is requested label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant