@nova-ui/charts 20.0.0 → 20.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/css/styles.css +1 -1
- package/fesm2022/nova-ui-charts.mjs +51 -82
- package/fesm2022/nova-ui-charts.mjs.map +1 -1
- package/index.d.ts +4104 -3
- package/package.json +10 -2
- package/chart/chart.component.d.ts +0 -22
- package/chart-collection/chart-collection-id.directive.d.ts +0 -19
- package/chart-collection/chart-collection.service.d.ts +0 -11
- package/chart-collection/public-api.d.ts +0 -2
- package/chart-donut-content/chart-donut-content.component.d.ts +0 -15
- package/chart-marker/chart-marker.component.d.ts +0 -22
- package/chart-popover/chart-popover.component.d.ts +0 -22
- package/chart-tooltips/chart-tooltip.component.d.ts +0 -7
- package/chart-tooltips/chart-tooltip.directive.d.ts +0 -28
- package/chart-tooltips/chart-tooltips.component.d.ts +0 -41
- package/charts.module.d.ts +0 -21
- package/constants.d.ts +0 -30
- package/core/chart-assists/chart-assist.d.ts +0 -120
- package/core/chart-assists/public-api.d.ts +0 -3
- package/core/chart-assists/spark-chart-assist.d.ts +0 -49
- package/core/chart-assists/types.d.ts +0 -59
- package/core/chart-collection.d.ts +0 -51
- package/core/chart.d.ts +0 -46
- package/core/common/chart-plugin.d.ts +0 -9
- package/core/common/data-manager.d.ts +0 -25
- package/core/common/data-series.d.ts +0 -11
- package/core/common/event-bus.d.ts +0 -6
- package/core/common/lasagna.d.ts +0 -15
- package/core/common/mouse-interactive-area.d.ts +0 -23
- package/core/common/palette/chart-palette.d.ts +0 -12
- package/core/common/palette/color.helper.d.ts +0 -1
- package/core/common/palette/default-providers.d.ts +0 -4
- package/core/common/palette/mapped-value-provider.d.ts +0 -14
- package/core/common/palette/markers/path-marker.d.ts +0 -19
- package/core/common/palette/markers/svg-marker.d.ts +0 -11
- package/core/common/palette/palettes.d.ts +0 -20
- package/core/common/palette/processed-color-provider.d.ts +0 -13
- package/core/common/palette/public-api.d.ts +0 -12
- package/core/common/palette/sequential-chart-marker-provider.d.ts +0 -10
- package/core/common/palette/sequential-color-provider.d.ts +0 -9
- package/core/common/palette/sequential-value-provider.d.ts +0 -13
- package/core/common/palette/text-color-provider.d.ts +0 -27
- package/core/common/public-api.d.ts +0 -12
- package/core/common/render-engine.d.ts +0 -59
- package/core/common/renderer.d.ts +0 -110
- package/core/common/scales/band-scale.d.ts +0 -91
- package/core/common/scales/constants.d.ts +0 -2
- package/core/common/scales/domain-calculation/automatic-domain.d.ts +0 -19
- package/core/common/scales/domain-calculation/domain-with-auxiliary-series.d.ts +0 -9
- package/core/common/scales/domain-calculation/domain-with-ticks.d.ts +0 -3
- package/core/common/scales/domain-calculation/merge-domains.d.ts +0 -8
- package/core/common/scales/formatters/datetime-formatter.d.ts +0 -5
- package/core/common/scales/formatters/public-api.d.ts +0 -1
- package/core/common/scales/helpers/convert.d.ts +0 -10
- package/core/common/scales/helpers/domain.d.ts +0 -2
- package/core/common/scales/helpers/invert.d.ts +0 -2
- package/core/common/scales/helpers/is-in-range.d.ts +0 -8
- package/core/common/scales/linear-scale.d.ts +0 -12
- package/core/common/scales/noop-scale.d.ts +0 -21
- package/core/common/scales/point-scale.d.ts +0 -55
- package/core/common/scales/public-api.d.ts +0 -15
- package/core/common/scales/scale.d.ts +0 -44
- package/core/common/scales/time-interval-scale.d.ts +0 -30
- package/core/common/scales/time-scale.d.ts +0 -13
- package/core/common/scales/types.d.ts +0 -144
- package/core/common/types.d.ts +0 -327
- package/core/common/utility.service.d.ts +0 -53
- package/core/grid/config/area-grid-config.d.ts +0 -7
- package/core/grid/config/axis-config.d.ts +0 -20
- package/core/grid/config/bar-grid-config.d.ts +0 -7
- package/core/grid/config/bar-horizontal-grid-config.d.ts +0 -7
- package/core/grid/config/bar-status-grid-config.d.ts +0 -6
- package/core/grid/config/border-config.d.ts +0 -9
- package/core/grid/config/dimension-config.d.ts +0 -31
- package/core/grid/config/grid-config.d.ts +0 -16
- package/core/grid/config/linear-gauge-grid-config-fn.d.ts +0 -11
- package/core/grid/config/public-api.d.ts +0 -11
- package/core/grid/config/spark-chart-grid-config.d.ts +0 -9
- package/core/grid/config/xy-grid-config.d.ts +0 -10
- package/core/grid/default-text-overflow-handler.d.ts +0 -10
- package/core/grid/grid.d.ts +0 -125
- package/core/grid/public-api.d.ts +0 -5
- package/core/grid/radial-grid.d.ts +0 -9
- package/core/grid/types.d.ts +0 -285
- package/core/grid/xy-grid.d.ts +0 -107
- package/core/plugins/chart-donut-content-plugin.d.ts +0 -15
- package/core/plugins/chart-popover-plugin.d.ts +0 -39
- package/core/plugins/gauge/constants.d.ts +0 -12
- package/core/plugins/gauge/donut-gauge-labels-plugin.d.ts +0 -21
- package/core/plugins/gauge/linear-gauge-labels-plugin.d.ts +0 -26
- package/core/plugins/gauge/public-api.d.ts +0 -4
- package/core/plugins/gauge/types.d.ts +0 -16
- package/core/plugins/interaction/interaction-label-plugin.d.ts +0 -24
- package/core/plugins/interaction/interaction-line-plugin.d.ts +0 -18
- package/core/plugins/interaction/public-api.d.ts +0 -2
- package/core/plugins/mouse-interactive-area-plugin.d.ts +0 -14
- package/core/plugins/public-api.d.ts +0 -12
- package/core/plugins/radial-popover-plugin.d.ts +0 -8
- package/core/plugins/render-engine-plugin.d.ts +0 -12
- package/core/plugins/timeseries-zoom-plugin-sync.service.d.ts +0 -13
- package/core/plugins/timeseries-zoom-plugin.d.ts +0 -55
- package/core/plugins/tooltips/bar-tooltips-plugin.d.ts +0 -5
- package/core/plugins/tooltips/chart-tooltips-plugin.d.ts +0 -63
- package/core/plugins/tooltips/index.d.ts +0 -3
- package/core/plugins/tooltips/radial-tooltips-plugin.d.ts +0 -23
- package/core/plugins/types.d.ts +0 -30
- package/core/plugins/zoom-plugin.d.ts +0 -23
- package/core/public-api.d.ts +0 -7
- package/core/types.d.ts +0 -8
- package/gauge/constants.d.ts +0 -54
- package/gauge/gauge-util.d.ts +0 -161
- package/gauge/public-api.d.ts +0 -3
- package/gauge/types.d.ts +0 -89
- package/legend/legend-series/legend-series.component.d.ts +0 -79
- package/legend/legend-tile/basic-legend-tile/basic-legend-tile.component.d.ts +0 -5
- package/legend/legend-tile/public-api.d.ts +0 -2
- package/legend/legend-tile/rich-legend-tile/rich-legend-tile.component.d.ts +0 -33
- package/legend/legend.component.d.ts +0 -37
- package/legend/public-api.d.ts +0 -3
- package/legend/types.d.ts +0 -4
- package/public-api.d.ts +0 -15
- package/renderers/accessors/noop-accessors.d.ts +0 -11
- package/renderers/accessors/public-api.d.ts +0 -3
- package/renderers/accessors/rectangle-accessors.d.ts +0 -30
- package/renderers/accessors/xy-accessors.d.ts +0 -13
- package/renderers/area/area-accessors.d.ts +0 -28
- package/renderers/area/area-grid.d.ts +0 -7
- package/renderers/area/area-renderer.d.ts +0 -41
- package/renderers/area/public-api.d.ts +0 -6
- package/renderers/area/stacked-area-accessors.d.ts +0 -3
- package/renderers/area/stacked-area-preprocessor.d.ts +0 -5
- package/renderers/area/stacked-percentage-area-preprocessor.d.ts +0 -7
- package/renderers/bar/accessors/bar-accessors-fn.d.ts +0 -13
- package/renderers/bar/accessors/bar-accessors.d.ts +0 -24
- package/renderers/bar/accessors/horizontal-bar-accessors.d.ts +0 -8
- package/renderers/bar/accessors/public-api.d.ts +0 -6
- package/renderers/bar/accessors/status-accessors-fn.d.ts +0 -3
- package/renderers/bar/accessors/status-accessors.d.ts +0 -17
- package/renderers/bar/accessors/vertical-bar-accessors.d.ts +0 -8
- package/renderers/bar/bar-grid.d.ts +0 -10
- package/renderers/bar/bar-renderer.d.ts +0 -47
- package/renderers/bar/bar-scales.d.ts +0 -10
- package/renderers/bar/highlight-strategies/bar-highlight-strategy-outline.d.ts +0 -15
- package/renderers/bar/highlight-strategies/bar-highlight-strategy.d.ts +0 -23
- package/renderers/bar/highlight-strategies/bar-series-highlight-strategy.d.ts +0 -21
- package/renderers/bar/highlight-strategies/public-api.d.ts +0 -3
- package/renderers/bar/linear-gauge-renderer-config.d.ts +0 -7
- package/renderers/bar/linear-gauge-thresholds-renderer.d.ts +0 -25
- package/renderers/bar/preprocessor-utils.d.ts +0 -4
- package/renderers/bar/public-api.d.ts +0 -8
- package/renderers/bar/stacked-preprocessor.d.ts +0 -5
- package/renderers/bar/types.d.ts +0 -13
- package/renderers/constants.d.ts +0 -12
- package/renderers/line/calculate-missing-data.d.ts +0 -10
- package/renderers/line/interaction-strategies/line-select-series-interaction-strategy.d.ts +0 -15
- package/renderers/line/interaction-strategies/public-api.d.ts +0 -1
- package/renderers/line/line-accessors.d.ts +0 -37
- package/renderers/line/line-renderer.d.ts +0 -46
- package/renderers/line/missing-data-line-renderer-config.d.ts +0 -8
- package/renderers/line/public-api.d.ts +0 -5
- package/renderers/marker-utils.d.ts +0 -21
- package/renderers/noop-renderer.d.ts +0 -19
- package/renderers/public-api.d.ts +0 -10
- package/renderers/radial/accessors/radial-accessors.d.ts +0 -22
- package/renderers/radial/gauge/donut-gauge-renderer-config.d.ts +0 -7
- package/renderers/radial/gauge/donut-gauge-rendering-util.d.ts +0 -6
- package/renderers/radial/gauge/donut-gauge-thresholds-renderer.d.ts +0 -24
- package/renderers/radial/pie-renderer.d.ts +0 -8
- package/renderers/radial/public-api.d.ts +0 -9
- package/renderers/radial/radial-grid-fn.d.ts +0 -2
- package/renderers/radial/radial-preprocessor.d.ts +0 -12
- package/renderers/radial/radial-renderer.d.ts +0 -33
- package/renderers/radial/radial-scales.d.ts +0 -5
- package/renderers/side-indicator-renderer.d.ts +0 -55
- package/renderers/types.d.ts +0 -99
- package/renderers/xy-renderer.d.ts +0 -15
- package/thresholds/public-api.d.ts +0 -4
- package/thresholds/thresholds-service.d.ts +0 -114
- package/thresholds/thresholds-summary-grid-config.d.ts +0 -7
- package/thresholds/thresholds-top-grid-config.d.ts +0 -7
- package/thresholds/types.d.ts +0 -21
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { DataAccessor, IAccessors } from "../../../core/common/types";
|
|
2
|
-
import { IRectangleDataAccessors, IRectangleSeriesAccessors, RectangleAccessors } from "../../accessors/rectangle-accessors";
|
|
3
|
-
export interface IBarDataAccessors extends IRectangleDataAccessors {
|
|
4
|
-
category: DataAccessor;
|
|
5
|
-
start: DataAccessor;
|
|
6
|
-
end: DataAccessor;
|
|
7
|
-
thickness?: DataAccessor;
|
|
8
|
-
value?: DataAccessor;
|
|
9
|
-
color?: DataAccessor;
|
|
10
|
-
marker?: DataAccessor;
|
|
11
|
-
cssClass?: DataAccessor<any, string>;
|
|
12
|
-
}
|
|
13
|
-
export interface IBarAccessors extends IAccessors {
|
|
14
|
-
data: IBarDataAccessors;
|
|
15
|
-
series: IRectangleSeriesAccessors;
|
|
16
|
-
}
|
|
17
|
-
export declare abstract class BarAccessors extends RectangleAccessors implements IBarAccessors {
|
|
18
|
-
private colorProvider;
|
|
19
|
-
private markerProvider;
|
|
20
|
-
data: IBarDataAccessors;
|
|
21
|
-
series: IRectangleSeriesAccessors;
|
|
22
|
-
constructor(colorProvider?: import("../../../core/common/types").IValueProvider<string>, markerProvider?: import("../../../core/common/types").IValueProvider<import("../../../core/common/types").IChartMarker>);
|
|
23
|
-
private getSingleValue;
|
|
24
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BarAccessors, IBarDataAccessors } from "./bar-accessors";
|
|
2
|
-
import { IChartMarker, IValueProvider } from "../../../core/common/types";
|
|
3
|
-
import { IRectangleSeriesAccessors } from "../../accessors/rectangle-accessors";
|
|
4
|
-
export declare class HorizontalBarAccessors extends BarAccessors {
|
|
5
|
-
data: IBarDataAccessors;
|
|
6
|
-
series: IRectangleSeriesAccessors;
|
|
7
|
-
constructor(colorProvider?: IValueProvider<string>, markerProvider?: IValueProvider<IChartMarker>);
|
|
8
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { StatusAccessors } from "./status-accessors";
|
|
2
|
-
import { IChartMarker, IValueProvider } from "../../../core/common/types";
|
|
3
|
-
export declare function statusAccessors(colorProvider: IValueProvider<string>, markerProvider?: IValueProvider<IChartMarker>): StatusAccessors;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IBarAccessors, IBarDataAccessors } from "./bar-accessors";
|
|
2
|
-
import { DataAccessor } from "../../../core/common/types";
|
|
3
|
-
import { IRectangleSeriesAccessors } from "../../accessors/rectangle-accessors";
|
|
4
|
-
export interface IStatusDataAccessors extends IBarDataAccessors {
|
|
5
|
-
status: DataAccessor;
|
|
6
|
-
}
|
|
7
|
-
export interface IStatusAccessors extends IBarAccessors {
|
|
8
|
-
data: IStatusDataAccessors;
|
|
9
|
-
}
|
|
10
|
-
export declare class StatusAccessors implements IStatusAccessors {
|
|
11
|
-
private barAccessors;
|
|
12
|
-
static STATUS_CATEGORY: string;
|
|
13
|
-
static STATUS_DOMAIN: string[];
|
|
14
|
-
get data(): IStatusDataAccessors;
|
|
15
|
-
get series(): IRectangleSeriesAccessors;
|
|
16
|
-
constructor(barAccessors: IBarAccessors);
|
|
17
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BarAccessors, IBarDataAccessors } from "./bar-accessors";
|
|
2
|
-
import { IChartMarker, IValueProvider } from "../../../core/common/types";
|
|
3
|
-
import { IRectangleSeriesAccessors } from "../../accessors/rectangle-accessors";
|
|
4
|
-
export declare class VerticalBarAccessors extends BarAccessors {
|
|
5
|
-
data: IBarDataAccessors;
|
|
6
|
-
series: IRectangleSeriesAccessors;
|
|
7
|
-
constructor(colorProvider?: IValueProvider<string>, markerProvider?: IValueProvider<IChartMarker>);
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IBarChartConfig } from "./types";
|
|
2
|
-
import { XYGrid } from "../../core/grid/xy-grid";
|
|
3
|
-
/**
|
|
4
|
-
* Creates an {@link XYGrid} with predefined {@link BarGridConfig} or
|
|
5
|
-
* {@link BarHorizontalGridConfig} using {@link IBarChartConfig#horizontal} horizontal property. Default orientation is **vertical**.
|
|
6
|
-
*
|
|
7
|
-
* @param {IBarChartConfig} [config] bar chart configuration for orientation definition.
|
|
8
|
-
* @returns {XYGrid}
|
|
9
|
-
*/
|
|
10
|
-
export declare function barGrid(config?: IBarChartConfig): XYGrid;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { IScale, Scales } from "../../core/common/scales/types";
|
|
3
|
-
import { IDataPoint, IDataSeries, IPosition, IRendererEventPayload } from "../../core/common/types";
|
|
4
|
-
import { IRectangleAccessors } from "../accessors/rectangle-accessors";
|
|
5
|
-
import { IBarRendererConfig, IRenderSeries } from "../types";
|
|
6
|
-
import { XYRenderer } from "../xy-renderer";
|
|
7
|
-
/**
|
|
8
|
-
* Renderer that is able to draw bar chart
|
|
9
|
-
*/
|
|
10
|
-
export declare class BarRenderer extends XYRenderer<IRectangleAccessors> {
|
|
11
|
-
config: IBarRendererConfig;
|
|
12
|
-
/**
|
|
13
|
-
* Creates an instance of BarRenderer.
|
|
14
|
-
* @param {IBarRendererConfig} [config] Renderer configuration object
|
|
15
|
-
*/
|
|
16
|
-
constructor(config?: IBarRendererConfig);
|
|
17
|
-
static THICK: number;
|
|
18
|
-
static THIN: number;
|
|
19
|
-
static MIN_BAR_SIZE_FOR_ICON: number;
|
|
20
|
-
static MIN_BAR_THICKNESS: number;
|
|
21
|
-
static readonly BAR_RECT_CLASS = "bar";
|
|
22
|
-
DEFAULT_CONFIG: IBarRendererConfig;
|
|
23
|
-
readonly barContainerClass = "bar-container";
|
|
24
|
-
/** See {@link Renderer#draw} */
|
|
25
|
-
draw(renderSeries: IRenderSeries<IRectangleAccessors>, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
26
|
-
/** See {@link Renderer#getDataPointIndex} */
|
|
27
|
-
getDataPointIndex(series: IDataSeries<IRectangleAccessors>, values: {
|
|
28
|
-
[p: string]: any;
|
|
29
|
-
}, scales: Scales): number;
|
|
30
|
-
/** See {@link Renderer#highlightDataPoint} */
|
|
31
|
-
highlightDataPoint(renderSeries: IRenderSeries<IRectangleAccessors>, dataPointIndex: number, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
32
|
-
/** See {@link Renderer#getDataPointPosition} */
|
|
33
|
-
getDataPointPosition(dataSeries: IDataSeries<IRectangleAccessors>, index: number, scales: Scales): IPosition;
|
|
34
|
-
getDataPoint(renderSeries: IRenderSeries<IRectangleAccessors>, data: any, i: number): IDataPoint;
|
|
35
|
-
filterDataByDomain(data: any[]): any[];
|
|
36
|
-
getDomain(data: any[], dataSeries: IDataSeries<IRectangleAccessors>, scaleKey: string, scale: IScale<any>): any[];
|
|
37
|
-
protected emitBarClick(renderSeries: IRenderSeries<IRectangleAccessors>, data: any, i: number, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
38
|
-
/**
|
|
39
|
-
* Returns function to generate attributes to draw bar from dataSeries that typically comes from preprocessor with help of accessors that
|
|
40
|
-
* are aware of how to access renderParameters to draw individual bars
|
|
41
|
-
* @param dataSeries Series to draw
|
|
42
|
-
* @param scales Scales used to draw bars
|
|
43
|
-
* Except of bars this is also used for highlights (which may have a bit different values)
|
|
44
|
-
*/
|
|
45
|
-
protected getAttrsGenerator(dataSeries: IDataSeries<IRectangleAccessors>, scales: Scales): (d: any, i: number) => IPosition;
|
|
46
|
-
private getDimensions;
|
|
47
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IBarChartConfig } from "./types";
|
|
2
|
-
import { LinearScale } from "../../core/common/scales/linear-scale";
|
|
3
|
-
import { IXYScales } from "../../core/common/scales/types";
|
|
4
|
-
/**
|
|
5
|
-
* Generates scales definition to be used with category+value based bar charts
|
|
6
|
-
*
|
|
7
|
-
* @param config
|
|
8
|
-
* @param valueScale
|
|
9
|
-
*/
|
|
10
|
-
export declare function barScales(config?: IBarChartConfig, valueScale?: LinearScale): IXYScales;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IXYScales } from "../../../core/common/scales/types";
|
|
2
|
-
import { IRectangleAccessors } from "../../accessors/rectangle-accessors";
|
|
3
|
-
import { IRenderSeries } from "../../types";
|
|
4
|
-
import { BarRenderer } from "../bar-renderer";
|
|
5
|
-
import { BarHighlightStrategy, SelectedDatPointIdxFn } from "./bar-highlight-strategy";
|
|
6
|
-
export declare class BarHighlightStrategyOutline extends BarHighlightStrategy {
|
|
7
|
-
private outlineAdd;
|
|
8
|
-
private outlineElsMap;
|
|
9
|
-
/**
|
|
10
|
-
* @param scaleKey scale that will be used for searching for the data point that will be highlighted
|
|
11
|
-
* @param levels for band scales, how many levels deep do we go to compare values
|
|
12
|
-
*/
|
|
13
|
-
constructor(scaleKey: keyof IXYScales, levels?: number, selectedDataPointIdxFn?: SelectedDatPointIdxFn);
|
|
14
|
-
highlightDataPoint(renderer: BarRenderer, renderSeries: IRenderSeries<IRectangleAccessors>, dataPointIndex: number): void;
|
|
15
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { IXYScales, Scales } from "../../../core/common/scales/types";
|
|
3
|
-
import { IDataSeries, IRendererEventPayload } from "../../../core/common/types";
|
|
4
|
-
import { IRectangleAccessors } from "../../accessors/rectangle-accessors";
|
|
5
|
-
import { IHighlightStrategy, IRenderSeries } from "../../types";
|
|
6
|
-
import { BarRenderer } from "../bar-renderer";
|
|
7
|
-
export type SelectedDatPointIdxFn = (seriesId: string) => number;
|
|
8
|
-
export declare class BarHighlightStrategy implements IHighlightStrategy<IRectangleAccessors, BarRenderer> {
|
|
9
|
-
protected scaleKey: keyof IXYScales;
|
|
10
|
-
protected levels: number;
|
|
11
|
-
protected selectedDataPointIdxFn?: SelectedDatPointIdxFn | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* @param scaleKey scale that will be used for searching for the data point that will be highlighted
|
|
14
|
-
* @param levels for band scales, how many levels deep do we go to compare values
|
|
15
|
-
*/
|
|
16
|
-
constructor(scaleKey: keyof IXYScales, levels?: number, selectedDataPointIdxFn?: SelectedDatPointIdxFn | undefined);
|
|
17
|
-
getDataPointIndex(renderer: BarRenderer, series: IDataSeries<IRectangleAccessors>, values: {
|
|
18
|
-
[p: string]: any;
|
|
19
|
-
}, scales: Scales): number;
|
|
20
|
-
findDataPointByValue(series: IDataSeries<IRectangleAccessors>, value: any, scaleKey: keyof IXYScales, scales?: Scales): number;
|
|
21
|
-
highlightDataPoint(renderer: BarRenderer, renderSeries: IRenderSeries<IRectangleAccessors>, dataPointIndex: number, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
22
|
-
draw(renderer: BarRenderer, renderSeries: IRenderSeries<IRectangleAccessors>, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
23
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { IXYScales, Scales } from "../../../core/common/scales/types";
|
|
3
|
-
import { IDataSeries, IRendererEventPayload } from "../../../core/common/types";
|
|
4
|
-
import { IRectangleAccessors } from "../../accessors/rectangle-accessors";
|
|
5
|
-
import { IHighlightStrategy, IRenderSeries } from "../../types";
|
|
6
|
-
import { BarRenderer } from "../bar-renderer";
|
|
7
|
-
export declare class BarSeriesHighlightStrategy implements IHighlightStrategy<IRectangleAccessors, BarRenderer> {
|
|
8
|
-
private scaleKey;
|
|
9
|
-
private levels;
|
|
10
|
-
/**
|
|
11
|
-
* @param scaleKey scale that will be used for searching for the datapoint that will be highlighted
|
|
12
|
-
* @param levels for band scales, how many levels deep do we go to compare values
|
|
13
|
-
*/
|
|
14
|
-
constructor(scaleKey: keyof IXYScales, levels?: number);
|
|
15
|
-
getDataPointIndex(renderer: BarRenderer, series: IDataSeries<IRectangleAccessors>, values: {
|
|
16
|
-
[p: string]: any;
|
|
17
|
-
}, scales: Scales): number;
|
|
18
|
-
findDataPointByValue(series: IDataSeries<IRectangleAccessors>, value: any, scaleKey: keyof IXYScales): number;
|
|
19
|
-
highlightDataPoint(renderer: BarRenderer, renderSeries: IRenderSeries<IRectangleAccessors>, dataPointIndex: number, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
20
|
-
draw(renderer: BarRenderer, renderSeries: IRenderSeries<IRectangleAccessors>, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
21
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IBarRendererConfig } from "../types";
|
|
2
|
-
/**
|
|
3
|
-
* Convenience function for generating a standard renderer configuration for a linear gauge
|
|
4
|
-
*
|
|
5
|
-
* @returns {IBarRendererConfig} Standard renderer configuration for a linear gauge
|
|
6
|
-
*/
|
|
7
|
-
export declare function linearGaugeRendererConfig(): IBarRendererConfig;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { ILasagnaLayer, ILinearGaugeThresholdsRendererConfig, IRendererEventPayload } from "../../core/common/types";
|
|
3
|
-
import { IRectangleAccessors } from "../accessors/rectangle-accessors";
|
|
4
|
-
import { IRenderSeries } from "../types";
|
|
5
|
-
import { BarRenderer } from "./bar-renderer";
|
|
6
|
-
/**
|
|
7
|
-
* Default configuration for Linear Gauge Thresholds Renderer
|
|
8
|
-
*/
|
|
9
|
-
export declare const DEFAULT_LINEAR_GAUGE_THRESHOLDS_RENDERER_CONFIG: ILinearGaugeThresholdsRendererConfig;
|
|
10
|
-
/**
|
|
11
|
-
* Renderer for drawing threshold level indicators for gauges
|
|
12
|
-
*/
|
|
13
|
-
export declare class LinearGaugeThresholdsRenderer extends BarRenderer {
|
|
14
|
-
config: ILinearGaugeThresholdsRendererConfig;
|
|
15
|
-
/**
|
|
16
|
-
* Creates an instance of LinearGaugeThresholdsRenderer.
|
|
17
|
-
* @param {ILinearGaugeThresholdsRendererConfig} [config]
|
|
18
|
-
* Renderer configuration object. Defaults to `DEFAULT_LINEAR_GAUGE_THRESHOLDS_RENDERER_CONFIG` constant value.
|
|
19
|
-
*/
|
|
20
|
-
constructor(config?: ILinearGaugeThresholdsRendererConfig);
|
|
21
|
-
/** See {@link Renderer#draw} */
|
|
22
|
-
draw(renderSeries: IRenderSeries<IRectangleAccessors>, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
23
|
-
/** See {@link Renderer#getRequiredLayers} */
|
|
24
|
-
getRequiredLayers(): ILasagnaLayer[];
|
|
25
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from "./bar-renderer";
|
|
2
|
-
export * from "./stacked-preprocessor";
|
|
3
|
-
export * from "./bar-grid";
|
|
4
|
-
export * from "./bar-scales";
|
|
5
|
-
export * from "./types";
|
|
6
|
-
export * from "./accessors/public-api";
|
|
7
|
-
export * from "./highlight-strategies/public-api";
|
|
8
|
-
export * from "./linear-gauge-thresholds-renderer";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IBarAccessors } from "./accessors/bar-accessors";
|
|
2
|
-
import { ChartAssist } from "../../core/chart-assists/chart-assist";
|
|
3
|
-
import { IChartAssistSeries, IChartSeries } from "../../core/common/types";
|
|
4
|
-
export declare function stackedPreprocessor(chartSeriesSet: IChartSeries<IBarAccessors>[], isVisible: (chartSeries: IChartSeries<IBarAccessors>) => boolean): IChartSeries<IBarAccessors>[];
|
|
5
|
-
export declare function stack(this: ChartAssist, chartSeriesSet: IChartAssistSeries<IBarAccessors>[]): IChartAssistSeries<IBarAccessors>[];
|
package/renderers/bar/types.d.ts
DELETED
package/renderers/constants.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IMarkerInteractionConfig } from "./types";
|
|
2
|
-
import { IRendererConfig } from "../core/common/types";
|
|
3
|
-
/** Renderer configuration for the thresholds on a chart */
|
|
4
|
-
export declare const THRESHOLDS_MAIN_CHART_RENDERER_CONFIG: IRendererConfig;
|
|
5
|
-
/** Renderer configuration for a thresholds summary chart */
|
|
6
|
-
export declare const THRESHOLDS_SUMMARY_RENDERER_CONFIG: IRendererConfig;
|
|
7
|
-
/** Default configuration for marker interaction */
|
|
8
|
-
export declare const DEFAULT_MARKER_INTERACTION_CONFIG: IMarkerInteractionConfig;
|
|
9
|
-
/**
|
|
10
|
-
* Class name for gauge threshold markers
|
|
11
|
-
*/
|
|
12
|
-
export declare const GAUGE_THRESHOLD_MARKER_CLASS = "gauge-threshold-marker";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Duration } from "moment/moment";
|
|
2
|
-
import { IAccessors, IDataSeries } from "../../core/common/types";
|
|
3
|
-
/**
|
|
4
|
-
* This function adds data points indicating that there is an interruption in the data.
|
|
5
|
-
*
|
|
6
|
-
* @param dataSeries
|
|
7
|
-
* @param accessorKey
|
|
8
|
-
* @param interval
|
|
9
|
-
*/
|
|
10
|
-
export declare function calculateMissingData(dataSeries: IDataSeries<IAccessors>, accessorKey: string, interval: Duration): any[];
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { Scales } from "../../../core/common/scales/types";
|
|
3
|
-
import { IDataSeries, IRendererEventPayload } from "../../../core/common/types";
|
|
4
|
-
import { IHighlightStrategy, IRenderSeries } from "../../types";
|
|
5
|
-
import { ILineAccessors } from "../line-accessors";
|
|
6
|
-
import { LineRenderer } from "../line-renderer";
|
|
7
|
-
export declare class LineSelectSeriesInteractionStrategy implements IHighlightStrategy<ILineAccessors, LineRenderer> {
|
|
8
|
-
readonly INTERACTION_MARGIN = 8;
|
|
9
|
-
draw(renderer: LineRenderer, renderSeries: IRenderSeries<ILineAccessors>, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
10
|
-
getDataPointIndex(renderer: LineRenderer, series: IDataSeries<ILineAccessors>, values: {
|
|
11
|
-
[p: string]: any;
|
|
12
|
-
}, scales: Scales): number;
|
|
13
|
-
highlightDataPoint(renderer: LineRenderer, renderSeries: IRenderSeries<ILineAccessors>, dataPointIndex: number, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
14
|
-
private emitEvent;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./line-select-series-interaction-strategy";
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { DataAccessor, IAccessors, SeriesAccessor } from "../../core/common/types";
|
|
2
|
-
import { IXYDataAccessors, XYAccessors } from "../accessors/xy-accessors";
|
|
3
|
-
export interface ILineDataAccessors extends IXYDataAccessors {
|
|
4
|
-
defined?: DataAccessor<any, boolean>;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Series accessors used in {@link LineAccessors}.
|
|
8
|
-
*/
|
|
9
|
-
export interface ILineSeriesAccessors {
|
|
10
|
-
/** Color of the series */
|
|
11
|
-
color?: SeriesAccessor;
|
|
12
|
-
/** Marker for the series */
|
|
13
|
-
marker?: SeriesAccessor;
|
|
14
|
-
/** Additional custom keys to match the base interface */
|
|
15
|
-
[key: string]: SeriesAccessor | undefined;
|
|
16
|
-
}
|
|
17
|
-
export interface ILineAccessors extends IAccessors {
|
|
18
|
-
data: ILineDataAccessors;
|
|
19
|
-
/** Series level accessors - e.g. for colors, markers, etc. */
|
|
20
|
-
series: ILineSeriesAccessors;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Accessor class supporting the {@link LineRenderer}, that defines required inputs acquired from data points.
|
|
24
|
-
* This class includes default behavior for all required fields. It's using properties of the same name for data accessors.
|
|
25
|
-
* <p>
|
|
26
|
-
* If colorProvider or markerProvider is not defined in the constructor, every new instance of LineAccessors will instantiate it's own, so that has to be
|
|
27
|
-
* kept in mind when configuring charts as it could cause potential color synchronization problems.
|
|
28
|
-
*
|
|
29
|
-
* <p>See referenced <code>data</code> and <code>series</code> interfaces for required properties.</p>
|
|
30
|
-
*/
|
|
31
|
-
export declare class LineAccessors extends XYAccessors implements ILineAccessors {
|
|
32
|
-
colorProvider: import("../../core/common/types").IValueProvider<string>;
|
|
33
|
-
markerProvider: import("../../core/common/types").IValueProvider<import("../../core/common/types").IChartMarker>;
|
|
34
|
-
data: ILineDataAccessors;
|
|
35
|
-
series: ILineSeriesAccessors;
|
|
36
|
-
constructor(colorProvider?: import("../../core/common/types").IValueProvider<string>, markerProvider?: import("../../core/common/types").IValueProvider<import("../../core/common/types").IChartMarker>);
|
|
37
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { Scales } from "../../core/common/scales/types";
|
|
3
|
-
import { D3Selection, IDataSeries, ILasagnaLayer, IPosition, IRendererEventPayload } from "../../core/common/types";
|
|
4
|
-
import { ILineRendererConfig, IRenderSeries } from "../types";
|
|
5
|
-
import { XYRenderer } from "../xy-renderer";
|
|
6
|
-
import { ILineAccessors } from "./line-accessors";
|
|
7
|
-
/**
|
|
8
|
-
* Renderer that is able to draw line chart
|
|
9
|
-
*/
|
|
10
|
-
export declare class LineRenderer extends XYRenderer<ILineAccessors> {
|
|
11
|
-
readonly config: ILineRendererConfig;
|
|
12
|
-
static UNCLIPPED_DATA_LAYER_NAME: string;
|
|
13
|
-
static LINE_CAP_CLASS_NAME: string;
|
|
14
|
-
static getStrokeStyleDashed(width: number): string;
|
|
15
|
-
static getStrokeStyleDotted(width: number): string;
|
|
16
|
-
private DEFAULT_CONFIG;
|
|
17
|
-
/**
|
|
18
|
-
* Creates an instance of LineRenderer.
|
|
19
|
-
* @param {ILineRendererConfig} [config={}] Renderer configuration object
|
|
20
|
-
*/
|
|
21
|
-
constructor(config?: ILineRendererConfig);
|
|
22
|
-
/** See {@link Renderer#draw} */
|
|
23
|
-
draw(renderSeries: IRenderSeries<ILineAccessors>, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
24
|
-
/**
|
|
25
|
-
* When the data contains only one data point with undefined 'x' value, it is considered an infinite line and special approach is applied
|
|
26
|
-
*
|
|
27
|
-
* @param renderSeries
|
|
28
|
-
*/
|
|
29
|
-
isInfiniteLineData(renderSeries: IRenderSeries<ILineAccessors>): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Renders the line in prepared <path> element
|
|
32
|
-
*
|
|
33
|
-
* @param {IRenderSeries<ILineAccessors>} renderSeries
|
|
34
|
-
* @param {D3Selection} path D3 Selection with <path> element pre-created and pre-styled
|
|
35
|
-
*/
|
|
36
|
-
drawLine(renderSeries: IRenderSeries<ILineAccessors>, path: D3Selection<SVGPathElement>): void;
|
|
37
|
-
/** See {@link Renderer#highlightDataPoint} */
|
|
38
|
-
highlightDataPoint(renderSeries: IRenderSeries<ILineAccessors>, dataPointIndex: number, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
39
|
-
/** See {@link Renderer#getRequiredLayers} */
|
|
40
|
-
getRequiredLayers(): ILasagnaLayer[];
|
|
41
|
-
/** See {@link Renderer#getDataPointPosition} */
|
|
42
|
-
getDataPointPosition(dataSeries: IDataSeries<ILineAccessors>, index: number, scales: Scales): IPosition | undefined;
|
|
43
|
-
private drawStandardLine;
|
|
44
|
-
private drawInfiniteLine;
|
|
45
|
-
private updateLineCaps;
|
|
46
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ILineRendererConfig } from "../types";
|
|
2
|
-
/** Standard line renderer config for visualizing missing data */
|
|
3
|
-
export declare class MissingDataLineRendererConfig implements ILineRendererConfig {
|
|
4
|
-
strokeWidth: number;
|
|
5
|
-
interactive: boolean;
|
|
6
|
-
strokeStyle: string;
|
|
7
|
-
useEnhancedLineCaps: boolean;
|
|
8
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { IXYScales } from "../core/common/scales/types";
|
|
3
|
-
import { D3Selection, IAccessors, IChartMarker, IDataPoint, IDataSeries, IInteractionDataPointEvent, IRendererEventPayload } from "../core/common/types";
|
|
4
|
-
export declare class MarkerUtils {
|
|
5
|
-
/** The default class for the marker's container */
|
|
6
|
-
static readonly DEFAULT_MARKER_CONTAINER_CLASS = "marker";
|
|
7
|
-
/** The class used for the marker's svg path */
|
|
8
|
-
static readonly MARKER_PATH_CLASS = "marker-path";
|
|
9
|
-
/**
|
|
10
|
-
* This method impersonates marker related logic used in various renderers
|
|
11
|
-
*
|
|
12
|
-
* @param dataSeries
|
|
13
|
-
* @param scales
|
|
14
|
-
* @param dataPointIndex
|
|
15
|
-
* @param container
|
|
16
|
-
* @param rendererSubject
|
|
17
|
-
*/
|
|
18
|
-
static manageMarker(dataSeries: IDataSeries<IAccessors>, scales: IXYScales, dataPointIndex: number, container: D3Selection<SVGGElement>, rendererSubject: Subject<IRendererEventPayload>, markerInteractionConfig?: import("@nova-ui/charts").IMarkerInteractionConfig): void;
|
|
19
|
-
static drawMarker(dataPoint: IDataPoint, marker: IChartMarker, color: string, target: D3Selection<SVGGElement>, dataPointSubject: Subject<IRendererEventPayload<IInteractionDataPointEvent>>, className?: string, markerInteractionConfig?: import("@nova-ui/charts").IMarkerInteractionConfig): void;
|
|
20
|
-
static removeMarker(target: D3Selection<SVGGElement>, className?: string): void;
|
|
21
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { INoopAccessors } from "./accessors/noop-accessors";
|
|
3
|
-
import { IRenderSeries } from "./types";
|
|
4
|
-
import { Renderer } from "../core/common/renderer";
|
|
5
|
-
import { Scales } from "../core/common/scales/types";
|
|
6
|
-
import { IDataSeries, ILasagnaLayer, IPosition, IRendererEventPayload } from "../core/common/types";
|
|
7
|
-
/**
|
|
8
|
-
* Renderer that is able to draw line chart
|
|
9
|
-
*/
|
|
10
|
-
export declare class NoopRenderer extends Renderer<INoopAccessors> {
|
|
11
|
-
/** See {@link Renderer#draw} */
|
|
12
|
-
draw(renderSeries: IRenderSeries<INoopAccessors>, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
13
|
-
/** See {@link Renderer#highlightDataPoint} */
|
|
14
|
-
highlightDataPoint(renderSeries: IRenderSeries<INoopAccessors>, dataPointIndex: number, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
15
|
-
/** See {@link Renderer#getRequiredLayers} */
|
|
16
|
-
getRequiredLayers(): ILasagnaLayer[];
|
|
17
|
-
/** See {@link Renderer#getDataPointPosition} */
|
|
18
|
-
getDataPointPosition(dataSeries: IDataSeries<INoopAccessors>, index: number, scales: Scales): IPosition;
|
|
19
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from "./constants";
|
|
2
|
-
export * from "./types";
|
|
3
|
-
export * from "./xy-renderer";
|
|
4
|
-
export * from "./side-indicator-renderer";
|
|
5
|
-
export * from "./accessors/public-api";
|
|
6
|
-
export * from "./noop-renderer";
|
|
7
|
-
export * from "./bar/public-api";
|
|
8
|
-
export * from "./radial/public-api";
|
|
9
|
-
export * from "./line/public-api";
|
|
10
|
-
export * from "./area/public-api";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { DataAccessor, IAccessors, SeriesAccessor } from "../../../core/common/types";
|
|
2
|
-
export interface IRadialDataAccessors {
|
|
3
|
-
value: DataAccessor;
|
|
4
|
-
color?: DataAccessor;
|
|
5
|
-
/** Additional custom keys to match the base interface */
|
|
6
|
-
[key: string]: DataAccessor | undefined;
|
|
7
|
-
}
|
|
8
|
-
export interface IRadialSeriesAccessors {
|
|
9
|
-
color?: SeriesAccessor;
|
|
10
|
-
/** Additional custom keys to match the base interface */
|
|
11
|
-
[key: string]: SeriesAccessor | undefined;
|
|
12
|
-
}
|
|
13
|
-
export interface IRadialAccessors extends IAccessors {
|
|
14
|
-
data: IRadialDataAccessors;
|
|
15
|
-
series: IRadialSeriesAccessors;
|
|
16
|
-
}
|
|
17
|
-
export declare class RadialAccessors implements IRadialAccessors {
|
|
18
|
-
private colorProvider;
|
|
19
|
-
data: IRadialDataAccessors;
|
|
20
|
-
series: IRadialSeriesAccessors;
|
|
21
|
-
constructor(colorProvider?: import("../../../core/common/types").IValueProvider<string>);
|
|
22
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IRadialRendererConfig } from "../../../core/common/types";
|
|
2
|
-
/**
|
|
3
|
-
* Convenience function for generating a standard renderer configuration for a donut gauge
|
|
4
|
-
*
|
|
5
|
-
* @returns {IRadialRendererConfig} Standard renderer configuration for a gauge
|
|
6
|
-
*/
|
|
7
|
-
export declare function donutGaugeRendererConfig(): IRadialRendererConfig;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DefaultArcObject } from "d3";
|
|
2
|
-
import { IGaugeThresholdDatum } from "../../../gauge/types";
|
|
3
|
-
export declare class DonutGaugeRenderingUtil {
|
|
4
|
-
static generateThresholdArcData(data: IGaugeThresholdDatum[]): DefaultArcObject[];
|
|
5
|
-
private static generateArcValues;
|
|
6
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { IDonutGaugeThresholdsRendererConfig, IRendererEventPayload } from "../../../core/common/types";
|
|
3
|
-
import { IRenderSeries } from "../../types";
|
|
4
|
-
import { IRadialAccessors } from "../accessors/radial-accessors";
|
|
5
|
-
import { RadialRenderer } from "../radial-renderer";
|
|
6
|
-
/**
|
|
7
|
-
* Default configuration for DonutGaugeThresholdsRenderer
|
|
8
|
-
*/
|
|
9
|
-
export declare const DEFAULT_DONUT_GAUGE_THRESHOLDS_RENDERER_CONFIG: IDonutGaugeThresholdsRendererConfig;
|
|
10
|
-
/**
|
|
11
|
-
* Renderer for drawing threshold level markers for donut gauges
|
|
12
|
-
*/
|
|
13
|
-
export declare class DonutGaugeThresholdsRenderer extends RadialRenderer {
|
|
14
|
-
config: IDonutGaugeThresholdsRendererConfig;
|
|
15
|
-
/**
|
|
16
|
-
* Creates an instance of RadialGaugeThresholdsRenderer.
|
|
17
|
-
* @param {IDonutGaugeThresholdsRendererConfig} [config]
|
|
18
|
-
* Renderer configuration object. Defaults to `DEFAULT_DONUT_GAUGE_THRESHOLDS_RENDERER_CONFIG` constant value.
|
|
19
|
-
*/
|
|
20
|
-
constructor(config?: IDonutGaugeThresholdsRendererConfig);
|
|
21
|
-
/** See {@link Renderer#draw} */
|
|
22
|
-
draw(renderSeries: IRenderSeries<IRadialAccessors>, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
23
|
-
getInnerRadius(range: number[], index: number): number;
|
|
24
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Arc, DefaultArcObject } from "d3-shape";
|
|
2
|
-
import { RadialRenderer } from "./radial-renderer";
|
|
3
|
-
/**
|
|
4
|
-
* Renderer that is able to draw pie chart
|
|
5
|
-
*/
|
|
6
|
-
export declare class PieRenderer extends RadialRenderer {
|
|
7
|
-
protected getArc(range: [number, number], arc: Arc<any, DefaultArcObject>, index: number): Arc<any, DefaultArcObject>;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from "./radial-preprocessor";
|
|
2
|
-
export * from "./radial-renderer";
|
|
3
|
-
export * from "./gauge/donut-gauge-thresholds-renderer";
|
|
4
|
-
export * from "./gauge/donut-gauge-renderer-config";
|
|
5
|
-
export * from "./gauge/donut-gauge-rendering-util";
|
|
6
|
-
export * from "./pie-renderer";
|
|
7
|
-
export * from "./radial-grid-fn";
|
|
8
|
-
export * from "./radial-scales";
|
|
9
|
-
export * from "./accessors/radial-accessors";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IRadialAccessors } from "./accessors/radial-accessors";
|
|
2
|
-
import { ChartAssist } from "../../core/chart-assists/chart-assist";
|
|
3
|
-
import { IChartAssistSeries, IChartSeries } from "../../core/common/types";
|
|
4
|
-
/**
|
|
5
|
-
* Pre-processing function for Pie and Donut chart renderers.
|
|
6
|
-
*
|
|
7
|
-
* @param {IChartSeries<IAccessors>[]} seriesSet incoming data series set
|
|
8
|
-
* @param {(series: IChartSeries<IAccessors>) => boolean} isVisible visibility accessor function
|
|
9
|
-
* @returns {IChartSeries<IAccessors>[]}
|
|
10
|
-
*/
|
|
11
|
-
export declare function radialPreprocessor(seriesSet: IChartSeries<IRadialAccessors>[], isVisible: (series: IChartSeries<IRadialAccessors>) => boolean): IChartSeries<IRadialAccessors>[];
|
|
12
|
-
export declare function radial(this: ChartAssist, chartSeriesSet: IChartAssistSeries<IRadialAccessors>[]): IChartSeries<IRadialAccessors>[];
|