You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I just discovered this library and I'm amazed with quality and usefulness of this library!
It is the best Christmas present for me this year :) Thank you so much for sharing this code!
I would like to make a few visual changes regarding the direction of the chart.
I found this nice function which rotates the chart: onclick='chart.layout(["right","bottom","left","top"][index++%4]).render().fit()
but I don't know how can I get direction programatically...
If I try to see direction with console.log("Direction:"+JSON.stringify(chart.layout(["top"])))
I expected true/false, but I get empty object: Direction:{}
Thanks for any hint.
Merry Christmas and Happy New Year 2024!
The text was updated successfully, but these errors were encountered:
kosirm
changed the title
Get current chart direction
How to get current chart direction
Dec 22, 2023
Hi, I just discovered this library and I'm amazed with quality and usefulness of this library!
It is the best Christmas present for me this year :) Thank you so much for sharing this code!
I would like to make a few visual changes regarding the direction of the chart.
I found this nice function which rotates the chart:
onclick='chart.layout(["right","bottom","left","top"][index++%4]).render().fit()
but I don't know how can I get direction programatically...
If I try to see direction with
console.log("Direction:"+JSON.stringify(chart.layout(["top"])))
I expected true/false, but I get empty object:
Direction:{}
Thanks for any hint.
Merry Christmas and Happy New Year 2024!
The text was updated successfully, but these errors were encountered: