Chart

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with " This command is a Chart Command in the UBot Studio Extended Library. This will create a tab in the browser area. A chart is generated for the graph being creat...")
 
Line 14: Line 14:
 
     add item to list(%Data,$rand(200000000,500000000),"Don\'t Delete","Global")
 
     add item to list(%Data,$rand(200000000,500000000),"Don\'t Delete","Global")
 
}
 
}
chart("Population") {
+
chart("My Data") {
     plot("Line Graph",%population)
+
     plot("Line Graph",%Data)
 
}
 
}
 +
 
</pre>
 
</pre>
  

Revision as of 20:28, 8 June 2015

This command is a Chart Command in the UBot Studio Extended Library. This will create a tab in the browser area.

A chart is generated for the graph being created.

This command works with the Plot command.

Name: Name of the chart for the graph being generated.

Example


loop(20) {
    add item to list(%Data,$rand(200000000,500000000),"Don\'t Delete","Global")
}
chart("My Data") {
    plot("Line Graph",%Data)
}


Running the command will run the loop command to generate data, and then run the Plot command to plot the data within the charting area.


File:Chartplot.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox