Sign in to follow this  
Aviv

Drag-node chart and enableLinks

Recommended Posts

In the following XML I would accept the URL Links on a node to be enabled as a default, this is not the case.

<chart palette='2' xAxisMinValue='0' xAxisMaxValue='100' yAxisMinValue='0' yAxisMaxValue='100' is3D='1' showFormBtn='1' viewMode='1' allowDrag='0' showformbtn='0' enableLinks='1' >

<dataset plotBorderAlpha='0' allowDrag='0' showformbtn='0' >

<set x='8' y='69' width='110' height='90' name='Desktop' color='FE3233' id='pc1' imageNode='1' imageurl='Resources/desktop.png' labelAlign='top' imageAlign='middle' alpha='0'  imageWidth='107' imageHeight='67' toolText='Name: PC1 <BR>IP: 202.11.32.123 <BR>Owner: Harry Mac'  allowDrag='1'/>

<set x='8' y='30' width='108' height='90' name='Laptop111' color='33C1FE' id='pc2' imageNode='1' imageurl='Resources/laptop.png' labelAlign='top' alpha='0'  imageAlign='middle' imageWidth='98' imageHeight='67' toolText='Name: PC2 <BR>IP: 202.11.32.124 <BR>Owner: Jim Terry' allowDrag='0' enableLinks='1' link='http://www.InfoSoftGlobal.com'/>

<set x='19' y='50' radius='40' shape='circle' name='Internet' color='33C1FE' id='internet' allowDrag='1'/>

<set x='44' y='50' width='106' height='64' name='Firewall' color='33C1FE' id='firewall' imageNode='1' imageurl='Resources/firewall.png' labelAlign='middle' alpha='0' imageWidth='106' imageHeight='64' toolText='Name: Firewall <BR>IP: 202.110.00.00 <BR>Owner: Group Network' allowDrag='1'/>

<set x='44' y='70' width='60' height='96' name='Branch Head Office' color='33C1FE' id='BO3'  imageNode='1' imageurl='Resources/server.png' labelAlign='top' alpha='0'  imageWidth='57' imageHeight='70' imageAlign='bottom' allowDrag='1'/>

<set x='34' y='90' width='70' height='86' name='Branch Office 1' color='33C1FE' id='BO1' imageNode='1' imageurl='Resources/terminal.png' alpha='0'  imageWidth='64' imageHeight='65' imageAlign='bottom' labelAlign='top'/>

<set x='54' y='90' width='70' height='86' name='Branch Office 2' color='33C1FE' id='BO2' imageNode='1' imageurl='Resources/terminal.png' alpha='0' imageWidth='64' imageHeight='65' imageAlign='bottom' labelAlign='top'/>

<set x='44' y='85' width='50' height='40' name='Branch Network' color='33C1FE' id='null' alpha='0' />

 

<set x='44' y='30' width='60' height='86' name='Head Office' color='33C1FE' id='PHO'  imageNode='1' imageurl='Resources/server.png' alpha='0'  imageWidth='57' imageHeight='70' imageAlign='bottom' labelAlign='top' allowDrag='1'/>

<set x='34' y='20' width='70' height='86' name='Branch Office 1' color='33C1FE' id='PN1' imageNode='1' imageurl='Resources/terminal.png' alpha='0'  imageWidth='64' imageHeight='65' imageAlign='bottom' labelAlign='top'/>

<set x='54' y='20' width='80' height='94' name='Branch Office 2' color='33C1FE' id='PN2' imageNode='1' imageurl='Resources/exchange_server.png' alpha='0' imageWidth='79' imageHeight='80' imageAlign='bottom' labelAlign='top'/>

<set x='44' y='8' width='60' height='86' name='Head Office' color='33C1FE' id='PN3'  imageNode='1' imageurl='Resources/server.png' alpha='0'  imageWidth='64' imageHeight='65' imageAlign='top' labelAlign='bottom'/>

<set x='44' y='18' width='55' height='46' name='Perimeter Network' color='33C1FE' id='null3' alpha='0' />

 

<set x='64' y='60' width='60' height='86' name='Head Office' color='33C1FE' id='CNS'  imageNode='1' imageurl='Resources/server.png' alpha='0'  imageWidth='57' imageHeight='70' imageAlign='bottom' labelAlign='top' allowDrag='1'/>

<set x='78' y='70' width='70' height='86' name='Branch Office 1' color='33C1FE' id='CN1' imageNode='1' imageurl='Resources/terminal.png' alpha='0'  imageWidth='64' imageHeight='65' imageAlign='bottom' labelAlign='top' allowDrag='1'/>

<set x='88' y='60' width='80' height='96' name='Exchange Server' color='33C1FE' id='CN2' imageNode='1' imageurl='Resources/exchange_server.png' alpha='0' imageWidth='79' imageHeight='80' imageAlign='bottom' labelAlign='top' allowDrag='1'/>

<set x='78' y='30' width='70' height='94' name='CRM Server' color='33C1FE' id='CN3'  imageNode='1' imageurl='Resources/server.png' alpha='0'  imageWidth='57' imageHeight='69' imageAlign='top' labelAlign='bottom' allowDrag='1'/>

<set x='64' y='40' width='70' height='90' name='Catalogue Server' color='33C1FE' id='CN4'  imageNode='1' imageurl='Resources/04.png' alpha='0'  imageWidth='65' imageHeight='72' imageAlign='top' labelAlign='bottom' allowDrag='1'/>

<set x='88' y='40' width='60' height='90' name='2003 Server' color='33C1FE' id='CN5'  imageNode='1' imageurl='Resources/05.png' alpha='0'  imageWidth='56' imageHeight='68' imageAlign='top' labelAlign='bottom' allowDrag='1'/>

<set x='77' y='50' width='55' height='46' name='Corporate Network' color='33C1FE' id='null2' alpha='0' />

 

</dataset>

<connectors color='FF0000' stdThickness='5'>

 <connector strength='1.5' from='pc1' label ='10/100Mbps' to='internet' color='BBBB00' arrowAtStart='0' arrowAtEnd='0'/>

 <connector strength='1.5' from='pc2' to='internet' label ='10/100Mbps'  color='BBBB00' arrowAtStart='0' arrowAtEnd='0' />

 <connector strength='2' label='T1 Line' from='internet' to='firewall' color='BBBB00' arrowAtStart='0' arrowAtEnd='0' />

 <connector strength='1.8' from='BO3' to='firewall' label='Secured' color='BBBB00' arrowAtStart='0' arrowAtEnd='0' />

 <connector strength='0.8' from='BO3' to='BO1' color='BBBB00' arrowAtStart='0' arrowAtEnd='0' />

 <connector strength='0.8' from='BO3' to='BO2' color='BBBB00' arrowAtStart='0' arrowAtEnd='0' />

 <connector strength='1.8' from='PHO' to='firewall' label='Secured' color='BBBB00' arrowAtStart='0' arrowAtEnd='0' />

 <connector strength='0.8' from='CN1' to='CN2' color='BBBB00' arrowAtStart='0' arrowAtEnd='0' />

 <connector strength='0.8' from='CN5' to='CN2' color='BBBB00' arrowAtStart='0' arrowAtEnd='0' />

 <connector strength='0.8' from='CN5' to='CN3' color='BBBB00' arrowAtStart='0' arrowAtEnd='0' />

 <connector strength='0.8' from='CN4' to='CN3' color='BBBB00' arrowAtStart='0' arrowAtEnd='0' />

 <connector strength='0.8' from='CN4' to='CNS' color='BBBB00' arrowAtStart='0' arrowAtEnd='0' />

 <connector strength='0.8' from='CN1' to='CNS' color='BBBB00' arrowAtStart='0' arrowAtEnd='0' />

</connectors>

<vTrendlines>

 <line startValue='0' endValue='30' color='FF0000' alpha='5' displayValue='External Network' isTrendZone='1'/>

 <line startValue='30' endValue='60' color='00FF00' alpha='5' displayValue='Middleware' isTrendZone='1'/>

 <line startValue='60' endValue='100' color='0000FF' alpha='5' displayValue='Internal Network' isTrendZone='1'/>

</vTrendlines>

<styles>

  <definition>

<style name='myHTMLFont' type='font' isHTML='1' />

  </definition>

  <application>

<apply toObject='DATALABELS' styles='myHTMLFont' />

<apply toObject='TOOLTIP' styles='myHTMLFont' />

  </application>

</styles>

</chart>

Share this post


Link to post
Share on other sites

The attribute name is enableLink instead of enableLinks.

We're really sorry for the error in documentation and will fix it in next release.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this