Home > composition-plot > QuaternaryPlot
Legacy class to draw quaternary composition plots.
Use QuaternaryShellPlot for new projects
Signature:
declare class QuaternaryPlot
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(svg, dp, edgeUnit) | Constructs a new instance of the QuaternaryPlot class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| colorMap | [number, number, number][] | ||
| colorMapRange | [number, number] | ||
| dp | DataProvider | ||
| edgeUnit | number | ||
| nShells | number | ||
| onDeselect | Function | ||
| onSelect | Function | ||
| scalarIdx | number | ||
| selectedSamples | Set<string> | ||
| selectedScalar | string | ||
| shells | TernaryPlot[][] | ||
| svg | HTMLElement | ||
| textColor | [number, number, number] |