Jump to content
JChartFX Community
  • 0

Resize Chart





I'm trying to get my chart to resize, and I'm wondering the best way to do that. I did see a post titled "Resize the chart" which suggested the following:


  • chart1.doUpdate(true);
  • chart1.chart_ud(true);


Neither of which is working for me. I did find a way, by re-setting the datasource and adjusting the width and height of the div. What is the best way to do this? I'm trying to get this to work in IE11.


I've attached an html any help is appreciated.


Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Changing the data source has the disadvantage that we have to reprocess the data (even though nothing has changed).


In the current version of the scripts (and this will not change moving forward) you can invoke doUpdate as follows




In previous builds this function was being "minified".





Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...