GithubHelp home page GithubHelp logo

Comments (2)

rosco54 avatar rosco54 commented on May 18, 2024

Could you elaborate on what you expect the behaviour to be? For example,, xaxis.range is an option used in charts where series data updates dynamically, so do you expect:

  1. the zoom to freeze all chart movement until you restore to the initial zoom or pan?
  2. the zoom to change the xaxis.range value as the series data continues to update and the chart continues scrolling?
  3. a different behaviour to either of these?

My intuition suggests (1) is normal but can also see a use for (2) if the zoom range includes the last data point.

from apexcharts.js.

technyon avatar technyon commented on May 18, 2024

Hi,

Yes sorry it should have been more clear. I do indeed set the range because my chart is updating continuously. I'd go with 1. because at this point the user most likely wants to inspect some specific data in more detail. I'd say is almost the current behavior already: The chart already stops updating and pans to a new position when trying to zoom. I think the only thing missing would be to ignore the range setting as the chart is zoomed in.

When the user is done inspecting the data, the home button can be used to go back to "normal" operation, scrolling the dynamically incoming data.

from apexcharts.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.