Git Product home page Git Product logo

Comments (3)

AlexanderPeters avatar AlexanderPeters commented on August 31, 2024

Edit for clarification. Looking for absolute cursor position within the main graph pane. This is useful for when the candles do not occup[y the entire graphing frame. i.e. it has been pulled to the left side of the graph pane so the other half is empty, but an accurate cursor position is still needed in that area. The cursor y value updates as expected, but the x value is locked to the middle of each candlestick so, the absolute value is not obtainable, thanks.

from trading-vue-js.

AlexanderPeters avatar AlexanderPeters commented on August 31, 2024

-Edit, yes with some basic HTML. Sorry, for the inconvenience.

from trading-vue-js.

AlexanderPeters avatar AlexanderPeters commented on August 31, 2024

Absolute positioning can be grabbed with.
console.log("X: " + event.clientX + " Y: " + event.clientY)

from trading-vue-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.