Amchart 4 Sankey Diagram Node out of range
up vote
1
down vote
favorite
https://codepen.io/aad61404/pen/YRyJxN
https://codepen.io/aad61404/pen/aQvRyz?editors=0010
I am using amcharts 4 Sankey diagram and I want to fix the
node out of range .
I try
chart.height = 500;
chart.contentheight = 500;
chart.contentHeight = 500;
chart.innerHeight = 500;
It doesn't work . ( the node would be out of range )
Can I limit the amcharts 4 draw chart in 500 px height ?
How can I achieve the desired effect ?
amcharts sankey-diagram
add a comment |
up vote
1
down vote
favorite
https://codepen.io/aad61404/pen/YRyJxN
https://codepen.io/aad61404/pen/aQvRyz?editors=0010
I am using amcharts 4 Sankey diagram and I want to fix the
node out of range .
I try
chart.height = 500;
chart.contentheight = 500;
chart.contentHeight = 500;
chart.innerHeight = 500;
It doesn't work . ( the node would be out of range )
Can I limit the amcharts 4 draw chart in 500 px height ?
How can I achieve the desired effect ?
amcharts sankey-diagram
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
https://codepen.io/aad61404/pen/YRyJxN
https://codepen.io/aad61404/pen/aQvRyz?editors=0010
I am using amcharts 4 Sankey diagram and I want to fix the
node out of range .
I try
chart.height = 500;
chart.contentheight = 500;
chart.contentHeight = 500;
chart.innerHeight = 500;
It doesn't work . ( the node would be out of range )
Can I limit the amcharts 4 draw chart in 500 px height ?
How can I achieve the desired effect ?
amcharts sankey-diagram
https://codepen.io/aad61404/pen/YRyJxN
https://codepen.io/aad61404/pen/aQvRyz?editors=0010
I am using amcharts 4 Sankey diagram and I want to fix the
node out of range .
I try
chart.height = 500;
chart.contentheight = 500;
chart.contentHeight = 500;
chart.innerHeight = 500;
It doesn't work . ( the node would be out of range )
Can I limit the amcharts 4 draw chart in 500 px height ?
How can I achieve the desired effect ?
amcharts sankey-diagram
amcharts sankey-diagram
asked Nov 9 at 3:30
ZHENG XIANG REN
62
62
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
For what it's worth the same question was posted to GitHub, the solution provided was:
chart.nodePadding = 1; // default: 20
and optionally reduce chart.nodeMinSize
as well, e.g.
chart.nodeMinSize = 0.01; // default: 0.02
Hope this of value to someone.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
For what it's worth the same question was posted to GitHub, the solution provided was:
chart.nodePadding = 1; // default: 20
and optionally reduce chart.nodeMinSize
as well, e.g.
chart.nodeMinSize = 0.01; // default: 0.02
Hope this of value to someone.
add a comment |
up vote
1
down vote
For what it's worth the same question was posted to GitHub, the solution provided was:
chart.nodePadding = 1; // default: 20
and optionally reduce chart.nodeMinSize
as well, e.g.
chart.nodeMinSize = 0.01; // default: 0.02
Hope this of value to someone.
add a comment |
up vote
1
down vote
up vote
1
down vote
For what it's worth the same question was posted to GitHub, the solution provided was:
chart.nodePadding = 1; // default: 20
and optionally reduce chart.nodeMinSize
as well, e.g.
chart.nodeMinSize = 0.01; // default: 0.02
Hope this of value to someone.
For what it's worth the same question was posted to GitHub, the solution provided was:
chart.nodePadding = 1; // default: 20
and optionally reduce chart.nodeMinSize
as well, e.g.
chart.nodeMinSize = 0.01; // default: 0.02
Hope this of value to someone.
answered Nov 17 at 3:03
notacouch
1,1261823
1,1261823
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53219445%2famchart-4-sankey-diagram-node-out-of-range%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown