composition-plot

Home > composition-plot > QuaternaryPlot

QuaternaryPlot class

Legacy class to draw quaternary composition plots.

Use QuaternaryShellPlot for new projects

Signature:

declare class QuaternaryPlot 

Constructors

Constructor Modifiers Description
(constructor)(svg, dp, edgeUnit)   Constructs a new instance of the QuaternaryPlot class

Properties

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]  

Methods

Method Modifiers Description
_setShellData(plots, constValue)    
broadCast(fn)    
dataUpdated()    
initShells(spacing)    
render()    
setCallBacks(onSelect, onDeselect)    
setColorMap(map, range)    
setInverted(inverted)    
setOpacityFn(opacityFn)    
setSelectedSamples(selectedSamples)    
setShellsData(spacing)    
setTextColor(color)