Docs menu

Code apps and React

The Charts components for Power Apps code apps and React apps will ship as the npm package @ninthforge/charts. It isn’t on npm yet, so you can’t install it today. Until it is, use the controls in model-driven or canvas apps.

What to expect

The package draws the same charts as the Power Apps controls, from the same code. It will need React 16.14 or later and nothing else. Pro components take your licence key as licenseKey and your tenant ID as tenantId, and the key is checked offline, so the charts make no network calls.

Theming

Every Charts control has Theme (light or dark) and Accent colour (hex), a colour such as #2E54FF. Hover, selection and focus colours are worked out from the accent. Windows high-contrast themes and the “reduce motion” setting are followed automatically.

Last updated