Git Product home page Git Product logo

Comments (3)

Jannchie avatar Jannchie commented on August 17, 2024 3

也许会加入这个功能

from historical-ranking-data-visualization-based-on-d3.js.

xukongop avatar xukongop commented on August 17, 2024

感谢回复,在config文件中有这么一行代码
max_number : 20,
注释为

每个时间节点最多显示的条目数。

其默认值为20,当改到50时,本以为每个柱状条的宽度会变小,但是实际未发生变化,导致相邻的柱状条发生重叠,请问在哪里修改参数会使柱状条的宽度会随max_number的值改变而改变

from historical-ranking-data-visualization-based-on-d3.js.

Jannchie avatar Jannchie commented on August 17, 2024

柱状图高度目前是写死的,修改这一部分可能需要对字体大小等等都进行调整,感觉会比较麻烦。如果你需要修改,目前只能修改源码中rect的高度再重新编译实现。你也可以通过增大图的大小来使得柱状条分散,但个人觉得条数过多显示效果不好,不建议显示那么多的条目。

from historical-ranking-data-visualization-based-on-d3.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.