Grasshopper

algorithmic modeling for Rhino

0 | Ladybug
1 | AnalyzeWeatherData
2 | VisualizeWeatherData
3 | EnvironmentalAnalysis
4 | Renewables
5 | Extra
6 | Developers
7 | WIP

Monthly Bar Chart

Component Index > Ladybug > 2 | VisualizeWeatherData > Monthly Bar Chart

Use this component to make a bar chart in the Rhino scene of any monhtly or avrMonthyPerHour climate data or simulation data.
This component can also plot daily or hourly data but, for visualizing this type of data, it is recommended that you use the "Ladybug_3D Chart" component.

Inputs

NameIDDescriptionType
_inputData_inputDataA list of input data to plot. This should usually be data out of the 'Ladybug_Average Data' component or monthly data from an energy simulation but can also be hourly or daily data from the 'Ladybug_Import EPW.' However, it is recommended that you use the 'Ladybug_3D Chart' component for daily or hourly data as this is usually a bit clearer.Goo
..Goo
..Goo
stackValues_stackValues_Set to 'True' if you have multiple connected monthly or daily _inputData with the same units and want them to be drawn as bars stacked on top of each other. Otherwise, all bars for monthly/daily data will be placed next to each other. The default is set to 'False' to have these bars placed next to each other.Goo
plotFromZero_plotFromZero_Set to 'True' to have the component plot all bar values starting from zero (as opposed from the bottom of the chart, which might be a negative number). This is useful when you are plotting the terms of an energy balance where you want gains to be above zero and losses to be below. It can be detrimental if you are plotting temperatures in degrees celcius and do not want negative values to go below zero. As such, the default is set to 'False' to not plot from zero.Goo
altTitle_altTitle_An optional text string to replace the default title of the chart of the chart. The default is set to pick out the location of the data connected to 'inputData.'Goo
altYAxisTitle_altYAxisTitle_An optional text string to replace the default Y-Axis label of the chart. This can also be a list of 2 y-axis titles if there are two different types of data connected to _inputData. The default is set to pick out the names of the first (and possibly the second) list connected to the 'inputData.'Goo
_basePoint__basePoint_An optional point with which to locate the 3D chart in the Rhino Model. The default is set to the Rhino origin at (0,0,0).Goo
_xScale__xScale_The scale of the X axis of the graph. The default is set to 1 and this will plot the X axis with a length of 120 Rhino model units (for 12 months of the year).Goo
_yScale__yScale_The scale of the Y axis of the graph. The default is set to 1 and this will plot the Y axis with a length of 50 Rhino model units.Goo
_labelPtsOffset__labelPtsOffset_A number in Rhino model units that represents the distance between the top of bars on the chart and the location where the dataLabelPts are. If you set this value to 0, you can use the dataLabelPts to create a polyline of monthly values. The default is autocalculated based on the scale of the chart.Goo
legendPar_legendPar_Optional legend parameters from the Ladybug Legend Parameters component.Goo
bakeIt_bakeIt_An integer that tells the component if/how to bake the bojects in the Rhino scene. The default is set to 0. Choose from the following options: 0 (or False) - No geometry will be baked into the Rhino scene (this is the default). 1 (or True) - The geometry will be baked into the Rhino scene as a colored hatch and Rhino text objects, which facilitates easy export to PDF or vector-editing programs. 2 - The geometry will be baked into the Rhino scene as colored meshes, which is useful for recording the results of paramteric runs as light Rhino geometry.Goo

Outputs

NameIDDescriptionType
outreadMe!...String
dataMeshdataMeshA series of meshes that represent the different monthly (or daily) input data. Multiple lists of meshes will be output for several input data streams.Goo
dataCurvesdataCurvesA list of curves that represent the different avrMonthyPerHour and hourly input data. Multiple lists of curves will be output for several input data streams.Goo
dataCrvColorsdataCrvColorsA list of colors that correspond to the dataCurves above. Hook this up to the 'swatch' input of the native Grasshopper 'Preview' component and the curves above up to the 'geometry input to preview the curves with their repective color.Goo
graphAxesgraphAxesA list of curves representing the axes of the chart.Goo
graphLabelsgraphLabelsA list of text meshes representing the time periods corresponding to the input dataGoo
titletitleA title for the chart. By default, this is just the location of the data but you can input a custom title with the altTitle_ input.Goo
titleBasePttitleBasePtThe title base point, which can be used to move the title in relation to the chart with the grasshopper "move" component.Goo
legendlegendA legend of the chart that tells what each connected data stram's color is. Connect this output to a grasshopper "Geo" component in order to preview the legend in the Rhino scene.Goo
legendBasePtlegendBasePtThe legend base point, which can be used to move the legend in relation to the chart with the grasshopper "move" component.Goo
dataLabelPtsdataLabelPtsA series of points that mark where each of the bars or lines of the chart lie. You can use this to label the bars or lines with numerical values using a native grasshopper "text tag" component and the data that you have connected to the _inputData of this component.Goo
comfortBandcomfortBandA series of meshes that represent the comfort range in each month according to the input comfortModel_.Goo
comfortLegendcomfortLegendA legend for the comfort model. This legend will only be provided if temperature is fed to this component and the value provided to the comfortModel_ is either 1, 2, or 3.Goo

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service