This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
start [2017/06/08 20:26] admin |
start [2017/08/29 19:42] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | [[NovoNexus Modules|NovoNexus Modules]] | ||
+ | |||
< | < | ||
< | < | ||
Line 45: | Line 47: | ||
</ | </ | ||
</ | </ | ||
- | |||
Line 52: | Line 53: | ||
<script type=" | <script type=" | ||
<script type=" | <script type=" | ||
- | google.charts.load(' | + | google.charts.load(' |
- | google.charts.setOnLoadCallback(initialize); | + | google.charts.setOnLoadCallback(drawChart); |
- | function | + | function |
- | // The URL of the spreadsheet to source data from. | + | var data = google.visualization.arrayToDataTable( |
- | var query = new google.visualization.Query( | + | [ [' |
- | 'https:// | + | |
- | | + | ['cats eat kibble' |
+ | ['cats are better than hamsters' | ||
+ | ['cats are awesome' | ||
+ | ['cats are people too' | ||
+ | ['cats eat mice' | ||
+ | ['cats meowing' | ||
+ | ['cats in the cradle' | ||
+ | ['cats eat mice' | ||
+ | ['cats in the cradle lyrics' | ||
+ | ['cats eat kibble' | ||
+ | ['cats for adoption' | ||
+ | ['cats are family' | ||
+ | ['cats eat mice' | ||
+ | ['cats are better than kittens' | ||
+ | ['cats are evil' | ||
+ | ['cats are weird' | ||
+ | ['cats eat mice' | ||
+ | ] | ||
+ | ); | ||
+ | |||
+ | var options = { | ||
+ | wordtree: { | ||
+ | format: ' | ||
+ | word: ' | ||
+ | } | ||
+ | }; | ||
+ | |||
+ | var chart = new google.visualization.WordTree(document.getElementById('wordtree_basic' | ||
+ | | ||
} | } | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | <div id=" | ||
+ | </ | ||
+ | </ | ||
- | function draw(response) { | + | < |
- | if (response.isError()) { | + | digraph example1 {Hello->" |
- | alert('Error in query'); | + | </ |
- | } | + | |
- | var ticketsData | + | === Example 2 from http://www.mediawiki.org/ |
- | var chart = new google.visualization.ColumnChart( | + | < |
- | | + | graph EXAMPLE2 |
- | chart.draw(ticketsData, | + | run -- intr; |
- | ' | + | intr -- runbl; |
+ | runbl -- run; | ||
+ | run -- kernel; | ||
+ | kernel -- zombie; | ||
+ | kernel -- sleep; | ||
+ | kernel -- runmem; | ||
+ | sleep -- swap; | ||
+ | swap -- runswap; | ||
+ | runswap -- new; | ||
+ | runswap -- runmem; | ||
+ | new -- runmem; | ||
+ | sleep -- runmem; | ||
+ | } | ||
+ | </ | ||
- | var geoData = google.visualization.arrayToDataTable([ | + | < |
- | [' | + | |
- | [51.5072, -0.1275, ' | + | |
- | [48.8567, 2.3508, ' | + | |
- | [55.7500, 37.6167, ' | + | |
- | var geoView | + | digraph L0 { |
- | | + | size = " |
+ | ordering=out; | ||
+ | node [shape = box]; | ||
+ | |||
+ | n0 [label=" | ||
+ | n1 [label=" | ||
+ | n2 [label=" | ||
+ | n3 [label=" | ||
+ | n4 [label=" | ||
+ | n5 [label=" | ||
+ | n6 [label=" | ||
+ | n7 [label="("]; | ||
+ | n8 [label=" | ||
+ | n9 [label=" | ||
+ | n10 [label=" | ||
+ | n11 [label=" | ||
+ | n12 [label=" | ||
+ | n13 [label=" | ||
+ | n14 [label=" | ||
+ | n15 [label=" | ||
+ | n16 [label=" | ||
+ | n17 [label=" | ||
+ | n18 [label=" | ||
+ | n19 [label=" | ||
+ | n20 [label=" | ||
+ | n21 [label=" | ||
+ | n22 [label=" | ||
+ | n23 [label=" | ||
+ | n24 [label=" | ||
+ | n25 [label=" | ||
+ | n26 [label=" | ||
+ | n27 [label=" | ||
+ | n28 [label=" | ||
+ | n29 [label=" | ||
+ | n30 [label=" | ||
+ | n31 [label=" | ||
+ | n32 [label=" | ||
+ | n33 [label=" | ||
+ | n34 [label=" | ||
+ | n35 [label=" | ||
+ | n36 [label=" | ||
+ | n37 [label=" | ||
+ | n38 [label=" | ||
+ | n39 [label=" | ||
+ | n40 [label=" | ||
+ | n41 [label=" | ||
+ | n42 [label=" | ||
+ | n0 ->{ n1 n4 n5 n39 n40 }; | ||
+ | n1 ->n2 ; | ||
+ | n2 ->n3 ; | ||
+ | n5 ->{ n6 n16 n17 }; | ||
+ | n6 ->{ n7 n8 n15 }; | ||
+ | n8 ->n9 ; | ||
+ | n9 ->{ n10 n12 n13 }; | ||
+ | n10 ->n11 ; | ||
+ | n13 ->n14 ; | ||
+ | n17 ->{ n18 n19 n38 }; | ||
+ | n19 ->{ n20 n26 n27 }; | ||
+ | n20 ->{ n21 n23 n24 }; | ||
+ | n21 ->n22 ; | ||
+ | n24 ->n25 ; | ||
+ | n27 ->n28 ; | ||
+ | n28 ->{ n29 n30 n37 }; | ||
+ | n30 ->n31 ; | ||
+ | n31 ->{ n32 n34 n35 }; | ||
+ | n32 ->n33 ; | ||
+ | n35 ->n36 ; | ||
+ | n40 ->n41 ; | ||
+ | n41 ->n42 ; | ||
+ | } | ||
+ | </ | ||
- | var table = | ||
- | new google.visualization.Table(document.getElementById(' | ||
- | table.draw(geoData, | ||
- | var map = | + | < |
- | new google.visualization.Map(document.getElementById(' | + | |
- | map.draw(geoView, | + | |
- | // Set a ' | + | digraph G {bgcolor=blue |
- | // When the table is selected, we set the selection on the map. | + | |
- | google.visualization.events.addListener(table, | + | |
- | function() | + | |
- | map.setSelection(table.getSelection()); | + | |
- | }); | + | |
- | // Set a ' | ||
- | // When the map is selected, we set the selection on the table. | ||
- | google.visualization.events.addListener(map, | ||
- | function() { | ||
- | table.setSelection(map.getSelection()); | ||
- | }); | ||
- | } | ||
- | </ | ||
- | </ | ||
- | < | + | subgraph cluster_1 { fontcolor=white |
- | < | + | node [ style=filled, |
- | <tr valign="top"> | + | node [ shape="ellipse", |
- | < | + | node [ shape="circle",fillcolor="cadetblue1:chocolate1" |
- | < | + | node [ shape="diamond", |
- | </ | + | node [ shape="triangle",fillcolor=" |
- | <td style="width: 50%;"> | + | node [ shape="pentagon",fillcolor="gray24:gray88" |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <td colSpan=2> | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </body> | + | label = "X11 Colors"; |
- | </html> | + | } |
+ | subgraph cluster_2 { fontcolor=white | ||
+ | node [ style=filled, | ||
+ | node [ shape=" | ||
+ | node [ shape=" | ||
+ | node [ shape=" | ||
+ | node [ shape=" | ||
+ | node [ shape=" | ||
+ | |||
+ | label = "SVG Colors"; | ||
+ | } | ||
+ | subgraph cluster_3 { fontcolor=white | ||
+ | node [ style=filled, | ||
+ | node [ shape=" | ||
+ | node [ shape=" | ||
+ | node [ shape=" | ||
+ | node [ shape=" | ||
+ | node [ shape=" | ||
+ | |||
+ | label = " | ||
+ | } | ||
+ | subgraph cluster_4 { fontcolor=white | ||
+ | node [ style=filled, | ||
+ | node [ shape=" | ||
+ | node [ shape=" | ||
+ | node [ shape=" | ||
+ | node [ shape=" | ||
+ | node [ shape=" | ||
+ | |||
+ | label = " | ||
+ | } | ||
+ | |||
+ | n3 -> n9 -> n15 -> n21; | ||
+ | } | ||
+ | </graphviz> | ||
- | < | + | < |
digraph ATN { | digraph ATN { | ||
rankdir=LR; | rankdir=LR; |