Home Forums Chart Support server side chart caching

server side chart caching

Viewing 5 posts - 1 through 5 (of 5 total)
  • #28752

    Any way to generate server side charts for caching?

    For Example –
    https://www.bankdeposits.com/branches-172475

    Would like to generate and save ‘png’ images on our server to save client generated issues, DB access. …

    Thanks!

    Jim

    #28762

    Jim,

    In order to render chart on the server side you would require a headless browser like PhantomJS. Here is an article which might help.

    Please take a look at this sample PhantomJS project, that captures the chart image from web page and saves it to a particular location. Please refer to instructions.txt file for clear understanding.


    Vishwas R
    Team CanvasJS

    #28775

    Vishwas,

    Thanks! Your product is a GREAT package! We are getting great compliments on the charts!

    Be safe!

    Jim

    #31968

    Vishwas,

    We implemented phantomjs at –

    https://www.bankdeposits.com/zipreport-NJ

    (click on any pie/bar chart). The bar/pie chart are server sided created PNG images using pahntomjs. Additionally, resultant PNG images on links are also created by phantomjs. e.g. –

    https://www.bankdeposits.com/zipsummary-07095

    Are there other headless browsers that have similar features as phatomjs that have interfaced with canvasJS?

    Thanks!

    #31992

    Jim,

    There are many headless browsers available like Chrome Headless Browser, BrowserShot, SlimerJS, etc that you can try out to fit your requirements for saving html as image.


    Vishwas R
    Team CanvasJS

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.