Sparklines fields and settings

    Every field well and every setting in the format pane of version 1.0.0.0, read from the package you download. The internal names in grey are what a PBIR file or a report-authoring agent uses. Which features need a licence is on the Sparklines page; every setting works in edit mode with or without one.

    8 fields · 21 cards · 111 settings Markdown for AI assistantscatalog.json

    Fields

    FieldTakesNeededWhat it is for
    Axis (date)axisColumnOptionalThe time axis: a date, a date hierarchy level, a number or text periods
    LegendlegendColumnOptionalOne series per value (one row per value in Sparklines)
    ValuesvaluesMeasureOptionalMeasures drawn as lines, areas or sparklines
    TargettargetMeasureOptionalPlan, budget or target: a dashed series and the base for variances
    HighhighMeasureOptionalHighest value of each period (candles), or the top of a range band
    LowlowMeasureOptionalLowest value of each period (candles), or the bottom of a range band
    Small multiplesfacetColumnOptionalOne panel per value (premium)
    TooltipstooltipsMeasureOptionalExtra fields in tooltips

    Presets and Templatespresets

    SettingType and options
    Apply Presetpreset
    • (choose to apply) none
    • Executive executive
    • Finance (IBCS) finance
    • Trading trading
    • Monitoring monitoring
    • Print print
    Style Template (copy or paste)templateText

    Sparklinessparklines

    SettingType and options
    Layoutlayout
    • Table table
    • Grid of tiles grid
    Sparklinetype
    • Line line
    • Area area
    • Columns column
    • Win / loss winloss
    • Last value vs target bullet
    Table ColumnscolumnsText
    Change CompareschangeBasis
    • Last vs first in view window
    • Last vs previous point previous
    • Last vs same period a year ago year
    Scalescale
    • Shared (honest comparison) shared
    • Independent per row (shape only) independent
    Sort Rows BysortBy
    • Data order data
    • Name name
    • Last value last
    • Change change
    • Change % changePct
    • Trend (Sen's slope) trend
    Sort DirectionsortDirection
    • Ascending asc
    • Descending desc
    Row HeightrowHeightNumber
    Tile Columns (0 = auto)tileColumnsNumber
    Mark FirstmarkFirstOn / off
    Mark LastmarkLastOn / off
    Mark Minimum and MaximummarkMinMaxOn / off
    Mark Negative ValuesmarkNegativeOn / off
    Normal Range FrombandFromText
    Normal Range TobandToText
    Higher Is BetterhigherIsBetterOn / off
    Year-End ProjectionyearEndOn / off

    Data Labelslabels

    SettingType and options
    Showshow
    • None none
    • All points all
    • Last point last
    • Minimum and maximum minmax
    • First and last firstlast
    Label Every Nth PointeveryNumber
    Decimals (-1 = auto)decimalsNumber
    Font SizefontSizeNumber
    ColourcolorColour
    Background PillbackgroundOn / off

    Trend Linetrend

    SettingType and options
    Typetype
    • None none
    • Linear linear
    • Polynomial (2nd order) poly2
    • Polynomial (3rd order) poly3
    • Polynomial (4th order) poly4
    • Exponential exponential
    • Logarithmic logarithmic
    • Power power
    • LOESS (smooth) loess
    • Simple moving average sma
    • Exponential moving average ema
    • Weighted moving average wma
    Moving Average PeriodswindowNumber
    LOESS Span (%)spanNumber
    For Every SeriesallSeriesOn / off
    Line Styledash
    • Solid solid
    • Dashed dashed
    • Dotted dotted
    • Dash-dot dashdot
    Equation and R² in LegendshowEquationOn / off

    Forecastforecast

    SettingType and options
    Show ForecastshowOn / off
    Periods Ahead (0 = one season)horizonNumber
    Or Forecast Through (yyyy-mm-dd)throughText
    Modelmodel
    • Automatic (lowest AICc) auto
    • Simple exponential smoothing ANN
    • Holt linear trend AAN
    • Damped trend AAdN
    • Seasonal, no trend ANA
    • Holt-Winters additive AAA
    • Holt-Winters damped AAdA
    Season Length (0 = from dates)seasonNumber
    Prediction Intervallevel
    • None none
    • 80 % 80
    • 95 % 95
    • 80 % and 95 % both
    Mark AnomaliesanomaliesOn / off
    For Every SeriesallSeriesOn / off

    Trend TesttrendTest

    SettingType and options
    Test for a Trend (Mann-Kendall)showOn / off
    Significance Levelalpha
    • 10 % 0.1
    • 5 % 0.05
    • 1 % 0.01

    X-AxisxAxis

    SettingType and options
    ShowshowOn / off
    TitleshowTitleOn / off
    Font SizefontSizeNumber
    ColourcolorColour
    Vertical GridlinesgridOn / off

    Y-AxisyAxis

    SettingType and options
    ShowshowOn / off
    TitleshowTitleOn / off
    Minimum (blank = auto)minText
    Maximum (blank = auto)maxText
    Start At Zerozero
    • Automatic (columns and areas) auto
    • Always always
    • Never never
    Logarithmic ScalelogOn / off
    Decimals (-1 = auto)decimalsNumber
    Font SizefontSizeNumber
    ColourcolorColour
    Align Zero Across AxesalignOn / off

    Gridlinesgridlines

    SettingType and options
    Stylestyle
    • From theme theme
    • Solid solid
    • Dashed dashed
    • Dotted dotted
    • Zebra bands bands
    • None none
    ColourcolorColour

    Legendlegend

    SettingType and options
    ShowshowOn / off
    Positionposition
    • Top top
    • Bottom bottom
    • Right right
    Font SizefontSizeNumber
    Text ColourcolorColour

    Reference LinesrefLines

    SettingType and options
    Line 1line1
    • None none
    • A value value
    • Average average
    • Median median
    • Percentile percentile
    • Minimum min
    • Maximum max
    • Target field (last value) target
    Line 1 Valueline1ValueNumber
    Line 1 Percentileline1PctNumber
    Line 1 Labelline1LabelText
    Line 1 Colourline1ColorColour
    Line 2line2
    • None none
    • A value value
    • Average average
    • Median median
    • Percentile percentile
    • Minimum min
    • Maximum max
    • Target field (last value) target
    Line 2 Valueline2ValueNumber
    Line 2 Percentileline2PctNumber
    Line 2 Labelline2LabelText
    Line 2 Colourline2ColorColour
    For Every SeriesperSeriesOn / off
    Vertical Linevertical
    • None none
    • Today today
    • A date date
    Vertical Line Date (yyyy-mm-dd)verticalDateText
    Vertical Line LabelverticalLabelText

    Reference BandsrefBands

    SettingType and options
    Value Band FromvalueFromText
    Value Band TovalueToText
    Value Band LabelvalueLabelText
    Value Band ColourvalueColorColour
    Period From (yyyy-mm-dd)timeFromText
    Period To (yyyy-mm-dd)timeToText
    Period LabeltimeLabelText
    Period ColourtimeColorColour

    Annotationsannotations

    SettingType and options
    Stylestyle
    • Pin with label pin
    • Flag on the axis flag
    • Numbered, listed in the footnote numbered
    Shade Until the Next AnnotationshadeUntilNextOn / off
    Font SizefontSizeNumber
    ColourcolorColour

    Zoomnavigator

    SettingType and options
    Range NavigatorshowOn / off
    Navigator HeightheightNumber
    Ctrl + Wheel Zooms, Drag PanswheelOn / off

    Small MultiplessmallMultiples

    SettingType and options
    Columns (0 = auto)columnsNumber
    Shared Y-AxissharedYOn / off

    Smart Captioncaption

    SettingType and options
    ShowshowOn / off
    Positionposition
    • Top top
    • Bottom bottom
    Font SizefontSizeNumber
    Text ColourcolorColour

    Footnotefootnote

    SettingType and options
    ShowshowOn / off
    SourcesourceText
    State the MethodsshowMethodOn / off
    Font SizefontSizeNumber
    Text ColourcolorColour

    Accessibilityaccessibility

    SettingType and options
    Distinguish Series Without ColourdistinguishOn / off
    Focus Outline ColourfocusColorColour
    Focus Outline WidthfocusWidthNumber
    Minimum Text Size (0 = off)minFontSizeNumber

    Themetheme

    SettingType and options
    ThemeselectedTheme
    • SmartVisuals smartvisuals
    • Dark dark
    • Clean (White) clean
    • Slate slate
    Fontfont
    • Inter inter
    • Segoe UI segoe
    • Arial arial
    • Georgia georgia
    Transparent BackgroundtransparentBgOn / off

    Series ColoursseriesColors

    SettingType and options
    ColourfillColour

    Data ColoursdataPoint

    SettingType and options
    ColourfillColour

    Setting a value in PBIR

    In a visual.json, a setting goes under visual.objects, by card and internal name. Toggles take true or false, choices and text a value in single quotes ('auto'), numbers a D suffix (12D).

    "visual": {
      "visualType": "smartvisualsSparklines273A71B3DDD15D046A87FA01A562EB26",
      "objects": {
        "sparklines": [{
          "properties": {
            "markFirst": { "expr": { "Literal": { "Value": "true" } } }
          }
        }]
      }
    }