How to embed Graph in the chart div, see the sample code below

We are trying to create an Graph using JET API.
Now the Graph is displayed in a new popup.
We want to embed the Graph with in our application layout.

So in our code, i want to embed the code inside the div.

<div id="chart"></div>

Sample code

<script>
JET.init({ ID: "JETSample", Title: "JET - Getting Started" });
JET.onLoad(initApp);
function initApp() {
JET.navigate({ name: "Graph", entities: [{ RIC: $("#ric").val() }] }) }
</script>
<body> <div id="chart"></div> </body>

Best Answer

Answers