Docs menu

Consulting charts

The Ninth Forge Consulting control (nf_NinthForge.Consulting) draws three charts consultants reach for: a 2×2 matrix with named quadrants, a tornado of drivers around a base case, and a Harvey-ball table of options against criteria. It’s a Charts Pro control: without a key it works fully and shows a small watermark.

  • 2×2 matrix: a labelled scatter on four named quadrants, such as product ranges by market share and growth.
  • Tornado: the downside and upside of each driver around a base case, widest first. It shows what moves the answer.
  • Harvey balls: options scored against criteria, with a total.

Pick one with Chart type: 2×2 matrix, Tornado or Harvey balls. The control reads up to 20,000 rows.

2×2 matrix

  1. Make a view with one row per point. You need a Category (the point’s name), an X value (2×2) (horizontal) and a Value (vertical). Optional: a Second value sizes the bubbles.
  2. Put the control on the view (model-driven apps) or bind it to the table (canvas apps), set Chart type to 2×2 matrix, and map the columns.
  3. Set Quadrant names (2×2) to four names separated by |, in the order top-left, top-right, bottom-left, bottom-right. For example:

A 2×2 portfolio matrix: business units plotted by relative market share and market growth, sized by revenue, in four labelled quadrants from Invest to lead to Exit or merge.

Invest to lead|Fix or bet|Harvest for cash|Exit or merge

Leave a slot empty for a quadrant without a name, such as Stars||Cash cows|. 4. Set Quadrant split (2×2) to where the quadrants divide, as x|y, such as 1|10. Leave it empty for the middle of each axis, or leave one side empty, such as |10. 5. Optional settings:

  • High X on the left (2×2), for a relative-share axis.
  • X axis title (2×2) and Y axis title (2×2).
  • Bubble size means (2×2), such as revenue, which appears in the note under the chart.
  • Label the largest (2×2), to name only that many of the biggest points.

Each point is a button. Click it, or Tab to it and press Enter, to show its values in the note under the chart and fill the outputs. Click it again to clear the selection.

Names never sit on a bubble, another name or a quadrant name. A name tries the right of its bubble, then the left, above and below, then a short leader line into clear space. If none of those has room, it’s left out. Its values stay in the tooltip, the note and what screen readers read.

Tornado

  1. Make a view with one row per driver. The Category is the driver (“Price ±5%”), the Value its downside change from the base, and the Second value its upside change.
  2. Set Chart type to Tornado and map the three columns.
  3. Set Base case (tornado) to the base value, such as 120. Each driver then shows its range (“92 to 151”) under its name when there’s room, and always in the tooltip. The legend shows the base.

A tornado chart of how much each driver moves NPV, price and input cost at the top, beside a Harvey ball table scoring build, acquire and partner on five criteria.

Drivers sort by their swing, widest on top. Both sides share one scale around the centre line: a change below the base is red, and a change above it is green. Downside name (tornado) and Upside name (tornado) rename the legend, which starts as “Downside case” and “Upside case”.

Each driver is a button, so you can click it or Tab to it and press Enter.

Harvey balls

  1. Make a view with one row per score. The Category is the criterion (“Cost”), Split by (Harvey options) the option (“Build”, “Acquire”, “Partner”), and the Value the score.
  2. Set Chart type to Harvey balls and map the columns.
  3. Set Top score (Harvey balls) to the score of a full ball. The default is 4, so a ball fills in quarters. Scores round to the nearest quarter for drawing; the exact score is in the tooltip and what screen readers read.

When Title is empty, the title names the leader: “Partner scores best (15/20)”. Click an option’s name to compare it: its column is tinted and the title says how far it trails. Turn Totals row (Harvey balls) off to hide the score row.

Outputs

When you select something, the outputs update and OnSelect runs:

  • 2×2 matrix: selectedCategory is the point, selectedValue its vertical value, and selectedRecordIds (JSON) its records.
  • Tornado: selectedCategory is the driver, selectedValue its swing (from the downside to the upside), and selectedRecordIds (JSON) its records.
  • Harvey balls: selecting an option selects its whole column: selectedSeries is the option, selectedValue its total, selectedCategory is empty, and selectedRecordIds holds every criterion’s records for that option.

Clearing the selection empties them and runs OnSelect again.

For every setting, see Properties.

In code

import { Chart } from '@ninthforge/charts';

<Chart
  type="matrix"
  points={[{ label: 'Tents', x: 1.8, y: 14, size: 3 }, { label: 'Footwear', x: 0.6, y: 15, size: 2.4 }]}
  consultingPack={{ quadrants: 'Invest to lead|Fix or bet|Harvest for cash|Exit or merge', xSplit: 1, ySplit: 10, xReverse: true, sizeLabel: 'revenue' }}
/>;
<Chart type="tornado" data={{ categories: ['Price ±5%'], series: [{ name: 'Down', values: [-28] }, { name: 'Up', values: [31] }] }} consultingPack={{ base: 120 }} />;
<Chart type="harvey" data={{ categories: ['Cost'], series: [{ name: 'Build', values: [3] }, { name: 'Partner', values: [4] }] }} />;

In code it’s the same Chart component, with type="matrix", type="tornado" or type="harvey". quadrants also takes an array of four names. It’s a separate Power Apps control so the Chart control stays small.

Last updated