Hi jgraph Team,


is there any way to control the size of the editor field? Currently (only in IE) is the visible editfield only as big as the preloaded graph: alt text


The html looks like this:

<div style="margin-left: 100px;">\n     <div class="base" id="graph" style="left: 0px; top: 0px; width: 100%; height: 100%; right: 5px; bottom: 5px; overflow: visible; min-height: 500px; min-width: 700px;" mxListenerList="[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]">\n         <div style="width: 1216px; height: 171px; position: relative;"> ....\n         ...\n     <\\\\div>\n <\\\\div>\n

Any suggestions?

asked 13 Oct '11, 05:33

pw_developer's gravatar image

accept rate: 0%

You could use graph.minimumGraphSize = new mxRectangle(0, 0, width, height), but the problem is actually IE ignoring the CSS. Since this solution only allows to specify the value in pixels (not %) it is actually the same as specifying the width and height in CSS in pixels, which should work in IE AFAIK.


answered 13 Oct '11, 08:22

Gaudenz's gravatar image

accept rate: 39%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 13 Oct '11, 05:33

Seen: 1,581 times

Last updated: 13 Oct '11, 08:22