Home > composition-plot
composition-plot package
Framework agnostic library to create quaternary composition plots.
Classes
  
    
      | Class | Description | 
  
  
    
      | AnalyticalCompositionToPositionProvider |  | 
    
      | BasePlot | A class in charge of drawing a composition plot into an SVG element.This class is fairly general, and relies on the following in order to customize the layout and appearance of the plot: - a color function - an opacity function - a vertices function - a sample position function - etc. | 
    
      | CategoryLegend | Concrete class that draws a legend for a discrete set of categories | 
    
      | ColorMapLegend | Concrete class that draws a legend bar for a colormap a continuous range | 
    
      | DataProvider |  | 
    
      | FastHeatMap |  | 
    
      | HeatMap |  | 
    
      | HeatMapDataProvider |  | 
    
      | InfoProvider |  | 
    
      | MultidimensionalDataProvider |  | 
    
      | MultidimensionalPlot | Class that creates a multidimensional composition plot (2,3,4,5,6,7,8-dimensional) in 3DThe position of the samples is affected as follows: - 2-d: Line - 3-d: Triangle - 4-d: Tetrahedron - 5,6,7,8-d: Predefined tabulated positions | 
    
      | NearestCompositionToPositionProvider |  | 
    
      | PeriodicTable |  | 
    
      | QuaternaryPlot | Legacy class to draw quaternary composition plots.Use QuaternaryShellPlot for new projects | 
    
      | QuaternaryShellPlot | A class in charge of drawing a quaternary composition plot into an SVG element.This class relies on multiple instances of the BasePlot class to perform the actual drawing. For each shell in the quaternary plot, 4 BasePlots will be created. The QuaternaryShellPlot will be in charge of placing the plots appropriately on the same SVG element, as well as broadcasting events to/from each plot. | 
    
      | Spectrum |  | 
    
      | TernaryPlot | Legacy class to draw ternary composition plots.Use BasePlot for new projects | 
  
Enumerations
Functions
  
    
      | Function | Description | 
  
  
    
      | combinations(iterable, r) |  | 
    
      | downloadLinesAsCSV(lines, filename) |  | 
    
      | makeCamera() | Creates a new vtkCamera object | 
    
      | samplePositionFnFactory(plotType, verticesFn, scales, edge, dp) | Helper function that returns a  for a set of predefined plot layouts. | 
    
      | samplesToLines(samples, plateId, elementsHeaderSuffix) |  | 
    
      | verticesFnFactory(plotType, origin, size, fontSize) | Helper function that returns a VerticesFn for a set of predefined plot layouts. | 
  
Interfaces
Variables
Type Aliases
  
    
      | Type Alias | Description | 
  
  
    
      | VerticesFn | Type describing a function that returns vertices |