Embed a chart in a div. This method is a good choice if you are not at all worried about performance (mostly you won't be), you want to get started quickly, and you want things to "just work".
Embed a chart in a div. This method is a good choice if you are not at all worried about performance (mostly you won't be), you want to get started quickly, and you want things to "just work".
There is one "gotcha". If you choose to provide your own div, it must have a well defined width and height.
If it does not the chart will not initialize properly, and it will not recover from this failure.
Value parameters
chart
- the chart you wish to plot
embedOpt
- optionally, the embed options you wish to use
inDivOpt
- optionally, the div you wish to plot into. If you don't provide one, one will be created for you.