-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set width and height values in px? #56
Comments
Hi @alagarrk , Thanks for the question. A good rule of thumb is You can also pass Or you could be super fancy and measure the |
@gitbrent Thank you for the solution. Now its works fine 👍 Currently we can able to export the basic primitives chart [http:// basicprimitives.com/index.php] to PPT using PptxGenJS (Shapes). But the problem is we have generated chart as shapes(rect & lines), all are separate elements. If user wants to change/move the parent/child node, they need to move the relative shapes(lines & arrows). Now i am trying to add smartArt(Organisation Chart) in powerpoint to generate the chart. |
Hi @alagarrk , I'm very glad to hear you were successful! SmartArt isn't something i was planning on supporting, but Charts are coming soon... :-) |
Ok @gitbrent Thank you very much for your support. Do you have any idea, how to add hierarchical chart in powerpoint using PptxGenJS. If you give some suggestion/idea it will very helpful for me to implement this. Thanks in advance. |
Currently i am trying to export the chart from our app to ppt using PptxGenJS. I am getting px values for all the elements, so how can i set the values (width and height) in px(units) to draw any shapes in PptxGenJS?
If we can't set px in PptxGenJS, do you have any idea that how to convert px to inch/percentage which can be use in PptxGenJS?
Can you please give some suggestion on this. Thanks in advance.
The text was updated successfully, but these errors were encountered: