html

HTML

WordPress users should be using theĀ Plugin

  • Hierarchical EBV Display - HTML
  • Radar Chart Percentile Display - HTML

Hierarchy EBV Display

Hierarchy EBV Display URL that allows you to specify an NSIP Id, level to load to, default expansion and list of EBVs to display. This is a live diagram that reflects the current data and users can click on the "+" to expand and "-" to collapse the diagram.

The live example above uses the following HTML:

<iframe style="height: 400px;width:100%;border:none;" src="https://sheeptools.com/widget/pedigree?id=6401552023GBR104&ebvs=bwt,mwwt,wwt,pwwt,pemd,wfec,pfec,psc,nlb,nlw,index&expand=0&level=2"></iframe>

style

The style attribute is part of standard HTML. The example above sets the height to 400 pixels and the width to 100% of available space and no border.

id

NSIP Id of the animal that will be the starting point of the hierarchy

level

Specify the level up to which data should be load. 0 = Only load the main animal, 1 = Load first level of hierarchy, 2 = Load first 2 levels of hierarchy etc. There is a maximum and default of 5.

expand

Up to which level should the view automatically be expanded. If you do not want any automatic expansion then specify -1.

ebvs

A comma separated list of EBVs to display.
Valid values: bwt, mbwt, wwt, mwwt, pwwt, ywt, hwt, wfec, pfec, pemd, pfat, yemd, yfat, ygfw, yfd, ysl, psc, nlb, nlw, index, carcass and src
Where index is the appropriate breed index for the animal specific, carcass is the Carcass+ Index and src is the SRC$ Index.

Radar Chart Display

Radar Chart URL that allows you to specify an NSIP Id, weather accuracy information must be displayed and list of EBVs to display. This is a live diagram that reflects the current data, you can move your mouse over the diagram to see more information.

The live example above uses the following HTML:

<iframe style="height: 400px;width:100%;border:none;" src="https://sheeptools.com/widget/radar?id=6401552023GBR104&ebvs=bwt,mwwt,wwt,pwwt,pemd,wfec,pfec,nlb,nlw,index&accuracy=true"></iframe>

style

The style attribute is part of standard HTML. The example above sets the height to 400 pixels and the width to 100% of available space and no border.

id

NSIP Id of the animal for which data must be displayed

ebvs

A comma separated list of EBVs to display (if percentile information is available).
Valid values: bwt, mbwt, wwt, mwwt, pwwt, ywt, hwt, wfec, pfec, pemd, pfat, yemd, yfat, ygfw, yfd, ysl, psc, nlb, nlw, index, carcass and src
Where index is the appropriate breed index for the animal specific, carcass is the Carcass+ Index and src is the SRC$ Index.

accuracy

A value of "true" results in the ebv percentile as well as the accuracy being displayed. Only ebv percentile information will be displayed if "false" is passed.