Home Forums Chart Support Fit CanvasJs instance within jquery dialog

Fit CanvasJs instance within jquery dialog

Viewing 3 posts - 1 through 3 (of 3 total)
  • #6189

    Hi,

    I love this plugin – great job! I’m trying to open an instance of CanvasJs within a jQueryUI dialog box, on a click event.

    Everything works fine – see this fiddle: http://jsfiddle.net/B8VDD/1/

    But, everytime I launch the chart, it just barely overlaps the width of the dialog box. NO matter how I resize the box, my canvasJS chart also resizes itself just large enough to cause the scroll bars to appear. How can I force the size of the chart to stay the same, so that I can adjust my dialog box to be large enough to avoid scroll bars?

    Thanks

    #6190

    Krishnan,

    Checkout this jsfiddle.


    Sunil Urs

    #6191

    So simple! I should have tried that first…

    Thanks Sunil
    ck

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

You must be logged in to reply to this topic.