SportApp: How do I add StatStyles?

Topic

  • StatStyles are handled on a SportApp or score bug level. If your score bug doesn't have its own StatStyle it will use a default StatStyle. If you need additional or custom stats, the StatStyle file will need to be edited.
  • Every SportApp uses a different StatStyle since the stats vary from sport to sport.  This example uses basketball scorebugs.

Location

  • Default file- The default StatStyle file is in the SportApp settings folder. Example - C:\ProgramData\AJT Systems\Basketball SportApp 3.1.22.72\Settings.
  • StatSyle for scorebug- The StatStyle for the scorebug is in the template folder where your scorebug is stored. Example - C:\ProgramData\AJT Systems\MAM\Basketball \Templates\ NBA_G_League_Basketball_Scorebug

StatStyle Categories

  1. Player Stat
  2. Team Stat
  3. Team Comparison Stat

Environment

  • Product: SportApp
  • Component: StatStyle or Stat Style
  • Control System: Live Book GFX®

Steps

Load the StatStyle in Excel.

  1. Close the SportApp.
  2. Locate and open the StatStyle in Excel.
  • To add an additional player or team stat, click on the plus button located on the bottom lower right of the Excel UI. A new blank sheet will be added.

A picture containing device  Description automatically generated
  • To create a new player 2 stat that will show 3 Points and Assists, copy line 1 and 2 of the first image and paste its contents in the new sheet.
Change cell I and J so that it will get the stat for 3 Points and Assist. The player stat name corresponds to what is seen on the player grid in the stat editor of the SportApp.
  • In cell I, {3-P} is entered for player 3 Points.
  • In cell J, {A} is entered for player assists.
  • The stat must go in curly braces for them to get data from the grid.
  • The name of the stat goes to the right of the stat.

Change the name of the sheet so that it corresponds to the stat being shown in the app.

Save the StatStyle and view the player stat in the SportApp.
image.png

Show a stat that contains field goal and field goal attempt.


When viewed in the SportApp it shows points, field goal and field goal attempt.


The process outlined above is similar for all other sports that will show stats.

Modifying Team Comparison Dropdown List.


The StatStyle file will be next to the corresponding Scorebug.xml file.

Right Click an existing Team Comparison Stat and select “Move or Copy”.

Verify create a copy is checked.


Relabel the tab to the desired stat.
  1. Modify Cells D2 to display the desired stat label.
  2. Modify Cells E2 & F2 with the correct Stat Tag from SportApp for the corresponding teams.

image.png
 

KB ID: DD4566785


DISCLAIMER: Use of this content may void the equipment warranty, please read the disclaimer prior to performing any service of the equipment.

DAKTRONICS DOES NOT PROMISE THAT THE CONTENT PROVIDED HEREIN IS ERROR-FREE OR THAT ANY DEFECTS WILL BE CORRECTED, OR THAT YOUR USE OF THE CONTENT WILL PROVIDE SPECIFIC RESULTS. THE CONTENT IS DELIVERED ON AN "AS-IS" AND "AS-AVAILABLE" BASIS. ALL INFORMATION PROVIDED IN THIS ARTICLE IS SUBJECT TO CHANGE WITHOUT NOTICE. DAKTRONICS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OF ACCURACY, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. DAKTRONICS DISCLAIMS ANY AND ALL LIABILITY FOR THE ACTS, OMISSIONS AND CONDUCT OF YOU OR ANY THIRD PARTIES IN CONNECTION WITH OR RELATED TO YOUR USE OF THE CONTENT. ADJUSTMENT, REPAIR, OR SERVICE OF THE EQUIPMENT BY ANYONE OTHER THAN DAKTRONICS OR ITS AUTHORIZED REPAIR AGENTS MAY VOID THE EQUIPMENT WARRANTY. YOU ASSUME TOTAL RESPONSIBILITY FOR YOUR USE OF THE CONTENT AND ANY LINKED CONTENT. YOUR SOLE REMEDY AGAINST DAKTRONICS FOR DISSATISFACTION WITH THE CONTENT IS TO STOP USING THE CONTENT. THIS LIMITATION OF RELIEF IS A PART OF THE BARGAIN BETWEEN THE PARTIES.

The above disclaimer applies to any property damage, equipment failure, liability, infringement, or personal injury claim arising out of or in any way related to your use or application of the content, whether such claim is for breach of contract, tort, negligence or any other cause of action.