Betting Entertainment Tools

Season Outcome

A season.outcome is an extension of the live table widget, showing current position of each team and the most probable positions at the end of the season, based on win probabilities for upcoming matches.

For the widget to render you need to provide tournamentId or matchId (is used to obtain tournamentId), other properties are optional.

Parameters
Name Type Attributes Default Description
props object <required>
matchId number <required>

Match Id.

tournamentId number <required>

Tournament Id.

rowHeight number 32

Sets the height of the row.

pathArc number 15

Sets the curvature of the path arc.

outrightName string

When set, determines the outright by which the odds are calculated. Default values (depending on the selected tournament) are: Premier League - Winner, Ligue 1 - Winner, Bundesliga - Winner ...

disableWidgetHeader boolean false

When set to true, hides widget header.

onTrack function

Function/event handler, see Tracking options.

Examples

HTML/Declarative

<div id="sr-widget" data-sr-widget="season.outcome" data-sr-match-id="28933404"></div>
<script type="application/javascript" src="https://widgets.sir.sportradar.com/sportradar/widgetloader" async></script>

JS/Programmatic

<script>
    (function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
    g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
    )})(window,document,"script","https://widgets.sir.sportradar.com/sportradar/widgetloader","SIR", {
        language: 'en'
    });
    SIR('addWidget', '#sr-widget', 'season.outcome', {matchId: 28933404});
</script>
<div id="sr-widget"></div>