@deephaven/chart 0.38.0 → 0.38.1-beta.11

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ChartTestUtils.js","names":["dh","ChartTestUtils","makeAxis","label","type","plot","AxisType","X","position","AxisPosition","BOTTOM","formatType","Axis","FORMAT_TYPE_NUMBER","formatPattern","log","makeDefaultAxes","DEFAULT_X_TITLE","DEFAULT_Y_TITLE","Y","makeSource","axis","SeriesDataSource","makeDefaultSources","axes","map","makeSeries","name","DEFAULT_SERIES_NAME","plotStyle","SeriesPlotStyle","SCATTER","sources","lineColor","shapeColor","Series","makeChart","title","DEFAULT_CHART_TITLE","series","showLegend","rowspan","colspan","row","column","Chart","makeFigure","charts","rows","cols","Figure"],"sources":["../src/ChartTestUtils.ts"],"sourcesContent":["import dh, {\n Axis,\n Chart,\n Figure,\n Series,\n SeriesDataSource,\n} from '@deephaven/jsapi-shim';\n\nclass ChartTestUtils {\n static DEFAULT_CHART_TITLE = 'Chart Title';\n\n static DEFAULT_X_TITLE = 'X Axis';\n\n static DEFAULT_Y_TITLE = 'Y Axis';\n\n static DEFAULT_SERIES_NAME = 'MySeries';\n\n static makeAxis({\n label = 'Axis',\n type = dh.plot.AxisType.X,\n position = dh.plot.AxisPosition.BOTTOM,\n formatType = dh.Axis.FORMAT_TYPE_NUMBER,\n formatPattern = '###,###0.00',\n log = false,\n } = {}): Axis {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return new (dh as any).Axis({\n label,\n type,\n position,\n formatType,\n formatPattern,\n log,\n });\n }\n\n static makeDefaultAxes(): Axis[] {\n return [\n ChartTestUtils.makeAxis({\n label: ChartTestUtils.DEFAULT_X_TITLE,\n type: dh.plot.AxisType.X,\n }),\n ChartTestUtils.makeAxis({\n label: ChartTestUtils.DEFAULT_Y_TITLE,\n type: dh.plot.AxisType.Y,\n }),\n ];\n }\n\n static makeSource({\n axis = ChartTestUtils.makeAxis(),\n }: {\n axis: Axis;\n }): SeriesDataSource {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return new (dh as any).SeriesDataSource({ axis, type: axis.type });\n }\n\n static makeDefaultSources(): SeriesDataSource[] {\n const axes = ChartTestUtils.makeDefaultAxes();\n return axes.map(axis => ChartTestUtils.makeSource({ axis }));\n }\n\n static makeSeries({\n name = ChartTestUtils.DEFAULT_SERIES_NAME,\n plotStyle = dh.plot.SeriesPlotStyle.SCATTER,\n sources = ChartTestUtils.makeDefaultSources(),\n lineColor = null,\n shapeColor = null,\n } = {}): Series {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return new (dh as any).Series(\n name,\n plotStyle,\n sources,\n lineColor,\n shapeColor\n );\n }\n\n static makeChart({\n title = ChartTestUtils.DEFAULT_CHART_TITLE,\n series = [ChartTestUtils.makeSeries()],\n axes = ChartTestUtils.makeDefaultAxes(),\n showLegend = null,\n rowspan = 1,\n colspan = 1,\n row = 0,\n column = 0,\n }: {\n title?: string;\n series?: Series[];\n axes?: Axis[];\n showLegend?: boolean | null;\n rowspan?: number;\n colspan?: number;\n row?: number;\n column?: number;\n } = {}): Chart {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return new (dh as any).Chart({\n title,\n series,\n axes,\n showLegend,\n row,\n column,\n rowspan,\n colspan,\n });\n }\n\n static makeFigure({\n title = 'Figure',\n charts = [ChartTestUtils.makeChart()],\n rows = 1,\n cols = 1,\n } = {}): Figure {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return new (dh as any).plot.Figure({ title, charts, rows, cols });\n }\n}\n\nexport default ChartTestUtils;\n"],"mappings":";;;AAAA,OAAOA,EAAE,MAMF,uBAAuB;AAE9B,MAAMC,cAAc,CAAC;EASnB,OAAOC,QAAQ,GAOD;IAAA,IAPE;MACdC,KAAK,GAAG,MAAM;MACdC,IAAI,GAAGJ,EAAE,CAACK,IAAI,CAACC,QAAQ,CAACC,CAAC;MACzBC,QAAQ,GAAG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
1
+ {"version":3,"file":"ChartTestUtils.js","names":["ChartTestUtils","constructor","dh","makeAxis","label","type","undefined","position","formatType","formatPattern","log","Axis","plot","AxisType","X","AxisPosition","BOTTOM","FORMAT_TYPE_NUMBER","makeDefaultAxes","DEFAULT_X_TITLE","DEFAULT_Y_TITLE","Y","makeSource","axis","SeriesDataSource","makeDefaultSources","axes","map","makeSeries","name","DEFAULT_SERIES_NAME","plotStyle","sources","lineColor","shapeColor","Series","SeriesPlotStyle","SCATTER","makeChart","title","DEFAULT_CHART_TITLE","series","showLegend","rowspan","colspan","row","column","Chart","makeFigure","charts","rows","cols","Figure"],"sources":["../src/ChartTestUtils.ts"],"sourcesContent":["import type {\n Axis,\n AxisFormatType,\n AxisPosition,\n AxisType,\n Chart,\n dh as DhType,\n Figure,\n Series,\n SeriesDataSource,\n} from '@deephaven/jsapi-types';\n\nclass ChartTestUtils {\n static DEFAULT_CHART_TITLE = 'Chart Title';\n\n static DEFAULT_X_TITLE = 'X Axis';\n\n static DEFAULT_Y_TITLE = 'Y Axis';\n\n static DEFAULT_SERIES_NAME = 'MySeries';\n\n private dh: DhType;\n\n constructor(dh: DhType) {\n this.dh = dh;\n }\n\n makeAxis({\n label = 'Axis',\n type = undefined,\n position = undefined,\n formatType = undefined,\n formatPattern = '###,###0.00',\n log = false,\n }: {\n label?: string;\n type?: AxisType;\n position?: AxisPosition;\n formatType?: AxisFormatType;\n formatPattern?: string;\n log?: boolean;\n } = {}): Axis {\n const { dh } = this;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return new (dh as any).Axis({\n label,\n type: type ?? dh.plot.AxisType.X,\n position: position ?? dh.plot.AxisPosition.BOTTOM,\n formatType: formatType ?? dh.Axis.FORMAT_TYPE_NUMBER,\n formatPattern,\n log,\n });\n }\n\n makeDefaultAxes(): Axis[] {\n const { dh } = this;\n return [\n this.makeAxis({\n label: ChartTestUtils.DEFAULT_X_TITLE,\n type: dh.plot.AxisType.X,\n }),\n this.makeAxis({\n label: ChartTestUtils.DEFAULT_Y_TITLE,\n type: dh.plot.AxisType.Y,\n }),\n ];\n }\n\n makeSource({ axis = this.makeAxis() }: { axis: Axis }): SeriesDataSource {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return new (this.dh as any).SeriesDataSource({ axis, type: axis.type });\n }\n\n makeDefaultSources(): SeriesDataSource[] {\n const axes = this.makeDefaultAxes();\n return axes.map(axis => this.makeSource({ axis }));\n }\n\n makeSeries({\n name = ChartTestUtils.DEFAULT_SERIES_NAME,\n plotStyle = null,\n sources = this.makeDefaultSources(),\n lineColor = null,\n shapeColor = null,\n } = {}): Series {\n const { dh } = this;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return new (dh as any).Series(\n name,\n plotStyle ?? dh.plot.SeriesPlotStyle.SCATTER,\n sources,\n lineColor,\n shapeColor\n );\n }\n\n makeChart({\n title = ChartTestUtils.DEFAULT_CHART_TITLE,\n series = [this.makeSeries()],\n axes = this.makeDefaultAxes(),\n showLegend = null,\n rowspan = 1,\n colspan = 1,\n row = 0,\n column = 0,\n }: {\n title?: string;\n series?: Series[];\n axes?: Axis[];\n showLegend?: boolean | null;\n rowspan?: number;\n colspan?: number;\n row?: number;\n column?: number;\n } = {}): Chart {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return new (this.dh as any).Chart({\n title,\n series,\n axes,\n showLegend,\n row,\n column,\n rowspan,\n colspan,\n });\n }\n\n makeFigure({\n title = 'Figure',\n charts = [this.makeChart()],\n rows = 1,\n cols = 1,\n } = {}): Figure {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return new (this.dh as any).plot.Figure({ title, charts, rows, cols });\n }\n}\n\nexport default ChartTestUtils;\n"],"mappings":";;;AAYA,MAAMA,cAAc,CAAC;EAWnBC,WAAW,CAACC,EAAU,EAAE;IAAA;IACtB,IAAI,CAACA,EAAE,GAAGA,EAAE;EACd;EAEAC,QAAQ,GAcM;IAAA,IAdL;MACPC,KAAK,GAAG,MAAM;MACdC,I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,IAAI,GAAG,CAAC;MACRC,IAAI,GAAG;IACT,CAAC,uEAAG,CAAC,CAAC;IACJ;IACA,OAAO,IAAK,IAAI,CAACjD,EAAE,CAASU,IAAI,CAACwC,MAAM,CAAC;MAAEb,KAAK;MAAEU,MAAM;MAAEC,IAAI;MAAEC;IAAK,CAAC,CAAC;EACxE;AACF;AAAC,gBA7HKnD,cAAc,yBACW,aAAa;AAAA,gBADtCA,cAAc,qBAGO,QAAQ;AAAA,gBAH7BA,cAAc,qBAKO,QAAQ;AAAA,gBAL7BA,cAAc,yBAOW,UAAU;AAwHzC,eAAeA,cAAc"}
@@ -1,5 +1,5 @@
1
1
  import { Formatter } from '@deephaven/jsapi-utils';
2
- import { Axis, AxisPosition, AxisType, Chart, Figure, Holiday, Series, SeriesDataSource, SeriesPlotStyle, SourceType, TableTemplate, TimeZone } from '@deephaven/jsapi-shim';
2
+ import type { Axis, AxisPosition, AxisType, Chart, dh as DhType, Figure, Holiday, Series, SeriesDataSource, SeriesPlotStyle, SourceType, TableTemplate, TimeZone } from '@deephaven/jsapi-types';
3
3
  import { Layout, PlotData, PlotType, Axis as PlotlyAxis, ErrorBar, LayoutAxis, MarkerSymbol } from 'plotly.js';
4
4
  import { Range } from '@deephaven/utils';
5
5
  import ChartTheme from './ChartTheme';
@@ -77,26 +77,6 @@ declare class ChartUtils {
77
77
  static DEFAULT_MARKER_SIZE: number;
78
78
  static MODE_MARKERS: PlotData['mode'];
79
79
  static MODE_LINES: PlotData['mode'];
80
- /**
81
- * Converts the Iris plot style into a plotly chart type
82
- * @param plotStyle The plotStyle to use, see dh.plot.SeriesPlotStyle
83
- * @param isBusinessTime If the plot is using business time for an axis
84
- */
85
- static getPlotlyChartType(plotStyle: SeriesPlotStyle, isBusinessTime: boolean): PlotType | undefined;
86
- /**
87
- * Converts the Iris plot style into a plotly chart mode
88
- * @param plotStyle The plotStyle to use, see dh.plot.SeriesPlotStyle.*
89
- * @param areLinesVisible Whether lines are visible or not
90
- * @param areShapesVisible Whether shapes are visible or not
91
- */
92
- static getPlotlyChartMode(plotStyle: SeriesPlotStyle, areLinesVisible?: boolean, areShapesVisible?: boolean): PlotData['mode'] | undefined;
93
- /**
94
- * Get the property to set on the series data for plotly
95
- * @param plotStyle The plot style of the series
96
- * @param sourceType The source type for the series
97
- */
98
- static getPlotlyProperty(plotStyle: SeriesPlotStyle, sourceType: SourceType): string;
99
- static getPlotlySeriesOrientation(series: Series): 'h' | 'v' | undefined;
100
80
  /**
101
81
  * Generate the plotly error bar data from the passed in data.
102
82
  * Iris passes in the values as absolute, plotly needs them as relative.
@@ -107,15 +87,8 @@ declare class ChartUtils {
107
87
  * @returns The error_x object required by plotly, or null if none is required
108
88
  */
109
89
  static getPlotlyErrorBars(x: number[], xLow: number[], xHigh: number[]): ErrorBar;
110
- static getPlotlyDateFormat(formatter: Formatter | null, columnType: string, formatPattern: string): Partial<LayoutAxis>;
111
90
  static convertNumberPrefix(prefix: string): string;
112
91
  static getPlotlyNumberFormat(formatter: Formatter | null, columnType: string, formatPattern: string): Partial<LayoutAxis> | null;
113
- /**
114
- * Gets the plotly axis formatting information from the source passed in
115
- * @param source The Source to get the formatter information from
116
- * @param formatter The current formatter for formatting data
117
- */
118
- static getPlotlyAxisFormat(source: SeriesDataSource, formatter?: Formatter | null): Partial<PlotlyAxis> | null;
119
92
  /**
120
93
  * Adds tick spacing for an axis that has gapBetweenMajorTicks defined.
121
94
  *
@@ -150,14 +123,51 @@ declare class ChartUtils {
150
123
  */
151
124
  static makeSeriesData(type: PlotType | undefined, mode: PlotData['mode'] | undefined, name: string, showLegend: boolean | null, orientation?: 'h' | 'v'): Partial<PlotData>;
152
125
  /**
153
- * Create a data series (trace) for use with plotly
154
- * @param series The series to create the series data with
155
- * @param axisTypeMap The map of axes grouped by type
156
- * @param seriesVisibility Visibility setting for the series
157
- * @param theme The theme properties for the plot. See ChartTheme.js for an example
158
- * @returns The series data (trace) object for use with plotly.
126
+ * Get the Plotly marker symbol for the provided Deephaven shape
127
+ * Deephaven shapes: https://deephaven.io/enterprise/docs/plotting/visual-formatting/#point-formatting
128
+ * Plotly shapes: https://plotly.com/javascript/reference/scattergl/#scattergl-marker-symbol
129
+ * Table of plotly shapes: https://plotly.com/python/marker-style/#custom-marker-symbols
130
+ * @param deephavenShape Deephaven shape to get the marker symbol for
131
+ */
132
+ static getMarkerSymbol(deephavenShape: string): MarkerSymbol;
133
+ /**
134
+ * Get all axes for a given `Figure`. Iterates through all charts axes and concatenates them.
135
+ * @param figure Figure to get all axes for
136
+ */
137
+ static getAllAxes(figure: Figure): Axis[];
138
+ /**
139
+ * Retrieve the chart that contains the passed in series from the figure
140
+ * @param figure The figure to retrieve the chart from
141
+ * @param series The series to get the chart for
142
+ */
143
+ static getChartForSeries(figure: Figure, series: Series): Chart | null;
144
+ /**
145
+ * Get an object mapping axis to their ranges
146
+ * @param layout The plotly layout object to get the ranges from
147
+ * @returns An object mapping the axis name to it's range
148
+ */
149
+ static getLayoutRanges(layout: Layout): Record<string, Range[]>;
150
+ static getAxisLayoutProperty(axisProperty: 'x' | 'y', axisIndex: number): LayoutAxisKey;
151
+ /**
152
+ * Converts an open or close period to a declimal. e.g '09:30" to 9.5
153
+ *
154
+ * @param period the open or close value of the period
155
+ */
156
+ static periodToDecimal(period: string): number;
157
+ /**
158
+ * Groups an array and returns a map
159
+ * @param array The object to group
160
+ * @param property The property name to group by
161
+ * @returns A map containing the items grouped by their values for the property
162
+ */
163
+ static groupArray<T, P extends keyof T>(array: T[], property: P): Map<T[P], T[]>;
164
+ /**
165
+ * Parses the colorway property of a theme and returns an array of colors
166
+ * Theme could have a single string with space separated colors or an array of strings representing the colorway
167
+ * @param theme The theme to get colorway from
168
+ * @returns Colorway array for the theme
159
169
  */
160
- static makeSeriesDataFromSeries(series: Series, axisTypeMap: AxisTypeMap, seriesVisibility: boolean | 'legendonly', showLegend?: boolean | null, theme?: Readonly<{
170
+ static getColorwayFromTheme(theme?: Readonly<{
161
171
  paper_bgcolor: string;
162
172
  plot_bgcolor: string;
163
173
  title_color: string;
@@ -174,17 +184,11 @@ declare class ChartUtils {
174
184
  error_band_fill_color: string;
175
185
  ohlc_increasing: string;
176
186
  ohlc_decreasing: string;
177
- }>): Partial<PlotData>;
178
- static addSourcesToSeriesData(seriesDataParam: Partial<PlotData>, plotStyle: SeriesPlotStyle, sources: SeriesDataSource[], axisTypeMap: AxisTypeMap): void;
179
- static addStylingToSeriesData(seriesDataParam: Partial<PlotData>, plotStyle: SeriesPlotStyle, theme?: typeof ChartTheme, lineColor?: string | null, shapeColor?: string | null, shape?: string | null, shapeSize?: number | null, seriesVisibility?: 'legendonly' | boolean | null): void;
180
- /**
181
- * Get the Plotly marker symbol for the provided Deephaven shape
182
- * Deephaven shapes: https://deephaven.io/enterprise/docs/plotting/visual-formatting/#point-formatting
183
- * Plotly shapes: https://plotly.com/javascript/reference/scattergl/#scattergl-marker-symbol
184
- * Table of plotly shapes: https://plotly.com/python/marker-style/#custom-marker-symbols
185
- * @param deephavenShape Deephaven shape to get the marker symbol for
186
- */
187
- static getMarkerSymbol(deephavenShape: string): MarkerSymbol;
187
+ }>): string[];
188
+ static titleFromSettings(settings: ChartModelSettings): string;
189
+ private dh;
190
+ private daysOfWeek;
191
+ constructor(dh: DhType);
188
192
  /**
189
193
  * Retrieve the axis formats from the provided figure.
190
194
  * Currently defaults to just the x/y axes.
@@ -192,35 +196,66 @@ declare class ChartUtils {
192
196
  * @param formatter The formatter to use when getting the axis format
193
197
  * @returns A map of axis layout property names to axis formats
194
198
  */
195
- static getAxisFormats(figure: Figure, formatter: Formatter): Map<LayoutAxisKey, Partial<PlotlyAxis>>;
196
- static getChartType(plotStyle: SeriesPlotStyle, isBusinessTime: boolean): PlotType | undefined;
199
+ getAxisFormats(figure: Figure, formatter: Formatter): Map<LayoutAxisKey, Partial<PlotlyAxis>>;
197
200
  /**
198
- * Return the plotly axis property name
199
- * @param axisType The axis type to get the property name for
201
+ * Converts the Iris plot style into a plotly chart type
202
+ * @param plotStyle The plotStyle to use, see dh.plot.SeriesPlotStyle
203
+ * @param isBusinessTime If the plot is using business time for an axis
200
204
  */
201
- static getAxisPropertyName(axisType: AxisType): 'x' | 'y' | null;
205
+ getPlotlyChartType(plotStyle: SeriesPlotStyle, isBusinessTime: boolean): PlotType | undefined;
202
206
  /**
203
- * Returns the plotly "side" value for the provided axis position
204
- * @param axisPosition The Iris AxisPosition of the axis
207
+ * Converts the Iris plot style into a plotly chart mode
208
+ * @param plotStyle The plotStyle to use, see dh.plot.SeriesPlotStyle.*
209
+ * @param areLinesVisible Whether lines are visible or not
210
+ * @param areShapesVisible Whether shapes are visible or not
205
211
  */
206
- static getAxisSide(axisPosition: AxisPosition): LayoutAxis['side'] | undefined;
212
+ getPlotlyChartMode(plotStyle: SeriesPlotStyle, areLinesVisible?: boolean | null, areShapesVisible?: boolean | null): PlotData['mode'] | undefined;
207
213
  /**
208
- * Get all axes for a given `Figure`. Iterates through all charts axes and concatenates them.
209
- * @param figure Figure to get all axes for
214
+ * Get the property to set on the series data for plotly
215
+ * @param plotStyle The plot style of the series
216
+ * @param sourceType The source type for the series
210
217
  */
211
- static getAllAxes(figure: Figure): Axis[];
218
+ getPlotlyProperty(plotStyle: SeriesPlotStyle, sourceType: SourceType): string;
219
+ getPlotlySeriesOrientation(series: Series): 'h' | 'v' | undefined;
212
220
  /**
213
- * Retrieve the chart that contains the passed in series from the figure
214
- * @param figure The figure to retrieve the chart from
215
- * @param series The series to get the chart for
221
+ * Create a data series (trace) for use with plotly
222
+ * @param series The series to create the series data with
223
+ * @param axisTypeMap The map of axes grouped by type
224
+ * @param seriesVisibility Visibility setting for the series
225
+ * @param theme The theme properties for the plot. See ChartTheme.js for an example
226
+ * @returns The series data (trace) object for use with plotly.
216
227
  */
217
- static getChartForSeries(figure: Figure, series: Series): Chart | null;
228
+ makeSeriesDataFromSeries(series: Series, axisTypeMap: AxisTypeMap, seriesVisibility: boolean | 'legendonly', showLegend?: boolean | null, theme?: Readonly<{
229
+ paper_bgcolor: string;
230
+ plot_bgcolor: string;
231
+ title_color: string;
232
+ colorway: string;
233
+ gridcolor: string;
234
+ linecolor: string;
235
+ zerolinecolor: string;
236
+ activecolor: string;
237
+ rangebgcolor: string;
238
+ area_color: string;
239
+ trend_color: string;
240
+ line_color: string;
241
+ error_band_line_color: string;
242
+ error_band_fill_color: string;
243
+ ohlc_increasing: string;
244
+ ohlc_decreasing: string;
245
+ }>): Partial<PlotData>;
246
+ addSourcesToSeriesData(seriesDataParam: Partial<PlotData>, plotStyle: SeriesPlotStyle, sources: SeriesDataSource[], axisTypeMap: AxisTypeMap): void;
247
+ addStylingToSeriesData(seriesDataParam: Partial<PlotData>, plotStyle: SeriesPlotStyle, theme?: typeof ChartTheme, lineColor?: string | null, shapeColor?: string | null, shape?: string | null, shapeSize?: number | null, seriesVisibility?: 'legendonly' | boolean | null): void;
248
+ getChartType(plotStyle: SeriesPlotStyle, isBusinessTime: boolean): PlotType | undefined;
218
249
  /**
219
- * Get an object mapping axis to their ranges
220
- * @param layout The plotly layout object to get the ranges from
221
- * @returns An object mapping the axis name to it's range
250
+ * Return the plotly axis property name
251
+ * @param axisType The axis type to get the property name for
222
252
  */
223
- static getLayoutRanges(layout: Layout): Record<string, Range[]>;
253
+ getAxisPropertyName(axisType: AxisType): 'x' | 'y' | null;
254
+ /**
255
+ * Returns the plotly "side" value for the provided axis position
256
+ * @param axisPosition The Iris AxisPosition of the axis
257
+ */
258
+ getAxisSide(axisPosition: AxisPosition): LayoutAxis['side'] | undefined;
224
259
  /**
225
260
  * Update the layout with all the axes information for the provided figure
226
261
  * @param figure Figure to update the axes for
@@ -230,7 +265,7 @@ declare class ChartUtils {
230
265
  * @param plotHeight Height of the plot in pixels
231
266
  * @param theme Theme used for displaying the plot
232
267
  */
233
- static updateFigureAxes(layoutParam: Partial<Layout>, figure: Figure, chartAxisRangeParser?: ChartAxisRangeParser, plotWidth?: number, plotHeight?: number, theme?: Readonly<{
268
+ updateFigureAxes(layoutParam: Partial<Layout>, figure: Figure, chartAxisRangeParser?: ChartAxisRangeParser, plotWidth?: number, plotHeight?: number, theme?: Readonly<{
234
269
  paper_bgcolor: string;
235
270
  plot_bgcolor: string;
236
271
  title_color: string;
@@ -248,7 +283,14 @@ declare class ChartUtils {
248
283
  ohlc_increasing: string;
249
284
  ohlc_decreasing: string;
250
285
  }>): void;
251
- static getChartBounds(figure: Figure, chart: Chart, plotWidth: number, plotHeight: number): ChartBounds;
286
+ getChartBounds(figure: Figure, chart: Chart, plotWidth: number, plotHeight: number): ChartBounds;
287
+ getPlotlyDateFormat(formatter: Formatter | null, columnType: string, formatPattern: string): Partial<LayoutAxis>;
288
+ /**
289
+ * Gets the plotly axis formatting information from the source passed in
290
+ * @param source The Source to get the formatter information from
291
+ * @param formatter The current formatter for formatting data
292
+ */
293
+ getPlotlyAxisFormat(source: SeriesDataSource, formatter?: Formatter | null): Partial<PlotlyAxis> | null;
252
294
  /**
253
295
  * Updates the axes positions and sizes in the layout object provided.
254
296
  * If the axis did not exist in the layout previously, it is created and added.
@@ -262,7 +304,7 @@ declare class ChartUtils {
262
304
  * @param bounds The bounds for this set of axes
263
305
  * @param axisRangeParser A function to retrieve the range parser for a given axis
264
306
  */
265
- static updateLayoutAxes(layoutParam: Partial<Layout>, chartAxes: Axis[], figureAxes: Axis[], plotWidth?: number, plotHeight?: number, bounds?: ChartBounds, axisRangeParser?: AxisRangeParser, theme?: Readonly<{
307
+ updateLayoutAxes(layoutParam: Partial<Layout>, chartAxes: Axis[], figureAxes: Axis[], plotWidth?: number, plotHeight?: number, bounds?: ChartBounds, axisRangeParser?: AxisRangeParser, theme?: Readonly<{
266
308
  paper_bgcolor: string;
267
309
  plot_bgcolor: string;
268
310
  title_color: string;
@@ -285,8 +327,7 @@ declare class ChartUtils {
285
327
  * @param layoutParam Layout object to remove stale axes from
286
328
  * @param axes All axes in the figure
287
329
  */
288
- static removeStaleAxes(layoutParam: Partial<Layout>, axes: Axis[]): void;
289
- static getAxisLayoutProperty(axisProperty: 'x' | 'y', axisIndex: number): LayoutAxisKey;
330
+ removeStaleAxes(layoutParam: Partial<Layout>, axes: Axis[]): void;
290
331
  /**
291
332
  * Updates the layout axis object in place
292
333
  * @param layoutAxisParam The plotly layout axis param
@@ -296,18 +337,12 @@ declare class ChartUtils {
296
337
  * @param axisSize The size of each axis in percent
297
338
  * @param bounds The bounds of the axes domains
298
339
  */
299
- static updateLayoutAxis(layoutAxisParam: Partial<LayoutAxis>, axis: Axis, axisIndex: number, axisPositionMap: AxisPositionMap, xAxisSize: number, yAxisSize: number, bounds: {
340
+ updateLayoutAxis(layoutAxisParam: Partial<LayoutAxis>, axis: Axis, axisIndex: number, axisPositionMap: AxisPositionMap, xAxisSize: number, yAxisSize: number, bounds: {
300
341
  left: number;
301
342
  bottom: number;
302
343
  top: number;
303
344
  right: number;
304
345
  }): void;
305
- /**
306
- * Converts an open or close period to a declimal. e.g '09:30" to 9.5
307
- *
308
- * @param period the open or close value of the period
309
- */
310
- static periodToDecimal(period: string): number;
311
346
  /**
312
347
  * Creates range break bounds for plotly from business days.
313
348
  * For example a standard business week of ['MONDAY','TUESDAY','WEDNESDAY','THURSDAY','FRIDAY']
@@ -316,7 +351,7 @@ declare class ChartUtils {
316
351
  *
317
352
  * @param businessDays the days to display on the x-axis
318
353
  */
319
- static createBoundsFromDays(businessDays: string[]): Range[];
354
+ createBoundsFromDays(businessDays: string[]): Range[];
320
355
  /**
321
356
  * Creates an array of range breaks for all holidays.
322
357
  *
@@ -324,7 +359,7 @@ declare class ChartUtils {
324
359
  * @param calendarTimeZone the time zone for the business calendar
325
360
  * @param formatterTimeZone the time zone for the formatter
326
361
  */
327
- static createRangeBreakValuesFromHolidays(holidays: Holiday[], calendarTimeZone: TimeZone, formatterTimeZone?: TimeZone): Rangebreaks[];
362
+ createRangeBreakValuesFromHolidays(holidays: Holiday[], calendarTimeZone: TimeZone, formatterTimeZone?: TimeZone): Rangebreaks[];
328
363
  /**
329
364
  * Creates the range break value for a full holiday. A full holiday is day that has no business periods.
330
365
  *
@@ -332,7 +367,7 @@ declare class ChartUtils {
332
367
  * @param calendarTimeZone the time zone for the business calendar
333
368
  * @param formatterTimeZone the time zone for the formatter
334
369
  */
335
- static createFullHoliday(holiday: Holiday, calendarTimeZone: TimeZone, formatterTimeZone?: TimeZone): string;
370
+ createFullHoliday(holiday: Holiday, calendarTimeZone: TimeZone, formatterTimeZone?: TimeZone): string;
336
371
  /**
337
372
  * Creates the range break for a partial holiday. A partial holiday is holiday with business periods
338
373
  * that are different than the default business periods.
@@ -341,7 +376,7 @@ declare class ChartUtils {
341
376
  * @param calendarTimeZone the time zone for the business calendar
342
377
  * @param formatterTimeZone the time zone for the formatter
343
378
  */
344
- static createPartialHoliday(holiday: Holiday, calendarTimeZone: TimeZone, formatterTimeZone?: TimeZone): {
379
+ createPartialHoliday(holiday: Holiday, calendarTimeZone: TimeZone, formatterTimeZone?: TimeZone): {
345
380
  values: string[];
346
381
  dvalue: number;
347
382
  }[];
@@ -352,27 +387,57 @@ declare class ChartUtils {
352
387
  * @param calendarTimeZone the time zone for the business calendar
353
388
  * @param formatterTimeZone the time zone for the formatter
354
389
  */
355
- static adjustDateForTimeZone(dateString: string, calendarTimeZone: TimeZone, formatterTimeZone?: TimeZone): string;
390
+ adjustDateForTimeZone(dateString: string, calendarTimeZone: TimeZone, formatterTimeZone?: TimeZone): string;
356
391
  /**
357
- * Groups an array and returns a map
358
- * @param array The object to group
359
- * @param property The property name to group by
360
- * @returns A map containing the items grouped by their values for the property
392
+ * Creates the Figure settings from the Chart Builder settings
393
+ * This should be deprecated at some point, and have Chart Builder create the figure settings directly.
394
+ * This logic will still need to exist to translate existing charts, but could be part of a migration script
395
+ * to translate the data.
396
+ * Change when we decide to add more functionality to the Chart Builder.
397
+ * @param settings The chart builder settings
398
+ * @param settings.title The title for this figure
399
+ * @param settings.xAxis The name of the column to use for the x-axis
400
+ * @param settings.series The name of the columns to use for the series of this figure
401
+ * @param settings.type The plot style for this figure
361
402
  */
362
- static groupArray<T, P extends keyof T>(array: T[], property: P): Map<T[P], T[]>;
403
+ makeFigureSettings(settings: ChartModelSettings, table: TableTemplate): {
404
+ charts: {
405
+ chartType: string;
406
+ axes: {
407
+ formatType: string;
408
+ type: string;
409
+ position: string;
410
+ }[];
411
+ series: {
412
+ plotStyle: string;
413
+ name: string;
414
+ dataSources: {
415
+ type: string;
416
+ columnName: string;
417
+ axis: {
418
+ formatType: string;
419
+ type: string;
420
+ position: string;
421
+ };
422
+ table: TableTemplate;
423
+ }[];
424
+ }[];
425
+ }[];
426
+ title: string;
427
+ };
363
428
  /**
364
429
  * Unwraps a value provided from API to a value plotly can understand
365
430
  * Eg. Unwraps DateWrapper, LongWrapper objects.
366
431
  */
367
- static unwrapValue(value: unknown, timeZone?: TimeZone): unknown;
432
+ unwrapValue(value: unknown, timeZone?: TimeZone): unknown;
368
433
  /**
369
434
  *
370
435
  * @param value The value to wrap up
371
436
  * @param columnType The type of column this value is from
372
437
  * @param timeZone The time zone if applicable
373
438
  */
374
- static wrapValue(value: unknown, columnType: string, timeZone?: TimeZone | null): unknown;
375
- static makeLayoutAxis(type: AxisType, theme?: Readonly<{
439
+ wrapValue(value: unknown, columnType: string, timeZone?: TimeZone | null): unknown;
440
+ makeLayoutAxis(type: AxisType, theme?: Readonly<{
376
441
  paper_bgcolor: string;
377
442
  plot_bgcolor: string;
378
443
  title_color: string;
@@ -390,31 +455,7 @@ declare class ChartUtils {
390
455
  ohlc_increasing: string;
391
456
  ohlc_decreasing: string;
392
457
  }>): Partial<LayoutAxis>;
393
- /**
394
- * Parses the colorway property of a theme and returns an array of colors
395
- * Theme could have a single string with space separated colors or an array of strings representing the colorway
396
- * @param theme The theme to get colorway from
397
- * @returns Colorway array for the theme
398
- */
399
- static getColorwayFromTheme(theme?: Readonly<{
400
- paper_bgcolor: string;
401
- plot_bgcolor: string;
402
- title_color: string;
403
- colorway: string;
404
- gridcolor: string;
405
- linecolor: string;
406
- zerolinecolor: string;
407
- activecolor: string;
408
- rangebgcolor: string;
409
- area_color: string;
410
- trend_color: string;
411
- line_color: string;
412
- error_band_line_color: string;
413
- error_band_fill_color: string;
414
- ohlc_increasing: string;
415
- ohlc_decreasing: string;
416
- }>): string[];
417
- static makeDefaultLayout(theme?: Readonly<{
458
+ makeDefaultLayout(theme?: Readonly<{
418
459
  paper_bgcolor: string;
419
460
  plot_bgcolor: string;
420
461
  title_color: string;
@@ -436,47 +477,9 @@ declare class ChartUtils {
436
477
  * Hydrate settings from a JSONable object
437
478
  * @param settings Dehydrated settings
438
479
  */
439
- static hydrateSettings(settings: ChartModelSettings): Omit<ChartModelSettings, 'type'> & {
480
+ hydrateSettings(settings: ChartModelSettings): Omit<ChartModelSettings, 'type'> & {
440
481
  type?: SeriesPlotStyle;
441
482
  };
442
- static titleFromSettings(settings: ChartModelSettings): string;
443
- /**
444
- * Creates the Figure settings from the Chart Builder settings
445
- * This should be deprecated at some point, and have Chart Builder create the figure settings directly.
446
- * This logic will still need to exist to translate existing charts, but could be part of a migration script
447
- * to translate the data.
448
- * Change when we decide to add more functionality to the Chart Builder.
449
- * @param settings The chart builder settings
450
- * @param settings.title The title for this figure
451
- * @param settings.xAxis The name of the column to use for the x-axis
452
- * @param settings.series The name of the columns to use for the series of this figure
453
- * @param settings.type The plot style for this figure
454
- */
455
- static makeFigureSettings(settings: ChartModelSettings, table: TableTemplate): {
456
- charts: {
457
- chartType: string;
458
- axes: {
459
- formatType: string;
460
- type: string;
461
- position: string;
462
- }[];
463
- series: {
464
- plotStyle: string;
465
- name: string;
466
- dataSources: {
467
- type: string;
468
- columnName: string;
469
- axis: {
470
- formatType: string;
471
- type: string;
472
- position: string;
473
- };
474
- table: TableTemplate;
475
- }[];
476
- }[];
477
- }[];
478
- title: string;
479
- };
480
483
  }
481
484
  export default ChartUtils;
482
485
  //# sourceMappingURL=ChartUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChartUtils.d.ts","sourceRoot":"","sources":["../src/ChartUtils.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