TinyChartConfig
public class TinyChartConfigControls the reduced axes, labels, padding, and decoration used by compact chart variants.
Fields
Section titled “Fields”
[Tooltip("Fitting strategy when the chart is smaller than its natural size.")]public TinyChartFit FitReturns
ChartGuru.TinyChartFit
Padding
Section titled “Padding”[Tooltip("Padding around the chart content in pixels.")][Range(0, 20)]public float PaddingReturns
System.Single
LineWidth
Section titled “LineWidth”[Tooltip("Stroke width for the sparkline or trend line.")][Range(0.1, 10)]public float LineWidthReturns
System.Single
BarSpacing
Section titled “BarSpacing”[Tooltip("Pixel gap between bars in a mini bar chart.")][Range(0, 20)]public float BarSpacingReturns
System.Single
CornerRadius
Section titled “CornerRadius”[Tooltip("Corner radius for bars and indicators. −1 = auto (pill shape), 0 = sharp corners, >0 = explicit radius.")]public float CornerRadiusCorner radius for bars and indicators. -1 = auto (half bar height for pill shape), 0 = sharp corners, >0 = custom radius.
Returns
System.Single
ShowMinMax
Section titled “ShowMinMax”[Tooltip("Show markers at the minimum and maximum data values.")]public bool ShowMinMaxReturns
System.Boolean
ShowLastValue
Section titled “ShowLastValue”[Tooltip("Highlight the most recent (last) data point.")]public bool ShowLastValueReturns
System.Boolean
PositiveColor
Section titled “PositiveColor”[Tooltip("Colour used for bars or points representing positive (rising) values.")]public Color PositiveColorReturns
UnityEngine.Color
NegativeColor
Section titled “NegativeColor”[Tooltip("Colour used for bars or points representing negative (falling) values.")]public Color NegativeColorReturns
UnityEngine.Color
NeutralColor
Section titled “NeutralColor”[Tooltip("Colour used for neutral (unchanged) values.")]public Color NeutralColorReturns
UnityEngine.Color
TrendLineColor
Section titled “TrendLineColor”[Tooltip("Colour used for the trend overlay line.")]public Color TrendLineColorReturns
UnityEngine.Color
Constructors
Section titled “Constructors”
TinyChartConfig()
Section titled “TinyChartConfig()”public TinyChartConfig()Properties
Section titled “Properties”
Sparkline
Section titled “Sparkline”public static TinyChartConfig Sparkline { get; }Default configuration for sparkline charts.
Returns
ChartGuru.TinyChartConfig
public static TinyChartConfig Trend { get; }Default configuration for trend line charts.
Returns
ChartGuru.TinyChartConfig
MiniBar
Section titled “MiniBar”public static TinyChartConfig MiniBar { get; }Default configuration for mini bar charts.
Returns
ChartGuru.TinyChartConfig
MiniPie
Section titled “MiniPie”public static TinyChartConfig MiniPie { get; }Default configuration for mini pie charts.
Returns
ChartGuru.TinyChartConfig