Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

.Simulation
Analysis
Data
Geometry
Materials
PV
Schedules
Settings
Sun
Thermal Model

Creates 2D plots

Inputs

NameIDDescriptionType
typetypechart type: 0=line, 1=bar, 2=stacked bar, 3=scatterInteger
widthwidthchart widthInteger
heightheightchart heightInteger
titletitlechart titleText
x_titlex_titlex-axis titleText
y_titley_titley-axis titleText
x_datax_dataseries x values only used for scatter plotsNumber
x_labelsx_labelslabels for x position used for line and bar chars default is {1,2,3,...}Text
x_rotx_rotrotation for x-axis tick labelsNumber
y_datay_dataseries y valuesNumber
pt_clrpt_clrscatter point colors (one per value, must match y_data structure)Colour
colorscolorsseries colorsColour
namesnamesseries namesText
domaindomainx-axis domainDomain
rangerangey-axis rangeDomain
grid_xgrid_xspacing for x-axis ticks, labels and gridlinesNumber
grid_ygrid_yspacing for y-axis ticks, labels and gridlinesNumber
show_xgridshow_xgshow x-axis grid linesBoolean
show_ygridshow_ygshow y-axis grid linesBoolean
legendlegendlegend position: 0=bottom, 1=right, 3=noneInteger
point_sizept_sizedata point sizeNumber
bar_widthbar_widthrelative bar width (0-1]Number

Video Tutorials

Site design © Robin Rodricks.   DIVA and associated data © 2020 Solemma.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service