|
Rank: Newbie Groups: Member
Joined: 6/5/2014 Posts: 4
|
Is Amcharts library supported by EO.PDF?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Yes. It should work fine with AmCharts. We are not aware of any problems. EO.Pdf has a built-in browser engine that renders the page exactly the same way as a regular browser. So it should work fine with almost all pages.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/5/2014 Posts: 4
|
Is there sample which shows its integration with amcharts.js Actually this integration is the only thing which is stopping me from buying this product. it would be a great help if we can see some sample code. Thanks in advance
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, I am not sure if I understand your question correctly. You don't need to do anything special for AmCharts.js regarding to our product. Our converter takes a web page and convert that web page to PDF. So if you can load your web page and it functions fine inside a browser, most likely we will be able to convert it fine. So all you need to do is to produce a web page that uses AmCharts.js (or whatever other chart product it doesn't matter much) to do whatever chart you want to do and then pass that page to us. As how to use AmCharts.js to produce a chart in your web page, you would look into AmCharts' documentation. As an example, you can run our EOPdfDemo application, then go to Demos -> Html to PDF -> Basic -> Convert Url, then enter the following AmCharts demo page Url: http://www.amcharts.com/demos/line-chart-with-scroll-and-zoom/Then click "Run Demo" button you will see that it produces a PDF file that looks just like what you see on screen for that page. So everything you need to do you do it in your web page, there isn't much "integration" on our end. You get your web page working correctly and feed it to us and that's it. You can consider us as a web browser with the only difference being that we render the page to a PDF file instead of rendering the page to the screen. Please feel free to let us know if you still have any questions. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/5/2014 Posts: 4
|
I also tried the thing which you mentioned above and it works fine.But here is the problem: I have created my own html page which has amcharts function. When I run it normally from the browser, it works fine but using ConvertUrl function(I give the full path to my html file), it does not generates the graph.
|
|
Rank: Newbie Groups: Member
Joined: 6/5/2014 Posts: 4
|
Finally got it working, we have to provide height and width in pixels(doesn't works with 100% or auto). My Bad. Thank you guys!!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Great. Glad that you got it working and thanks for the update! That does make sense. 100% height will not work with EO.Pdf because EO.Pdf does not have a "window" like a browser does. So it has infinite height value instead of a known height value as a window on screen.
Thanks!
|
|