@nova-ui/charts 19.0.2 → 20.0.3
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 +49 -49
- 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/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 -11
- 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
package/gauge/gauge-util.d.ts
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { GaugeMode } from "./constants";
|
|
2
|
-
import { IGaugeConfig, IGaugeThresholdDatum, IGaugeThresholdsData, IGaugeThresholdsConfig } from "./types";
|
|
3
|
-
import { ChartAssist } from "../core/chart-assists/chart-assist";
|
|
4
|
-
import { Renderer } from "../core/common/renderer";
|
|
5
|
-
import { IRadialScales, Scales } from "../core/common/scales/types";
|
|
6
|
-
import { IAccessors, IChartAssistSeries, IDataSeries } from "../core/common/types";
|
|
7
|
-
import { IAllAround } from "../core/grid/types";
|
|
8
|
-
import { DonutGaugeLabelsPlugin } from "../core/plugins/gauge/donut-gauge-labels-plugin";
|
|
9
|
-
import { LinearGaugeLabelsPlugin } from "../core/plugins/gauge/linear-gauge-labels-plugin";
|
|
10
|
-
/**
|
|
11
|
-
* @ignore
|
|
12
|
-
* Attributes needed by a gauge
|
|
13
|
-
*/
|
|
14
|
-
export interface IGaugeRenderingAttributes {
|
|
15
|
-
/** Accessors for the gauge quantity segment */
|
|
16
|
-
quantityAccessors: IAccessors;
|
|
17
|
-
/** Accessors for the gauge remainder segment */
|
|
18
|
-
remainderAccessors: IAccessors;
|
|
19
|
-
/** Scales for the gauge */
|
|
20
|
-
scales: Scales;
|
|
21
|
-
/** Renderer for the primary gauge visualization */
|
|
22
|
-
mainRenderer: Renderer<IAccessors>;
|
|
23
|
-
/** Renderer for the gauge threshold visualization */
|
|
24
|
-
thresholdsRenderer: Renderer<IAccessors>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* @ignore
|
|
28
|
-
* Interface for an object that can be used to create the rendering attributes needed by a gauge
|
|
29
|
-
*/
|
|
30
|
-
export interface IGaugeRenderingTools {
|
|
31
|
-
/** Function for creating quantity accessors */
|
|
32
|
-
quantityAccessorFunction: () => IAccessors;
|
|
33
|
-
/** Function for creating remainder accessors */
|
|
34
|
-
remainderAccessorFunction: () => IAccessors;
|
|
35
|
-
/** Function for creating scales */
|
|
36
|
-
scaleFunction: () => Scales | IRadialScales;
|
|
37
|
-
/** Function for creating a main renderer */
|
|
38
|
-
mainRendererFunction: () => Renderer<IAccessors>;
|
|
39
|
-
/** Function for creating a thresholds renderer */
|
|
40
|
-
thresholdsRendererFunction: () => Renderer<IAccessors>;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Convenience utility for simplifying gauge usage
|
|
44
|
-
*/
|
|
45
|
-
export declare class GaugeUtil {
|
|
46
|
-
/** Value used for unifying the linear-style gauge visualization into a single bar stack */
|
|
47
|
-
static readonly DATA_CATEGORY = "gauge";
|
|
48
|
-
/**
|
|
49
|
-
* Creates a ChartAssist pre-configured based on the provided IGaugeConfig and GaugeMode
|
|
50
|
-
*
|
|
51
|
-
* @param gaugeConfig The gauge configuration
|
|
52
|
-
* @param mode The gauge mode
|
|
53
|
-
* @param labelsPlugin Optional labels plugin for direct control of label configuration. If not provided, a plugin will
|
|
54
|
-
* be generated automatically.
|
|
55
|
-
*
|
|
56
|
-
* @returns {ChartAssist} A pre-configured chart assist
|
|
57
|
-
*/
|
|
58
|
-
static createChartAssist(gaugeConfig: IGaugeConfig, mode: GaugeMode, labelsPlugin?: DonutGaugeLabelsPlugin | LinearGaugeLabelsPlugin): ChartAssist;
|
|
59
|
-
/**
|
|
60
|
-
* Assembles a gauge series set with all of the standard scales, renderers, accessors, etc. needed for creating a gauge visualization
|
|
61
|
-
*
|
|
62
|
-
* @param gaugeConfig The configuration for the gauge
|
|
63
|
-
* @param mode The mode of the gauge (Donut, Horizontal, or Vertical)
|
|
64
|
-
*
|
|
65
|
-
* @returns {IChartAssistSeries<IAccessors>[]} The assembled series set
|
|
66
|
-
*/
|
|
67
|
-
static assembleSeriesSet(gaugeConfig: IGaugeConfig, mode: GaugeMode): IChartAssistSeries<IAccessors>[];
|
|
68
|
-
/**
|
|
69
|
-
* Updates the series set based on the provided configuration
|
|
70
|
-
*
|
|
71
|
-
* @param seriesSet The set of series to update
|
|
72
|
-
* @param gaugeConfig The configuration for the gauge
|
|
73
|
-
*
|
|
74
|
-
* @returns {IChartAssistSeries<IAccessors>[]} The updated series set
|
|
75
|
-
*/
|
|
76
|
-
static update(seriesSet: IChartAssistSeries<IAccessors>[], gaugeConfig: IGaugeConfig): IChartAssistSeries<IAccessors>[];
|
|
77
|
-
/**
|
|
78
|
-
* Convenience function for creating a standard standard set of threshold configs. Includes configurations for warning and error thresholds.
|
|
79
|
-
*
|
|
80
|
-
* @param warningVal Value for the warning threshold
|
|
81
|
-
* @param criticalVal Value for the critical threshold
|
|
82
|
-
*
|
|
83
|
-
* @returns {IGaugeThresholdsConfig} The thresholds configuration
|
|
84
|
-
*/
|
|
85
|
-
static createStandardThresholdsConfig(warningVal: number, criticalVal: number): IGaugeThresholdsConfig;
|
|
86
|
-
/**
|
|
87
|
-
* Gets a new instance of the provided grid margin with updated values (if needed) to accommodate the label clearance specified
|
|
88
|
-
* in the provided gauge configuration
|
|
89
|
-
*
|
|
90
|
-
* @param gaugeConfig The gauge's configuration
|
|
91
|
-
* @param mode The mode of the gauge
|
|
92
|
-
* @param margin The margin to update
|
|
93
|
-
*
|
|
94
|
-
* @returns {IAllAround<number>} The updated margin
|
|
95
|
-
*/
|
|
96
|
-
static getMarginForLabelClearance(gaugeConfig: IGaugeConfig, mode: GaugeMode, margin: IAllAround<number>): IAllAround<number>;
|
|
97
|
-
/**
|
|
98
|
-
* Generates a set of chart series used for visualizing the gauge's quantity and remainder data
|
|
99
|
-
*
|
|
100
|
-
* @param gaugeConfig The configuration for the gauge
|
|
101
|
-
* @param renderingAttributes The attributes needed to visualized the thresholds
|
|
102
|
-
* @param activeThreshold The currently active threshold
|
|
103
|
-
*
|
|
104
|
-
* @returns {IChartAssistSeries<IAccessors<any>>[]} A set of chart series representing the quantity and remainder data
|
|
105
|
-
*/
|
|
106
|
-
static generateQuantityAndRemainderSeriesSet(gaugeConfig: IGaugeConfig, renderingAttributes: IGaugeRenderingAttributes, activeThreshold?: IGaugeThresholdDatum): IChartAssistSeries<IAccessors<any>>[];
|
|
107
|
-
/**
|
|
108
|
-
* Generates a series for visualizing the gauge's thresholds
|
|
109
|
-
*
|
|
110
|
-
* @param gaugeConfig The configuration for the gauge
|
|
111
|
-
* @param renderingAttributes The attributes needed to visualized the thresholds
|
|
112
|
-
*
|
|
113
|
-
* @returns {IChartAssistSeries<IAccessors>} The threshold series
|
|
114
|
-
*/
|
|
115
|
-
static generateThresholdSeries(gaugeConfig: IGaugeConfig, renderingAttributes: IGaugeRenderingAttributes): IChartAssistSeries<IAccessors>;
|
|
116
|
-
/**
|
|
117
|
-
* Generates the attributes required to instantiate a standard gauge in the specified mode
|
|
118
|
-
*
|
|
119
|
-
* @param gaugeConfig The configuration for the gauge
|
|
120
|
-
* @param mode The mode of the gauge (Donut, Horizontal, or Vertical)
|
|
121
|
-
*
|
|
122
|
-
* @returns {IGaugeRenderingAttributes} The attributes required to instantiate a gauge
|
|
123
|
-
*/
|
|
124
|
-
static generateRenderingAttributes(gaugeConfig: IGaugeConfig, mode: GaugeMode): IGaugeRenderingAttributes;
|
|
125
|
-
/**
|
|
126
|
-
* Generates rendering tools for standard gauge attributes
|
|
127
|
-
*
|
|
128
|
-
* @param gaugeConfig The configuration for the gauge
|
|
129
|
-
* @param mode The mode of the gauge (Donut, Horizontal, or Vertical)
|
|
130
|
-
*
|
|
131
|
-
* @returns {IGaugeRenderingTools} The rendering tools for standard gauge attributes
|
|
132
|
-
*/
|
|
133
|
-
static generateRenderingTools(gaugeConfig: IGaugeConfig, mode: GaugeMode): IGaugeRenderingTools;
|
|
134
|
-
/**
|
|
135
|
-
* Generates quantity and remainder data in the format needed by the gauge visualization
|
|
136
|
-
*
|
|
137
|
-
* @param gaugeConfig The configuration for the gauge
|
|
138
|
-
*
|
|
139
|
-
* @returns {Partial<IDataSeries<IAccessors>>[]} Array of partial IDataSeries objects including the 'id' and 'data' properties of the quantity and remainder
|
|
140
|
-
* series needed by the gauge visualization
|
|
141
|
-
*/
|
|
142
|
-
static generateQuantityAndRemainderData(gaugeConfig: IGaugeConfig): Partial<IDataSeries<IAccessors>>[];
|
|
143
|
-
/**
|
|
144
|
-
* Generates threshold data in the form needed by the gauge's thresholds visualization
|
|
145
|
-
*
|
|
146
|
-
* @param gaugeConfig The configuration for the gauge
|
|
147
|
-
*
|
|
148
|
-
* @returns {Partial<IDataSeries<IAccessors, IGaugeThresholdDatum>>} A partial IDataSeries object including the 'id' and 'data' properties of the thresholds
|
|
149
|
-
* series used for the the gauge's thresholds visualization
|
|
150
|
-
*/
|
|
151
|
-
static generateThresholdsData(gaugeConfig: IGaugeConfig): Partial<IDataSeries<IAccessors, IGaugeThresholdDatum>>;
|
|
152
|
-
/**
|
|
153
|
-
* Generates visualization-specific thresholds data based on the gauge's configuration
|
|
154
|
-
*
|
|
155
|
-
* @param gaugeConfig The gauge configuration
|
|
156
|
-
*
|
|
157
|
-
* @returns {IGaugeThresholdsData} Thresholds data modified for use by the gauge visualization
|
|
158
|
-
*/
|
|
159
|
-
static prepareThresholdsData(gaugeConfig: IGaugeConfig): IGaugeThresholdsData;
|
|
160
|
-
private static clampConfigToRange;
|
|
161
|
-
}
|
package/gauge/public-api.d.ts
DELETED
package/gauge/types.d.ts
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { Formatter } from "../core/common/scales/types";
|
|
2
|
-
/**
|
|
3
|
-
* Configuration for a gauge
|
|
4
|
-
*/
|
|
5
|
-
export interface IGaugeConfig {
|
|
6
|
-
/** The value of the gauge */
|
|
7
|
-
value: number;
|
|
8
|
-
/** The max value of the gauge */
|
|
9
|
-
max: number;
|
|
10
|
-
/** Optional threshold configuration */
|
|
11
|
-
thresholds?: IGaugeThresholdsConfig;
|
|
12
|
-
/** Optional configuration for value labels (currently only used for thresholds) */
|
|
13
|
-
labels?: IGaugeLabelsConfig;
|
|
14
|
-
/** The color to display for the quantity when no threshold is active */
|
|
15
|
-
defaultQuantityColor?: string;
|
|
16
|
-
/** The color to display for the unfilled segment */
|
|
17
|
-
remainderColor?: string;
|
|
18
|
-
/** Used for linear gauges; sets the thickness of the bar. */
|
|
19
|
-
linearThickness?: number;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Configuration for a gauge's thresholds
|
|
23
|
-
*/
|
|
24
|
-
export interface IGaugeThresholdsConfig {
|
|
25
|
-
/** An array of the gauge's threshold definitions */
|
|
26
|
-
definitions: GaugeThresholdDefs;
|
|
27
|
-
/** Set to true to disable the threshold markers */
|
|
28
|
-
disableMarkers?: boolean;
|
|
29
|
-
/** The radius of the threshold marker dots */
|
|
30
|
-
markerRadius?: number;
|
|
31
|
-
/** Boolean indicating whether the threshold trigger direction should be reversed */
|
|
32
|
-
reversed?: boolean;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Configuration for a gauge's value labels (currently only used for threshold markers)
|
|
36
|
-
*/
|
|
37
|
-
export interface IGaugeLabelsConfig {
|
|
38
|
-
/**
|
|
39
|
-
* Optional custom formatter for the value labels (currently only threshold labels are supported)
|
|
40
|
-
*/
|
|
41
|
-
formatter?: Formatter<any>;
|
|
42
|
-
/**
|
|
43
|
-
* Amount of space (in pixels) to reserve on the side of the grid for the labels.
|
|
44
|
-
* For the donut gauge, the clearance is applied to all sides; for the linear gauge
|
|
45
|
-
* the clearance is applied only to the side on which the labels appear.
|
|
46
|
-
*/
|
|
47
|
-
clearance?: number;
|
|
48
|
-
/**
|
|
49
|
-
* Currently only supported on linear gauges. Set this to true to change the side of the gauge
|
|
50
|
-
* that the labels appear on. When false, the default sides are right for vertical gauge
|
|
51
|
-
* and bottom for horizontal gauge.
|
|
52
|
-
*/
|
|
53
|
-
flipped?: boolean;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Map of threshold IDs to IGaugeThresholdDef objects
|
|
57
|
-
*/
|
|
58
|
-
export type GaugeThresholdDefs = Record<string, IGaugeThresholdDef>;
|
|
59
|
-
/**
|
|
60
|
-
* Configuration definition for a gauge threshold
|
|
61
|
-
*/
|
|
62
|
-
export interface IGaugeThresholdDef {
|
|
63
|
-
/** The ID of the threshold */
|
|
64
|
-
id: string;
|
|
65
|
-
/** The value of the threshold */
|
|
66
|
-
value: number;
|
|
67
|
-
/** Boolean indicating whether the threshold is enabled */
|
|
68
|
-
enabled: boolean;
|
|
69
|
-
/** String indicating the display color of the threshold */
|
|
70
|
-
color: string;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Interface for a gauge threshold datum
|
|
74
|
-
*/
|
|
75
|
-
export interface IGaugeThresholdDatum extends IGaugeThresholdDef {
|
|
76
|
-
/** Boolean indicating whether the threshold is hit */
|
|
77
|
-
hit?: boolean;
|
|
78
|
-
/** Additional metadata as needed */
|
|
79
|
-
[key: string]: any;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Data used for visualizing thresholds on a gauge
|
|
83
|
-
*/
|
|
84
|
-
export interface IGaugeThresholdsData {
|
|
85
|
-
/** A collection of thresholds */
|
|
86
|
-
thresholds: IGaugeThresholdDatum[];
|
|
87
|
-
/** The currently active threshold */
|
|
88
|
-
activeThreshold?: IGaugeThresholdDatum;
|
|
89
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter } from "@angular/core";
|
|
2
|
-
import { RenderState } from "../../renderers/types";
|
|
3
|
-
import { LegendComponent } from "../legend.component";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/** @ignore */
|
|
6
|
-
export declare const LEGEND_SERIES_CLASS_NAME = "nui-legend-series";
|
|
7
|
-
export declare class LegendSeriesComponent implements AfterContentInit {
|
|
8
|
-
private legend;
|
|
9
|
-
/**
|
|
10
|
-
* Sets the series active status
|
|
11
|
-
*
|
|
12
|
-
* @param {boolean} active The new active status
|
|
13
|
-
*/
|
|
14
|
-
set active(active: boolean);
|
|
15
|
-
/**
|
|
16
|
-
* Sets the series interactive mode switch
|
|
17
|
-
*
|
|
18
|
-
* @param {boolean} interactive The new interactive mode
|
|
19
|
-
*/
|
|
20
|
-
set interactive(interactive: boolean);
|
|
21
|
-
/**
|
|
22
|
-
* Gets the series interactive mode value
|
|
23
|
-
*
|
|
24
|
-
* @returns {boolean} The current interactive mode
|
|
25
|
-
*/
|
|
26
|
-
get interactive(): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Set whether the series is selected
|
|
29
|
-
*/
|
|
30
|
-
isSelected: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Emits an event with a boolean value indicating a new selected status
|
|
33
|
-
*/
|
|
34
|
-
isSelectedChange: EventEmitter<any>;
|
|
35
|
-
/**
|
|
36
|
-
* The primary description of the series
|
|
37
|
-
*/
|
|
38
|
-
descriptionPrimary: string;
|
|
39
|
-
/**
|
|
40
|
-
* The secondary description of the series
|
|
41
|
-
*/
|
|
42
|
-
descriptionSecondary: string;
|
|
43
|
-
/**
|
|
44
|
-
* The series icon
|
|
45
|
-
*/
|
|
46
|
-
icon: string;
|
|
47
|
-
/**
|
|
48
|
-
* Color of the series
|
|
49
|
-
*/
|
|
50
|
-
color: string;
|
|
51
|
-
/**
|
|
52
|
-
* The render state of the legend series
|
|
53
|
-
*/
|
|
54
|
-
set seriesRenderState(renderState: RenderState);
|
|
55
|
-
get seriesRenderState(): RenderState;
|
|
56
|
-
private projectedDescription;
|
|
57
|
-
get isInteractiveClassApplied(): boolean;
|
|
58
|
-
isHorizontalClassApplied: boolean;
|
|
59
|
-
get isActiveClassApplied(): boolean;
|
|
60
|
-
private _seriesRenderState;
|
|
61
|
-
private _active;
|
|
62
|
-
private _interactive;
|
|
63
|
-
constructor(legend: LegendComponent);
|
|
64
|
-
ngAfterContentInit(): void;
|
|
65
|
-
/**
|
|
66
|
-
* Emits an isSelectedChange event on series click if the series is in interactive mode
|
|
67
|
-
*/
|
|
68
|
-
onClick(): void;
|
|
69
|
-
/**
|
|
70
|
-
* @returns boolean indicating whether the series has a primary or secondary description
|
|
71
|
-
*/
|
|
72
|
-
hasInputDescription(): boolean;
|
|
73
|
-
/**
|
|
74
|
-
* @returns boolean indicating whether the series has a projected description
|
|
75
|
-
*/
|
|
76
|
-
hasProjectedDescription(): boolean;
|
|
77
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LegendSeriesComponent, [{ optional: true; host: true; }]>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LegendSeriesComponent, "nui-legend-series", never, { "active": { "alias": "active"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "descriptionPrimary": { "alias": "descriptionPrimary"; "required": false; }; "descriptionSecondary": { "alias": "descriptionSecondary"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "color": { "alias": "color"; "required": false; }; "seriesRenderState": { "alias": "seriesRenderState"; "required": false; }; }, { "isSelectedChange": "isSelectedChange"; }, never, ["*", "[legendMenu]", "[description]"], false, never>;
|
|
79
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BasicLegendTileComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BasicLegendTileComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BasicLegendTileComponent, "nui-basic-legend-tile", never, {}, {}, never, ["*"], false, never>;
|
|
5
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef } from "@angular/core";
|
|
2
|
-
import { LegendSeriesComponent } from "../../legend-series/legend-series.component";
|
|
3
|
-
import { LegendComponent } from "../../legend.component";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class RichLegendTileComponent implements AfterContentInit, AfterViewInit {
|
|
6
|
-
private legendSeries;
|
|
7
|
-
private legend;
|
|
8
|
-
private changeDetector;
|
|
9
|
-
/**
|
|
10
|
-
* The series unit label
|
|
11
|
-
*/
|
|
12
|
-
unitLabel: string;
|
|
13
|
-
/**
|
|
14
|
-
* The current value of the series
|
|
15
|
-
*/
|
|
16
|
-
value: string;
|
|
17
|
-
/**
|
|
18
|
-
* The series color
|
|
19
|
-
*/
|
|
20
|
-
backgroundColor: string;
|
|
21
|
-
/**
|
|
22
|
-
* Color for the text
|
|
23
|
-
*/
|
|
24
|
-
color: string;
|
|
25
|
-
seriesHasAdditionalContent: boolean;
|
|
26
|
-
constructor(legendSeries: LegendSeriesComponent, legend: LegendComponent, changeDetector: ChangeDetectorRef);
|
|
27
|
-
ngAfterContentInit(): void;
|
|
28
|
-
ngAfterViewInit(): void;
|
|
29
|
-
hasInputValue(): boolean;
|
|
30
|
-
hasInputUnitLabel(): boolean;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RichLegendTileComponent, [{ host: true; }, { optional: true; host: true; }, null]>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RichLegendTileComponent, "nui-rich-legend-tile", never, { "unitLabel": { "alias": "unitLabel"; "required": false; }; "value": { "alias": "value"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*", "[leftEdge]", "[rightEdge]", "[top]", "[bottom]"], false, never>;
|
|
33
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { LegendOrientation } from "./types";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LegendComponent implements OnChanges, OnDestroy {
|
|
5
|
-
/**
|
|
6
|
-
* EventEmitter for notifying subscribers of a change in the active state
|
|
7
|
-
*/
|
|
8
|
-
activeChanged: EventEmitter<boolean>;
|
|
9
|
-
/**
|
|
10
|
-
* The active state
|
|
11
|
-
*/
|
|
12
|
-
active: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* The legend's interactive mode switch
|
|
15
|
-
*/
|
|
16
|
-
interactive: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* The legend's orientation
|
|
19
|
-
*/
|
|
20
|
-
orientation: LegendOrientation;
|
|
21
|
-
/**
|
|
22
|
-
* The legend's overall series color. Individual legend series may override this.
|
|
23
|
-
*/
|
|
24
|
-
seriesColor: string;
|
|
25
|
-
/**
|
|
26
|
-
* The legend's overall series icon. Individual legend series may override this.
|
|
27
|
-
*/
|
|
28
|
-
seriesIcon: string;
|
|
29
|
-
/**
|
|
30
|
-
* The legend's overall series unit label. Individual legend series may override this.
|
|
31
|
-
*/
|
|
32
|
-
seriesUnitLabel: string;
|
|
33
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
34
|
-
ngOnDestroy(): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LegendComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LegendComponent, "nui-legend", never, { "active": { "alias": "active"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "seriesColor": { "alias": "seriesColor"; "required": false; }; "seriesIcon": { "alias": "seriesIcon"; "required": false; }; "seriesUnitLabel": { "alias": "seriesUnitLabel"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
37
|
-
}
|
package/legend/public-api.d.ts
DELETED
package/legend/types.d.ts
DELETED
package/public-api.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { ChartTooltipDirective } from "./chart-tooltips/chart-tooltip.directive";
|
|
2
|
-
export { ChartTooltipComponent } from "./chart-tooltips/chart-tooltip.component";
|
|
3
|
-
export { ChartDonutContentComponent } from "./chart-donut-content/chart-donut-content.component";
|
|
4
|
-
export { ChartTooltipsComponent } from "./chart-tooltips/chart-tooltips.component";
|
|
5
|
-
export { ChartPopoverComponent } from "./chart-popover/chart-popover.component";
|
|
6
|
-
export { ChartMarkerComponent } from "./chart-marker/chart-marker.component";
|
|
7
|
-
export * from "./charts.module";
|
|
8
|
-
export * from "./chart/chart.component";
|
|
9
|
-
export * from "./gauge/public-api";
|
|
10
|
-
export * from "./chart-collection/public-api";
|
|
11
|
-
export * from "./core/public-api";
|
|
12
|
-
export * from "./legend/public-api";
|
|
13
|
-
export * from "./renderers/public-api";
|
|
14
|
-
export * from "./constants";
|
|
15
|
-
export * from "./thresholds/public-api";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IAccessors } from "../../core/common/types";
|
|
2
|
-
export interface INoopAccessors extends IAccessors {
|
|
3
|
-
data: any;
|
|
4
|
-
/** Series level accessors - e.g. for colors, markers, etc. */
|
|
5
|
-
series: any;
|
|
6
|
-
}
|
|
7
|
-
export declare class NoopAccessors implements INoopAccessors {
|
|
8
|
-
series: any;
|
|
9
|
-
data: any;
|
|
10
|
-
constructor();
|
|
11
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { DataAccessor, IAccessors, IDataAccessors, ISeriesAccessors, SeriesAccessor } from "../../core/common/types";
|
|
2
|
-
export interface IStartEndRangeAccessors extends IDataAccessors {
|
|
3
|
-
start: DataAccessor;
|
|
4
|
-
end: DataAccessor;
|
|
5
|
-
}
|
|
6
|
-
export interface IValueThicknessAccessors extends IDataAccessors {
|
|
7
|
-
value: DataAccessor;
|
|
8
|
-
thickness: DataAccessor;
|
|
9
|
-
}
|
|
10
|
-
export interface IRectangleDataAccessors extends IDataAccessors {
|
|
11
|
-
startX?: DataAccessor;
|
|
12
|
-
endX?: DataAccessor;
|
|
13
|
-
thicknessX?: DataAccessor;
|
|
14
|
-
startY?: DataAccessor;
|
|
15
|
-
endY?: DataAccessor;
|
|
16
|
-
thicknessY?: DataAccessor;
|
|
17
|
-
}
|
|
18
|
-
export interface IRectangleSeriesAccessors extends ISeriesAccessors {
|
|
19
|
-
color?: SeriesAccessor;
|
|
20
|
-
marker?: SeriesAccessor;
|
|
21
|
-
}
|
|
22
|
-
export interface IRectangleAccessors extends IAccessors {
|
|
23
|
-
data: IRectangleDataAccessors;
|
|
24
|
-
series: IRectangleSeriesAccessors;
|
|
25
|
-
}
|
|
26
|
-
export declare class RectangleAccessors implements IRectangleAccessors {
|
|
27
|
-
data: IRectangleDataAccessors;
|
|
28
|
-
series: IRectangleSeriesAccessors;
|
|
29
|
-
constructor();
|
|
30
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DataAccessor, IAccessors } from "../../core/common/types";
|
|
2
|
-
export interface IXYDataAccessors {
|
|
3
|
-
/** Accessor for value plotted on the <code>x</code> coordinate */
|
|
4
|
-
x: DataAccessor;
|
|
5
|
-
/** Accessor for value plotted on the <code>y</code> coordinate */
|
|
6
|
-
y: DataAccessor;
|
|
7
|
-
/** Additional custom keys to match the base interface */
|
|
8
|
-
[key: string]: DataAccessor | undefined;
|
|
9
|
-
}
|
|
10
|
-
export declare class XYAccessors implements IAccessors {
|
|
11
|
-
/** The default data accessors for using with renderers deriving from XYRenderer */
|
|
12
|
-
data: IXYDataAccessors;
|
|
13
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DataAccessor, IAccessors, IDataAccessors, ISeriesAccessors, SeriesAccessor } from "../../core/common/types";
|
|
2
|
-
export interface IAreaDataAccessors extends IDataAccessors {
|
|
3
|
-
x: DataAccessor;
|
|
4
|
-
x0: DataAccessor;
|
|
5
|
-
x1: DataAccessor;
|
|
6
|
-
absoluteX0: DataAccessor;
|
|
7
|
-
absoluteX1: DataAccessor;
|
|
8
|
-
y: DataAccessor;
|
|
9
|
-
y0: DataAccessor;
|
|
10
|
-
y1: DataAccessor;
|
|
11
|
-
absoluteY0: DataAccessor;
|
|
12
|
-
absoluteY1: DataAccessor;
|
|
13
|
-
}
|
|
14
|
-
export interface IAreaSeriesAccessors extends ISeriesAccessors {
|
|
15
|
-
color?: SeriesAccessor;
|
|
16
|
-
marker?: SeriesAccessor;
|
|
17
|
-
}
|
|
18
|
-
export interface IAreaAccessors extends IAccessors {
|
|
19
|
-
data: IAreaDataAccessors;
|
|
20
|
-
series: IAreaSeriesAccessors;
|
|
21
|
-
}
|
|
22
|
-
export declare class AreaAccessors implements IAreaAccessors {
|
|
23
|
-
private colorProvider;
|
|
24
|
-
private markerProvider;
|
|
25
|
-
data: IAreaDataAccessors;
|
|
26
|
-
series: IAreaSeriesAccessors;
|
|
27
|
-
constructor(colorProvider?: import("../../core/common/types").IValueProvider<string>, markerProvider?: import("../../core/common/types").IValueProvider<import("../../core/common/types").IChartMarker>);
|
|
28
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { IScale } from "../../core/common/scales/types";
|
|
3
|
-
import { D3Selection, IDataSeries, ILasagnaLayer, IRendererEventPayload } from "../../core/common/types";
|
|
4
|
-
import { IAreaRendererConfig, IRenderSeries } from "../types";
|
|
5
|
-
import { XYRenderer } from "../xy-renderer";
|
|
6
|
-
import { IAreaAccessors } from "./area-accessors";
|
|
7
|
-
/**
|
|
8
|
-
* Renderer that is able to draw line chart
|
|
9
|
-
*/
|
|
10
|
-
export declare class AreaRenderer extends XYRenderer<IAreaAccessors> {
|
|
11
|
-
config: IAreaRendererConfig;
|
|
12
|
-
private DEFAULT_CONFIG;
|
|
13
|
-
/**
|
|
14
|
-
* Creates an instance of AreaRenderer.
|
|
15
|
-
* @param {IAreaRendererConfig} [config={}] Renderer configuration object
|
|
16
|
-
*/
|
|
17
|
-
constructor(config?: IAreaRendererConfig);
|
|
18
|
-
/** See {@link Renderer#draw} */
|
|
19
|
-
draw(renderSeries: IRenderSeries<IAreaAccessors>, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
20
|
-
/**
|
|
21
|
-
* Renders the line in prepared <path> element
|
|
22
|
-
*
|
|
23
|
-
* @param {IRenderSeries<IAreaAccessors>} renderSeries
|
|
24
|
-
* @param {D3Selection} path D3 Selection with <path> element pre-created and pre-styled
|
|
25
|
-
*/
|
|
26
|
-
drawArea(renderSeries: IRenderSeries<IAreaAccessors>, path: D3Selection<SVGPathElement>): void;
|
|
27
|
-
getDomain(data: any[], dataSeries: IDataSeries<IAreaAccessors>, scaleName: string, scale: IScale<any>): any[];
|
|
28
|
-
/** See {@link Renderer#getRequiredLayers} */
|
|
29
|
-
getRequiredLayers(): ILasagnaLayer[];
|
|
30
|
-
/**
|
|
31
|
-
* Filters given dataset by domain of provided scale
|
|
32
|
-
*
|
|
33
|
-
* @param data
|
|
34
|
-
* @param dataSeries
|
|
35
|
-
* @param scaleName
|
|
36
|
-
* @param domain
|
|
37
|
-
*/
|
|
38
|
-
filterDataByDomain(data: any[], dataSeries: IDataSeries<IAreaAccessors>, scaleName: string, domain: any[]): any[];
|
|
39
|
-
highlightDataPoint(renderSeries: IRenderSeries<IAreaAccessors>, dataPointIndex: number, rendererSubject: Subject<IRendererEventPayload>): void;
|
|
40
|
-
safetyCheck(value: number | undefined): number;
|
|
41
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IAreaAccessors } from "./area-accessors";
|
|
2
|
-
import { ChartAssist } from "../../core/chart-assists/chart-assist";
|
|
3
|
-
import { IChartAssistSeries, IChartSeries } from "../../core/common/types";
|
|
4
|
-
export declare function stackedAreaPreprocessor(chartSeriesSet: IChartAssistSeries<IAreaAccessors>[], isVisible: (chartSeries: IChartSeries<IAreaAccessors>) => boolean): IChartSeries<IAreaAccessors>[];
|
|
5
|
-
export declare function stackedArea(this: ChartAssist, chartSeriesSet: IChartAssistSeries<IAreaAccessors>[]): IChartAssistSeries<IAreaAccessors>[];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IAreaAccessors } from "./area-accessors";
|
|
2
|
-
import { ChartAssist } from "../../core/chart-assists/chart-assist";
|
|
3
|
-
import { IChartAssistSeries, IChartSeries } from "../../core/common/types";
|
|
4
|
-
export declare function stackedPercentageAreaPreprocessor(chartSeriesSet: IChartSeries<IAreaAccessors>[], isVisible: (chartSeries: IChartSeries<IAreaAccessors>) => boolean): IChartSeries<IAreaAccessors>[];
|
|
5
|
-
export declare function stackedPercentageArea(this: ChartAssist, chartSeriesSet: IChartAssistSeries<IAreaAccessors>[]): IChartAssistSeries<IAreaAccessors>[];
|
|
6
|
-
export declare function calculateDomainValueCombinedTotals(baseAccessorKey: string, valueAccessorKey: string, chartSeries: IChartSeries<IAreaAccessors>, isVisible: any, domainValueCombinedTotals: Record<any, number>): void;
|
|
7
|
-
export declare function applyStackMetadata(baseAccessorKey: string, valueAccessorKey: string, chartSeries: IChartSeries<IAreaAccessors>, isVisible: any, domainValueStacks: Record<any, number>, domainValueCombinedTotals: Record<any, number>): void;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IChartMarker, IValueProvider } from "../../../core/common/types";
|
|
2
|
-
import { IBarChartConfig } from "../types";
|
|
3
|
-
import { IBarAccessors } from "./bar-accessors";
|
|
4
|
-
/**
|
|
5
|
-
* Creates {@link VerticalBarAccessors} or {@link VerticalBarAccessors}
|
|
6
|
-
* using {@link IBarChartConfig#horizontal} horizontal property. Default orientation is **vertical**.
|
|
7
|
-
*
|
|
8
|
-
* @param {IBarChartConfig} [config]
|
|
9
|
-
* @param {IValueProvider<string>} [colorProvider]
|
|
10
|
-
* @param {IValueProvider<IChartMarker>} [markerProvider]
|
|
11
|
-
* @returns {IBarAccessors}
|
|
12
|
-
*/
|
|
13
|
-
export declare function barAccessors(config?: IBarChartConfig, colorProvider?: IValueProvider<string>, markerProvider?: IValueProvider<IChartMarker>): IBarAccessors;
|