- Welcome, Guest. Please Login or Register
MindFusion  
  We have released initial version of MindFusion.Scheduling library for HTML5 & JavaScript.  
  HomeHelpSearchLoginRegister   
     
     
   
 
Poll Poll
Question: how to use custom font in mindfusion org chart ?



This Poll ends automatically in 130 days, 14 hours and 25 minutes.
« Created by: Surhar on: Nov 24th, 2017 at 8:33am »

Pages: 1 2 3  Send Topic Print  
custom fonts in org chart
Read 1949 times

Surhar   Offline
YaBB Newbies
*
Posts: 26
I Love MindFusion!


   
     
 
Re: custom fonts in org chart
Reply #30 - Dec 18th, 2017 at 10:23am
 
i cant understand can you explain more
 
 
 
IP Logged    
 
     

Iva_P   Offline
YaBB Newbies
*
Posts: 12
Gender: female
I Love MindFusion!


   
     
 
Re: custom fonts in org chart
Reply #31 - Dec 18th, 2017 at 1:55pm
 
Hello Surhar,

Lyubo is on Christmas holiday and I will replace him for a couple of weeks.

Regarding your question: you can use the EnableStyledText property (https://www.mindfusion.eu/onlinehelp/jsdiagram/index.htm?M_MindFusion_Diagrammin...), which allows you to use HTML-like formatting of text inside nodes e.g.

node.setText ("This is my wife <a href="https://rania_blog.wordpress.org">Rania</a> and this is a genealogy tree <a href="http://my-family.org">blog</a> about the family.");

https://www.mindfusion.eu/onlinehelp/jsdiagram/Customizing_Node_Appearance.htm is a topic in the online help that deals with node styling and lists the supported HTML format tags.   

Kind Regards,
Iva
 
 
 
IP Logged    
 
     

Surhar   Offline
YaBB Newbies
*
Posts: 26
I Love MindFusion!


   
     
 
Re: custom fonts in org chart
Reply #32 - Dec 20th, 2017 at 4:00pm
 
Thank you Iva Thanks for reply Happy Christmass In Advance For You and lyudo, lyudo why not reply on my this question : Thank you for working on my project i want to add link on text inside node and i dont want to use attach node because i dont want to reapete nodes i want to keep wife's name in same node, is it possible if yes, can take this whole project for me, because i am buse in some other projects, i also want to make this project early as i will pay bill of project development after get estimate(quotation) from you or if you are not free can your company do this ? please reply
 
 
 
IP Logged    
 
     

Surhar   Offline
YaBB Newbies
*
Posts: 26
I Love MindFusion!


   
     
 
Re: custom fonts in org chart
Reply #33 - Dec 20th, 2017 at 4:12pm
 
where i should write the code :

node.setText ("<a href="https://rania_blog.wordpress.org">Rania</a>");

and where i should call the setEnableStyledText function

please reply
 
 
 
IP Logged    
 
     

Iva_P   Offline
YaBB Newbies
*
Posts: 12
Gender: female
I Love MindFusion!


   
     
 
Re: custom fonts in org chart
Reply #34 - Dec 21st, 2017 at 9:01am
 
Hello Surhar,

You can call node.setText() and node.setEnableStyledText() any place the node is available - e.g. when it is created or you have access to it. That is placed in any JS code-behind file that goes with your application, in our sample it is called OrgChartEditor.js. There we use the jQuery (document).ready() function to initialize the diagram. You can put your code there:

$(document).ready(function ()
{
      var startNode = diagram.getFactory().createShapeNode(10, 10, 30, 20);
      startNode.setEnableStyledText (true);
      startNode.setText("This is <a href="http://site.org">.....");

   //more code goes here
}

Regards,
Iva
 
 
 
IP Logged    
 
     

Surhar   Offline
YaBB Newbies
*
Posts: 26
I Love MindFusion!


   
     
 
Re: custom fonts in org chart
Reply #35 - Dec 21st, 2017 at 11:24am
 
but i want to create diifrent link on each node this node create only one link. how can i do this ?
 
 
 
IP Logged    
 
     

Iva_P   Offline
YaBB Newbies
*
Posts: 12
Gender: female
I Love MindFusion!


   
     
 
Re: custom fonts in org chart
Reply #36 - Dec 22nd, 2017 at 11:56am
 
If you mean this code sets the same link to every node - this is not true. It sets the link on the node that you reference:

node1.setEnableStyledText (true);
node1.setText("This is <a href="http://link1.org">.....");

node2.setEnableStyledText (true);
node2.setText("This is <a href="http://link2.org">.....");

and so on.
 
 
 
IP Logged    
 
     

Surhar   Offline
YaBB Newbies
*
Posts: 26
I Love MindFusion!


   
     
 
Re: custom fonts in org chart
Reply #37 - Dec 24th, 2017 at 4:35pm
 
can you do this full project for me it is very simple project i will pay you here is my simple requirement : https://drive.google.com/open?id=1ouzAFjXTwrm9oBXNIarDs9uzOV2piTiH

please reply your suggestion
 
 
 
IP Logged    
 
     

Iva_P   Offline
YaBB Newbies
*
Posts: 12
Gender: female
I Love MindFusion!


   
     
 
Re: custom fonts in org chart
Reply #38 - Dec 26th, 2017 at 10:18am
 
Hi,
please contact us on sales@mindfusion.eu and we will send you a custom offer about the terms of development.

Regards,
Iva
 
 
 
IP Logged    
 
     

Surhar   Offline
YaBB Newbies
*
Posts: 26
I Love MindFusion!


   
     
 
Re: custom fonts in org chart
Reply #39 - Jan 7th, 2018 at 4:30am
 
Hi, Iva

thank you for the offer but,

we done almost just family tree concept is remaining so please help us to complete family tree concept, we will pay as we can for your help, our new requirement is, retrieve data from the database is it possible
 
 
 
IP Logged    
 
     

Iva_P   Offline
YaBB Newbies
*
Posts: 12
Gender: female
I Love MindFusion!


   
     
 
Re: custom fonts in org chart
Reply #40 - Jan 9th, 2018 at 11:53am
 
Hello,

If you want to read diagram data from a database it's up to you how you will retrieve and handle the data. We have a tutorial that demonstrates how you can load a graph from a json file: https://www.mindfusion.eu/onlinehelp/jsdiagram/CC_Tutorial_1__Loading_Graph_Data...

You can do something similar using a database.
 
 
 
IP Logged    
 
     
Pages: 1 2 3  Send Topic Print