Jump to content
JChartFX Community
  • 0

manage autosize when reload data


fgordillo

Question

 hi,

Im doing a function to reload data to two charts at the same time... everything working perfect with this but when the new data is loaded, the charts get bigger, at first sight it isn't a problem because its about 10px but if you keep reloading data, the charts keeps going bigger and bigger... 

I tried to resize the <div> container by jquery but it doesn't work... any idea?

 this is my reload function

function reloadChart(){
           var data = [
            { "Tipo": "Caminando", "KM":caminando},
            { "Tipo": "Bicicleta", "KM":bicicleta},
            { "Tipo": "Veh

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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.

Guest
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.

Loading...
×
×
  • Create New...