| Author |
|
| Company |
MindFusion |
| Source Code Available |
Yes |
| License Type |
Free to try |
| Submitted On |
May 07, 2012 |
| Updated on |
May 14, 2012 |
| .NET Framework |
3.5 |
| Cost |
$700 |
Description
A pack of MindFusion's advanced diagramming, scheduling and charting components for ASP.NET. The controls can be used in many types of business applications that need to visualize process management, resource planning, organizational structures, etc.
The Calendar control can be used to present calendars, timetables and resource tables to users and let them edit the schedule information interactively. The appearance of appointments can be customized through ASP.NET templates.
The Diagram control provides intuitive user-interaction model for creating or editing flow diagrams. In addition, its programmatic interface places at your disposal many useful functions, ranging from printing and XML serialization to path-finding and automatic layout algorithms. Additional controls in the package implement overview and toolbox that can be used with the diagram.
The Chart control supports bar, pie, area, line and radar charts. Each of them can be fully customized via the hundreds properties and methods exposed. All controls support data-binding for fast database reports.
Syntax Example
var clickedParent;
function onTreeExpanded(sender, args)
{
var parentNode = args.getNode();
if (parentNode.getOutgoingLinks().size() == 0)
{
clickedParent = parentNode;
setTimeout("callService()", 1);
}
else
{
var applet = <%= diagView.AppletElement %>;
layoutTree(applet);
}
}
function callService()
{
// explicitly convert the node's text to a JavaScript string object
var parentText = new String(clickedParent.getText()).valueOf();
Samples.OrgService.GetChildren(
parentText, onGotNames, onFailed);
}
function onGotNames(names)
{
var applet = <%= diagView.AppletElement %>;
var view = applet.getDiagramView();
var diagram = view.getDiagram();
view.suspendRepaint();
var i;
for (i = 0; i < names.length; ++i)
{
var box = diagram.getFactory().createShapeNode(0, 0, 25, 16);
box.setText(names[i]);
box.setExpandable(true);
box.setExpanded(false);
var link = diagram.getFactory().createDiagramLink(clickedParent, box);
link.setHeadShape(MindFusion.Diagramming.ArrowHeads.Triangle);
link.setHeadShapeSize(3);
link.setDynamic(true);
}
layoutTree(applet);
diagram.resizeToFitItems(5);
view.resumeRepaint();
}
function layoutTree(applet)
{
var diagram = applet.getDiagramView().getDiagram();
var tl = applet.getScriptHelper().createTreeLayout();
tl.setNodeDistance(12);
tl.setLevelDistance(8);
tl.arrange(diagram);
}Screenshots
Reviews
Submit a review