GithubHelp home page GithubHelp logo

Comments (3)

ollivihervuori avatar ollivihervuori commented on June 23, 2024 1

I need a Gantt which is able to dynamically show shorter and longer timespans depending on the data. Mostly it works well, as it automatically selects for example weeks to lower axis and months to upper axis (or months + years combination in other case). The problem occurs when the timespan is very long and it selects years for the lower axis. I'm not sure what's the logic for the upper axis then - are they decades or something?

I'm not able to hard-code the tickInterval or hide the other axis because then the x-axis wouldn't be suitable for all different kinds of datasets.

Strangely, when the chart height is not explicitly specified, the upper axis label is aligned differently: https://jsfiddle.net/jr4qpgda/
image

from highcharts.

karolkolodziej avatar karolkolodziej commented on June 23, 2024

Hi @ollivihervuori!

Thank you for contacting us! I don't know if this should be classified as a bug, at least not with the alignment.
Could you please explain why would you use multiple axes with this configuration?
What should the top one represent?

Isn't it better if for example years and months -demo?

from highcharts.

karolkolodziej avatar karolkolodziej commented on June 23, 2024

The biggest available unit is one year but I get your point- the upper axis should not have a bigger unit than the bottom one.

from highcharts.

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.