Home > composition-plot > Spectrum
Signature:
declare class Spectrum
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(svg) | Constructs a new instance of the Spectrum class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| axesGroup | Selection<BaseType, {}, null, undefined> | ||
| dataGroup | Selection<BaseType, {}, null, undefined> | ||
| dataTooltip | Selection<BaseType, {}, null, undefined> | ||
| id | string | ||
| lineColors | RGBColor[] | ||
| margins | IMargins | ||
| name | string | ||
| offset | number | ||
| onSelect | Function | ||
| plotOptions | IPlotOptions | ||
| showPoints | boolean | ||
| spectra | { spectrum: ISpectrumProvider; sample: ISample; }[] | ||
| svg | HTMLElement | ||
| textColor | RGBColor | ||
| xLog | boolean | ||
| xRange? | [number, number] | (Optional) | |
| xScale | ScaleLinear<number, number> | ScaleLogarithmic<number, number> | ||
| yLog | boolean | ||
| yRange? | [number, number] | (Optional) | |
| yScale | ScaleLinear<number, number> | ScaleLogarithmic<number, number> |