You must be logged in to post your query.
Home › Forums › Chart Support › Fit CanvasJs instance within jquery dialog
Tagged: dialog, resizing
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
Krishnan,
Checkout this jsfiddle.
— Sunil Urs
So simple! I should have tried that first…
Thanks Sunil ck
You must be logged in to reply to this topic. Login/Register