0

reset zoom hide

asked 2021-02-22 23:02:59 +0800

xuesong gravatar image xuesong
101 2

updated 2021-02-23 08:57:06 +0800

jeanher gravatar image jeanher
1814 2 6
ZK Team

I have a chart with zoom enabled, after zooming in/out the chart, the "reset zoom" button was gone. How can I configure it so that it always shows the "reset zoom" button.

(original message:图表设置了ZoomType属性,当缩放后页面上未展示“reset zoom”,请问应该怎么设置zkchart才能展示出“reset zoom”。) image description

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2021-02-24 09:13:18 +0800

hawk gravatar image hawk
2785 1 5
http://hawkphoenix.blogsp... ZK Team

By default, if you call

Charts::setZoomType("x")

to enable zoom. After drag and drop the mouse to zoom in, zkcharts will show the "reset zoom" button. You can check this running example.

If you still can't find the root cause, please give us or post your code.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2021-02-22 23:02:59 +0800

Seen: 6 times

Last updated: Feb 24

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More