Graph Foundry
Which chart?
| Chart | Useful for | Data rules |
|---|---|---|
| Bar | Comparing categories, inventories, scores or income | Positive and negative values; zero draws no bar. |
| Line | A trend across ordered days, levels or other categories | One line from row values, or up to eight named series. Categories are equally spaced, including when their names look like dates. |
| Pie / donut | Shares of one total, such as resources or time use | Positive values form the total. Zero and negative values draw no slices. A zero total shows an empty state. |
| Radar / spider | Comparing character builds, skills or other stats | At least three axes. One polygon from row values, or up to eight overlaid named series. Values clamp to zero and their axis limit. |
| Grouped / stacked bars | Comparing several sets of values per category | Up to eight named series sharing the category list. Grouped bars compare individual amounts; stacks accumulate positive and negative values separately from zero. |
Pie percentages are calculated automatically; the supplied values need not add up to 100. Donut hole at zero produces a pie whose slices meet at one shared centre; Slice radius rounds its outer corners without cutting an irregular centre hole. Slice gap is in degrees. For donuts, Slice radius rounds outer and inner corners independently of the background. Inner and outer limits are calculated separately so tiny holes do not remove outer rounding. A complete unbroken ring has no end corners to round. Pointer hits follow the rounded shape.
Background > Corner radius affects only the chart panel. Bars have a separate Bars > Corner radius and Rounded ends setting: Value End rounds the top of a positive bar or the bottom of a negative bar while keeping its zero baseline square; Both Ends rounds both; None makes square bars. New presets use Value End. Saved appearances from the first prototype retain their previous both-end rounding and bar/background radii when loaded.
Bar width (%) and Bar gap (%) are independent proportions of one category slot (plot width divided by item count). Changing width keeps the requested gap; changing spacing keeps the requested width. The group stays centred. If their combined extent is wider than the plot, both scale down together to fit. In scripts the corresponding barWidth and barSpacing fields use 0–1 values. Existing saved spacing is migrated with its original width and gap proportions.
In a single-line chart, each data row's colour controls its point marker. Line colour controls the connecting stroke independently; Point markers > Radius sets marker size. Background/bar/slice radii, stroke width and marker radius use UI units. The Studio's existing radius slider is explicitly labelled Background radius; other appearance settings are available on each chart's Inspector.
Horizontal bars
Choose Bars > Orientation > Horizontal on either a Bar or Grouped / stacked bars chart. Categories run from top to bottom, positive values extend right from zero, and negative values extend left. Grouped/stacked layouts, rounding, treatments, legend controls and fixed/automatic scales work in both orientations. Width and gap refer to the category slots (plot height in horizontal mode). Value End rounds the exposed right/left tip; internal stack joins stay square. Stripe angles stay relative to the screen, while gradients follow the value axis.
Outside End and Inside End follow each bar's signed tip; Centre stays in its middle. Above and Below remain literal screen directions. Category and value offsets stay in screen X/Y units. Labels do not avoid every collision: use Centre for grouped bars, hide values for a compact overview, or adjust spacing/padding for long numbers. The creation menu also has Horizontal bars and Multiple lines shortcuts.
Multiple lines
Create a Line chart and add named rows under Data > Series. Each expanded series contains one value for every category. All lines share the same scale; automatic scaling uses the series values and ignores the inactive single-line values. Series colours set each line's stroke, area fill, markers and legend entry. Stroke pattern, path, marker shape, fill opacity and label settings are shared across the lines. Up to eight lines can be compared; fewer are usually easier to read.
The legend uses named series even when an older appearance has its single-datum key switched off. Hide it with Legend > Show legend when embedding in your own UI. Hover/click a point for series/category/value details, or select the chart and use arrows plus Submit. Coincident points select the last drawn series; keyboard navigation can reach every series. Multiple-line value labels can overlap on close trends, so the Studio example starts with values hidden.
To set orientation in code, edit an appearance copy:
var appearance = chart.Appearance;
appearance.barOrientation = GraphBarOrientation.Horizontal;
chart.Appearance = appearance;