baseColor
|
string
|
'#C2EEFF'
|
Sets or gets the baseColor property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, baseColor: "#C2EEFF", theme:"light" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
colorRanges
|
array
|
[ { color: '#aa9988', min: 0, max: 10 }, { color: '#ccbbcc', min: 11, max: 50 }, { color: '#000', min: 50, max: 100 } ];
|
Sets or gets the colorRanges property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, colorRanges: "colorRanges", theme:"light" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
colorRange
|
number
|
100
|
Sets or gets the colorRange property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:100, theme: "light" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
colorMode
|
string
|
'parent'
|
Sets or gets the colorMode property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, colorMode: "autoColors", theme:"light" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
displayMember
|
string
|
""
|
Sets or gets the displayMember property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, displayMember: "label", theme:"light" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
height
|
number
|
600
|
Sets or gets the height property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
hoverEnabled
|
boolean
|
false
|
Sets or gets the hoverEnabled property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light",hoverEnabled:true } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
headerHeight
|
number
|
25
|
Sets or gets the headerHeight property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light",headerHeight:30 } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
legendLabel
|
string
|
"Legend"
|
Sets or gets the legendLabel property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light", legendLabel:"Olympic medal count - London 2012" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
legendPosition
|
object
|
{ x: 0, y: -5 }
|
Sets or gets the legendPosition property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light", legendPosition:"legendPosition" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
legendScaleCallback
|
object
|
null
|
Sets or gets the legendScaleCallback property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light", legendScaleCallback:"legendScaleCallback" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
renderCallbacks
|
object
|
null
|
Sets or gets the renderCallbacks property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light", renderCallbacks:"renderCallbacks" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
selectionEnabled
|
boolean
|
true
|
Sets or gets the selectionEnabled property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light",selectionEnabled:false } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
showLegend
|
boolean
|
true
|
Sets or gets the showLegend property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light",showLegend:false } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
source
|
object
|
null
|
Sets or gets the source property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
theme
|
string
|
''
|
Sets or gets the theme property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
valueMember
|
string
|
""
|
Sets or gets the valueMember property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light", valueMember:"value" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
width
|
number
|
600
|
Sets or gets the width property.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light" } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
|
bindingComplete
|
Event
|
|
Code examples
Bind to the bindingComplete event of jqxTreeMap.
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { source:data,colorRange:50, theme: "light" } window.onload = function() { document.querySelector( "jqx-tree-map").addEventListener("bindingComplete", function(event) { // Your code here. }); }; </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
|
destroy
|
Method
|
|
Parameter |
Type |
Description |
None |
|
|
Return Value
void
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { } window.onload = function() { document.querySelector( "jqx-tree-map").destroy(); } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|
render
|
Method
|
|
Parameter |
Type |
Description |
None |
|
|
Return Value
void
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>TreeMap Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtreemap.js"></script> <script type="text/javascript" src="../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> var data = [ { label: 'Drama', value: null, color: '#B3FAFF' }, { label: 'Crime', value: null, color: '#95FF7A' }, { label: 'Action', value: null, color: '#FFA3CE' }, { label: 'Comedy', value: null, color: '#F1A3FF' }, { label: 'The Shawshank Redemption', value: 15.4, parent: 'Drama', data: { description: "Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.", title: "The Shawshank Redemption (1994)" } }, { label: 'Top Gun', value: 4, parent: 'Drama', data: { description: "As students at the Navy's elite fighter weapons school compete to be best in the class, one daring young flyer learns a few things from a civilian instructor that are not taught in the classroom.", title: "Top Gun (1986)" } }, { label: 'The Master', value: 4.5, parent: 'Drama', data: { description: "A Naval veteran arrives home from war unsettled and uncertain of his future - until he is tantalized by The Cause and its charismatic leader.", title: "The Master (2012)" } }, { label: 'Argo', value: 6.8, parent: 'Drama', data: { description: "A dramatization of the 1980 joint CIA-Canadian secret operation to extract six fugitive American diplomatic personnel out of revolutionary Iran.", title: "Argo (2012)" } }, { label: 'Fight Club', value: 8.8, parent: 'Crime', data: { description: "An insomniac office worker looking for a way to change his life crosses paths with a devil-may-care soap maker and they form an underground fight club that evolves into something much, much more.", title: "Fight Club (1999)" } }, { label: 'The Godfather', value: 11, parent: 'Crime', data: { description: "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.", title: "The Godfather (1972)" } }, { label: 'The Dark Knight', value: 8.9, parent: 'Action', data: { description: "When Batman, Gordon and Harvey Dent launch an assault on the mob, they let the clown out of the box, the Joker, bent on turning Gotham on itself and bringing any heroes down to his level.", title: "The Dark Knight (2008)" } }, { label: 'Pulp Fiction', value: 6.0, parent: 'Crime', data: { description: "The lives of two mob hit men, a boxer, a gangster's wife, and a pair of diner bandits intertwine in four tales of violence and redemption.", title: "Pulp Fiction (1994)" } }, { label: 'Forrest Gump', value: 8.7, parent: 'Drama', data: { description: "Forrest Gump, while not intelligent, has accidentally been present at many historic moments, but his true love, Jenny Curran, eludes him.", title: "Forrest Gump (1994)" } }, { label: 'The Matrix', value: 8.7, parent: 'Action', data: { description: "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.", title: "The Matrix (1999)" } }, { label: '12 Angry Men', value: 7.9, parent: 'Drama', data: { description: "Twelve men must decide the fate of one when one juror objects to the jury's decision.", title: "12 Angry Men (TV 1997)" } }, { label: 'Star Wars', value: 10.8, parent: 'Action', data: { description: "Luke Skywalker, a spirited farm boy, joins rebel forces to save Princess Leia from the evil Darth Vader, and the galaxy from the Empire's planet-destroying Death Star..", title: "Star Wars: Episode IV - A New Hope (1977)" } }, { label: 'Inception', value: 9.8, parent: 'Action', data: { description: "A skilled extractor is offered a chance to regain his old life as payment for a task considered to be impossible.", title: "Inception (2010)" } }, { label: 'Snatch.', value: 4.3, parent: 'Crime', data: { description: "Unscrupulous boxing promoters, violent bookmakers, a Russian gangster, incompetent amateur robbers, and supposedly Jewish jewelers fight to track down a priceless stolen diamond.", title: "Snatch (2000)" } }, { label: 'Toy Story', value: 9.3, parent: 'Comedy', data: { description: "A cowboy doll is profoundly threatened and jealous when a new spaceman figure supplants him as top toy in a boy's room.", title: "Toy Story(2005)" } }, { label: 'Skyfall', value: 7, parent: 'Crime', data: { description: "Bond's loyalty to M is tested when her past comes back to haunt her. Whilst MI6 comes under attack, 007 must track down and destroy the threat, no matter how personal the cost.", title: "Skyfall (2012)" } }, { label: 'Parker', value: 5.6, parent: 'Crime', data: { description: "A thief with a unique code of professional ethics is double-crossed by his crew and left for dead. Assuming a new disguise and forming an unlikely alliance with a woman on the inside, he looks to hijack the score of the crew's latest heist.", title: "Parker (1994)" } }, { label: 'District 9', value: 6.0, parent: 'Action', data: { description: "An extraterrestrial race forced to live in slum-like conditions on Earth suddenly finds a kindred spirit in a government agent who is exposed to their biotechnology.", title: "District 9 (2009)" } }, { label: 'Stalag 17', value: 6.1, parent: 'Comedy', data: { description: "When two escaping American World War II prisoners are killed, the German POW camp barracks black marketeer, J.J. Sefton, is suspected of being an informer.", title: "Stalag 17 (1953)" } } ]; JQXElements.settings[ "treeMapSettings"] = { } window.onload = function() { document.querySelector( "jqx-tree-map").render(); } </script></head><body> <jqx-tree-map settings="treeMapSettings"></jqx-tree-map>
|