Giter VIP home page Giter VIP logo

Comments (3)

w1301625107 avatar w1301625107 commented on September 25, 2024

dom点击事件能获取鼠标的点击位置,配合cellwidth的startTime可以算出点击位置的时间

from vue-gantt-chart.

KeyX-y avatar KeyX-y commented on September 25, 2024

@w1301625107 感谢,已实现
有个疑问,顶部的timeline 默认设置一天,间隔是1个小时,等分24份,但是在屏幕更大的设备上、会显示下一天的时间
我理解,选择开始和结束时间,应该等分屏幕的宽,你的demo就有这个问题

from vue-gantt-chart.

w1301625107 avatar w1301625107 commented on September 25, 2024

cellwidth 才是控制了时间条有多长

from vue-gantt-chart.

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.