Jump to content
Software FX Community

how to set chart width from java script


rajui

Recommended Posts

 I want to access the width property of the chart from javascript. I dont want to add a style.width through javascript. In my senario it is not suitable solution.

I want to access direct width property of the chart control.

Thanks,.........

Link to comment
Share on other sites

I am assuming you are rendering the chart as an image. Am I correct? Therefore if you need to resize the chart you would have to go back to the server to get a new image (just resizing the already downloaded image would distort it). I have created a sample that auto resizes the chart according to the browser and I think it can help you .

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.

Guest
Reply to this topic...

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