Start a conversation

Metric widget

This module is designed to display the parameters of a distributor's account, by showing one at a time.

It also allows you to flexibly configure the field in which the required account parameter will be displayed.

Configuration

<ui-metric-widget
  property-alias="PV"
  :tree-id="0"
  :number-periods-back="0"
  icon-class="mdi-home"
  background-class="bg-green"
  :total-round="true"
  title="My volume"
  postfix="CV"
  :plain-type="false">
</ui-metric-widget>
props
default
type
description
property-alias=
"PV" String Alias of a property/profile field displayed in a module, only one per declared module
:tree-id=
"0" Number
Id of a marketing tree used to display downline
:number-periods-back=
"0" Number
How many financial periods to count backwards. If value is 0, all metrics shall display current values
icon-class=
"mdi-home" String
What mdi-icon to display inside module
background-class=
"bg-green" String
Which color to use for background
:total-round=
"true" Bool To round or not the value of property
title= "My volume" String
Changes title of module
postfix= "CV" String Overrides text near end of displayable value
:plain-type= "false" Bool If True is presented, the module will only display plain background and value of property without anything else
Note: All of the settings can be customized either from admin panel
by manualy editing code or from within the back office by pressing
on a cog icon in a left upper corner of the page (only accessable
when "Online office admin" flag is presented).
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Vasilii G

  2. Posted
  3. Updated

Comments