Comments (5)
No need for such events in v5 since you can attach events to be triggered on a change of setting or private setting.
Instead of monitoring scrollbar for events, I'd just set up events for axis' private properties selectionMin
and selectionMax
:
https://www.amcharts.com/docs/v5/charts/xy-chart/axes/date-axis/#Events
from amcharts5.
Thanks, that's very helpful!
from amcharts5.
Is there a way of getting the "end" value of the animation (when it's animated)?
Right now the "event" will fire multiple times until the animation settles. As I'm using the event to trigger a fetch from a database it would be helpful to do it as the animation starts instead of when it ends.
from amcharts5.
Well, in that case probably the best approach is to debounce the execution of your data load a few milliseconds so that it triggers only when animation has settled.
from amcharts5.
Thanks for getting back. I am doing that but it will delay the fetch for the duration of the animation which makes my UI feel sluggish. I'll close this issue since the original question is answered.
from amcharts5.
Related Issues (20)
- Map with clustered points and lines HOT 2
- Facing an unknown error when we switch the timeInterval. HOT 6
- Treemap rectangle min size HOT 1
- Both truncate and fit label text HOT 1
- Flat series (y = n) with "strokeGradient" aren't visible HOT 1
- X and Y Axis labels blinking
- Extending Volume Profile Indicator HOT 2
- Logarithmic scale fails for very low values HOT 5
- Labels in Treemap sometimes blink or get stuck at a small size HOT 2
- Charts are not properly resized when using angular framework HOT 2
- Encountered an error while using the polyfill and triangle drawing tool HOT 2
- Logarithmic scale not showed completely HOT 3
- Zoom property doesn't hold the zoom state of the chart in the GapelessDateAxis. HOT 2
- Tooltip doesn't work properly with no grouping and base interval set to 5 min HOT 4
- yAxis doesn't show values below 1e-5 on logarithmic scale HOT 1
- Is it possible to fix chart crashing for mobile devices if set useSafeResolution as false? HOT 9
- Compressed grid lines on logarithmic yAxis HOT 1
- Bug when loading the Map with specific geojson HOT 10
- DateRangeSelector not inheriting timezone from root HOT 8
- Animating x axis range label HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amcharts5.