Import
Constructors
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
prepData | PrepData | undefined | ||
[string, string] |
Methods
Method | Modifiers | Description |
---|---|---|
addAxis(props) | ||
addHook(type, hook) | ||
Add or update the scale with the scale key | ||
addSeries(props) | ||
getAxisPlacement(scaleKey) | ||
getSeries() | ||
getTooltipInterpolator() | ||
setCursor(cursor) | ||
setPadding(padding) | ||
setSelect(select) | ||
setSync() | ||
Constructs a new instance of the UPlotConfigBuilder
class
Signature
constructor(timeZone?: TimeZone);
Parameters
Parameter | Type | Description |
---|---|---|
timeZone | TimeZone |
prepData property
Signature
prepData: PrepData | undefined;
scaleKeys property
Signature
scaleKeys: [string, string];
addAxis method
Signature
addAxis(props: AxisProps): void;
Parameters
Parameter | Type | Description |
---|---|---|
props | AxisProps |
Returns:
void
addBand method
Signature
addBand(band: Band): void;
Parameters
Parameter | Type | Description |
---|---|---|
band | Band |
Returns:
void
addHook method
Signature
Parameters
Returns:
void
addScale method
Add or update the scale with the scale key
Signature
Parameters
Parameter | Type | Description |
---|---|---|
props | ScaleProps |
Returns:
Signature
addSeries(props: SeriesProps): void;
Parameter | Type | Description |
---|---|---|
props | SeriesProps |
Returns:
void
addThresholds method
Signature
addThresholds(options: UPlotThresholdOptions): void;
Parameters
Parameter | Type | Description |
---|---|---|
options | UPlotThresholdOptions |
Returns:
void
getAxisPlacement method
Signature
getAxisPlacement(scaleKey: string): AxisPlacement;
Parameters
Parameter | Type | Description |
---|---|---|
scaleKey | string |
Returns:
AxisPlacement
getConfig method
Signature
getConfig(): PlotConfig;
Returns:
PlotConfig
getSeries method
Signature
getSeries(): UPlotSeriesBuilder[];
Returns:
UPlotSeriesBuilder[]
getStackingGroups method
Signature
getStackingGroups(): StackingGroup[];
Returns:
StackingGroup[]
getTooltipInterpolator method
Signature
getTooltipInterpolator(): PlotTooltipInterpolator | undefined;
Returns:
PlotTooltipInterpolator | undefined
Signature
Returns:
boolean
setCursor method
Signature
setCursor(cursor?: Cursor): void;
Parameters
Parameter | Type | Description |
---|---|---|
cursor |
void
setMode method
Signature
setMode(mode: uPlot.Mode): void;
Parameters
Returns:
void
setPadding method
Signature
setPadding(padding: Padding): void;
Parameters
Parameter | Type | Description |
---|---|---|
padding | Padding |
Returns:
void
setPrepData method
Signature
setPrepData(prepData: PreDataStacked): void;
Parameters
Parameter | Type | Description |
---|---|---|
prepData | PreDataStacked |
Returns:
void
setSelect method
Signature
setSelect(select: Select): void;
Parameters
Parameter | Type | Description |
---|---|---|
select | Select |
Returns:
void
setStackingGroups method
Signature
setStackingGroups(groups: StackingGroup[]): void;
Parameters
Parameter | Type | Description |
---|---|---|
groups | StackingGroup[] |
Returns:
void
Signature
setSync(): void;
Returns:
void
setTooltipInterpolator method
Signature
Parameters
Parameter | Type | Description |
---|---|---|
interpolator | PlotTooltipInterpolator |
Returns: