Giter Club home page Giter Club logo

Comments (8)

bumbeishvili avatar bumbeishvili commented on May 18, 2024 1

In the new, dev version (development branch),4 layout types are implemented which can be changed at runtime

The layout can be set using

chart.layout('left')
chart.layout('top')
chart.layout('right')
chart.layout('bottom')

https://github.com/bumbeishvili/d3-organization-chart/blob/b64f9ef60f9eeff48969df2ecead9a5504c501f3/src/d3-org-chart.js#L64

Layouts.mp4

from org-chart.

bumbeishvili avatar bumbeishvili commented on May 18, 2024

No, it is not possible currently

It is planned in v2 release though

#14

from org-chart.

Lokesh2096 avatar Lokesh2096 commented on May 18, 2024

Is it fixed coz it's given on your main git page that horizontal layout is possible but i did not found anything on it in documentation

from org-chart.

bumbeishvili avatar bumbeishvili commented on May 18, 2024

Check the dev version in pinned issue

from org-chart.

Lokesh2096 avatar Lokesh2096 commented on May 18, 2024

How to use it in angular is there any npm for dev version?

from org-chart.

bumbeishvili avatar bumbeishvili commented on May 18, 2024

Nope, there is not any npm for the dev version (thinking about it, no promises), I guess you have to include it as a normal JS class in your project (It's a single class) and use it as if it was loaded from npm

from org-chart.

Lokesh2096 avatar Lokesh2096 commented on May 18, 2024

Thankyou sir for Quick reply

from org-chart.

bumbeishvili avatar bumbeishvili commented on May 18, 2024

The new version is published, closing this.

You can get more info about the new org-chart version in this Medium article

from org-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.