0
I’m setting up a flow chart on the web and I need Javascript to run the flow chart. Does anyone have any idea where I can find a FREE Javascript of Flowchart? I’d need something like this: https://gojs.net/latest/samples/orgChartEditor.html
0
I’m setting up a flow chart on the web and I need Javascript to run the flow chart. Does anyone have any idea where I can find a FREE Javascript of Flowchart? I’d need something like this: https://gojs.net/latest/samples/orgChartEditor.html
7
If you just want an alternative to creating flowcharts, Google has the library Chart and in it there is the option Organization Chart.
google.charts.load('current', {
packages: ["orgchart"]
});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Name');
data.addColumn('string', 'Manager');
data.addColumn('string', 'ToolTip');
// For each orgchart box, provide the name, manager, and tooltip to show.
data.addRows([
[{
v: 'Mike',
f: 'Mike<div style="color:red; font-style:italic">President</div>'
},
'', 'The President'
],
[{
v: 'Jim',
f: 'Jim<div style="color:red; font-style:italic">Vice President</div>'
},
'Mike', 'VP'
],
['Alice', 'Mike', ''],
['Bob', 'Jim', 'Bob Sponge'],
['Carol', 'Bob', '']
]);
// Create the chart.
var chart = new google.visualization.OrgChart(document.getElementById('chart_div'));
// Draw the chart, setting the allowHtml option to true for the tooltips.
chart.draw(data, {
allowHtml: true
});
}
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<div id="chart_div"></div>
Browser other questions tagged javascript html5
You are not signed in. Login or sign up in order to post.
You want a javascript tool to draw the flowchart?
– FábioArsénio
A tip java is not javascript.
– Guilherme Nascimento
Explain your doubt better, because the same link you posted has a tutorial to do the fluxoagrama with Gojs.
– Marcelo de Andrade
@Marcelodeandrade the question is that in that tutorial the JS is paid..
– Eduardo Krakhecke