@deephaven/chart 0.9.1-beta.2 → 0.9.1-beta.5

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/dist/Chart.d.ts CHANGED
@@ -3,7 +3,7 @@ export class Chart extends React.Component<any, any, any> {
3
3
  * Convert a font awesome icon definition to a plotly icon definition
4
4
  * @param {FontAwesome.IconDefinition} faIcon The icon to convert
5
5
  */
6
- static convertIcon(faIcon: any): {
6
+ static convertIcon(faIcon: FontAwesome.IconDefinition): {
7
7
  width: any;
8
8
  path: any;
9
9
  ascent: any;
@@ -32,7 +32,7 @@ declare class ChartModel {
32
32
  * Set the formatter to use when charting the data.
33
33
  * @param {Formatter} formatter The formatter to use to format the charting data
34
34
  */
35
- setFormatter(formatter: any): void;
35
+ setFormatter(formatter: Formatter): void;
36
36
  /**
37
37
  * Disable downsampling
38
38
  * @param {boolean} isDownsamplingDisabled True if downsampling should be disabled
@@ -1 +1 @@
1
- {"version":3,"file":"ChartModel.d.ts","sourceRoot":"","sources":["../src/ChartModel.js"],"names":[],"mappings":";AAEA;;;;GAIG;AACH;IACE,6BAAkD;IAElD,gCAAwD;IAExD,+BAAsD;IAEtD,uCAAsE;IAEtE,wCAAwE;IAExE,sCAAoE;IAEpE,sCAAoE;IAEpE,kCAA4D;IAG1D,iBAAmB;IACnB,eAAqB;IACrB,qBAAgB;IAChB,gCAAmC;IACnC,WAAiB;IAGnB,mBAEC;IAED,0BAEC;IAED,gBAEC;IAED,oCAEC;IAED,4BAEC;IAED,kBAAc;IAEd;;OAEG;IACH,cAAU;IAEV;;;OAGG;IACH,mCAEC;IAED;;;OAGG;IACH,gDAFW,OAAO,QAIjB;IAED;;;OAGG;IACH,oBAFW,OAAO,QAIjB;IAED,2BAEC;IAED;;;OAGG;IACH,oCAEC;IAED,iCAEC;IAED,4BAIC;IAED,4BAEC;IAED,uBAEC;IAED,sBAEC;IAED,uCAIC;IAED,wCAIC;IAED,sCAIC;IAED,wCAIC;IAED,yBAEC;CACF"}
1
+ {"version":3,"file":"ChartModel.d.ts","sourceRoot":"","sources":["../src/ChartModel.js"],"names":[],"mappings":";AAEA;;;;GAIG;AACH;IACE,6BAAkD;IAElD,gCAAwD;IAExD,+BAAsD;IAEtD,uCAAsE;IAEtE,wCAAwE;IAExE,sCAAoE;IAEpE,sCAAoE;IAEpE,kCAA4D;IAG1D,iBAAmB;IACnB,eAAqB;IACrB,qBAAgB;IAChB,gCAAmC;IACnC,WAAiB;IAGnB,mBAEC;IAED,0BAEC;IAED,gBAEC;IAED,oCAEC;IAED,4BAEC;IAED,kBAAc;IAEd;;OAEG;IACH,cAAU;IAEV;;;OAGG;IACH,yCAEC;IAED;;;OAGG;IACH,gDAFW,OAAO,QAIjB;IAED;;;OAGG;IACH,oBAFW,OAAO,QAIjB;IAED,2BAEC;IAED;;;OAGG;IACH,oCAEC;IAED,iCAEC;IAED,4BAIC;IAED,4BAEC;IAED,uBAEC;IAED,sBAEC;IAED,uCAIC;IAED,wCAIC;IAED,sCAIC;IAED,wCAIC;IAED,yBAEC;CACF"}
@@ -21,7 +21,7 @@ declare class ChartModelFactory {
21
21
  type: string;
22
22
  xAxis: string;
23
23
  hiddenSeries: string[];
24
- }, table: any, theme?: Object): Promise<FigureChartModel>;
24
+ }, table: dh.Table, theme?: Object): Promise<FigureChartModel>;
25
25
  /**
26
26
  * Creates a model from the settings provided.
27
27
  * Tries to create a Figure in the API with it.
@@ -43,7 +43,7 @@ declare class ChartModelFactory {
43
43
  type: string;
44
44
  xAxis: string;
45
45
  hiddenSeries: string[];
46
- }, figure: any, theme?: Object): Promise<FigureChartModel>;
46
+ }, figure: dh.Figure, theme?: Object): Promise<FigureChartModel>;
47
47
  }
48
48
  import FigureChartModel from "./FigureChartModel";
49
49
  //# sourceMappingURL=ChartModelFactory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChartModelFactory.d.ts","sourceRoot":"","sources":["../src/ChartModelFactory.js"],"names":[],"mappings":";AAKA;IACE;;;;;;;;;;;;;OAaG;IACH;QAV6B,QAAQ,EAA1B,OAAO;QACY,MAAM,EAAzB,MAAM,EAAE;QACS,aAAa,EAA9B,MAAM;QACW,IAAI,EAArB,MAAM;QACW,KAAK,EAAtB,MAAM;QACa,YAAY,EAA/B,MAAM,EAAE;2BAER,MAAM,GACJ,QAAQ,gBAAgB,CAAC,CAgBrC;IAED;;;;;;;;;;;;;OAaG;IACH;QAV6B,QAAQ,EAA1B,OAAO;QACY,MAAM,EAAzB,MAAM,EAAE;QACS,aAAa,EAA9B,MAAM;QACW,IAAI,EAArB,MAAM;QACW,KAAK,EAAtB,MAAM;QACa,YAAY,EAA/B,MAAM,EAAE;4BAER,MAAM,GACJ,QAAQ,gBAAgB,CAAC,CAIrC;CACF"}
1
+ {"version":3,"file":"ChartModelFactory.d.ts","sourceRoot":"","sources":["../src/ChartModelFactory.js"],"names":[],"mappings":";AAKA;IACE;;;;;;;;;;;;;OAaG;IACH;QAV6B,QAAQ,EAA1B,OAAO;QACY,MAAM,EAAzB,MAAM,EAAE;QACS,aAAa,EAA9B,MAAM;QACW,IAAI,EAArB,MAAM;QACW,KAAK,EAAtB,MAAM;QACa,YAAY,EAA/B,MAAM,EAAE;gCAER,MAAM,GACJ,QAAQ,gBAAgB,CAAC,CAgBrC;IAED;;;;;;;;;;;;;OAaG;IACH;QAV6B,QAAQ,EAA1B,OAAO;QACY,MAAM,EAAzB,MAAM,EAAE;QACS,aAAa,EAA9B,MAAM;QACW,IAAI,EAArB,MAAM;QACW,KAAK,EAAtB,MAAM;QACa,YAAY,EAA/B,MAAM,EAAE;kCAER,MAAM,GACJ,QAAQ,gBAAgB,CAAC,CAIrC;CACF"}
@@ -21,8 +21,8 @@ declare class ChartTestUtils {
21
21
  name?: string | undefined;
22
22
  plotStyle?: import("@deephaven/jsapi-shim").SeriesPlotStyle | undefined;
23
23
  sources?: any[] | undefined;
24
- lineColor?: any;
25
- shapeColor?: any;
24
+ lineColor?: null | undefined;
25
+ shapeColor?: null | undefined;
26
26
  }): any;
27
27
  static makeChart({ title, series, axes, }?: {
28
28
  title?: string | undefined;
@@ -38,7 +38,7 @@ declare class ChartUtils {
38
38
  * @param {dh.plot.SeriesPlotStyle} plotStyle The plot style of the series
39
39
  * @param {dh.plot.SourceType} sourceType The source type for the series
40
40
  */
41
- static getPlotlyProperty(plotStyle: any, sourceType: any): "labels" | "values" | "x" | "y" | "z" | "xLow" | "xHigh" | "yLow" | "yHigh" | "time" | "open" | "high" | "low" | "close" | "shape" | "size" | "label" | "color";
41
+ static getPlotlyProperty(plotStyle: dh.plot.SeriesPlotStyle, sourceType: dh.plot.SourceType): "labels" | "values" | "x" | "y" | "z" | "xLow" | "xHigh" | "yLow" | "yHigh" | "time" | "open" | "high" | "low" | "close" | "shape" | "size" | "label" | "color";
42
42
  static getPlotlySeriesOrientation(series: any): string;
43
43
  /**
44
44
  * Generate the plotly error bar data from the passed in data.
@@ -67,7 +67,7 @@ declare class ChartUtils {
67
67
  * @param {dh.plot.Source} source The Source to get the formatter information from
68
68
  * @param {Formatter} formatter The current formatter for formatting data
69
69
  */
70
- static getPlotlyAxisFormat(source: any, formatter?: any): object | null;
70
+ static getPlotlyAxisFormat(source: dh.plot.Source, formatter?: Formatter): object | null;
71
71
  /**
72
72
  * Adds tick spacing for an axis that has gapBetweenMajorTicks defined.
73
73
  *
@@ -82,7 +82,7 @@ declare class ChartUtils {
82
82
  * @param {dh.plot.Axis} axis The axis to find the source for
83
83
  * @returns {dh.plot.Source} The first source matching this axis
84
84
  */
85
- static getSourceForAxis(chart: any, axis: any): any;
85
+ static getSourceForAxis(chart: dh.plot.Chart, axis: dh.plot.Axis): dh.plot.Source;
86
86
  /**
87
87
  * Get visibility setting for the series object
88
88
  * @param {string} name The series name to get the visibility for
@@ -109,9 +109,9 @@ declare class ChartUtils {
109
109
  * @param {Object} theme The theme properties for the plot. See ChartTheme.js for an example
110
110
  * @returns {Object} The series data (trace) object for use with plotly.
111
111
  */
112
- static makeSeriesDataFromSeries(series: any, axisTypeMap: Map<any, any[]>, seriesVisibility: boolean | string, theme: Object): Object;
112
+ static makeSeriesDataFromSeries(series: dh.plot.Series, axisTypeMap: Map<dh.plot.AxisType, dh.plot.Axis[]>, seriesVisibility: boolean | string, theme: Object): Object;
113
113
  static addSourcesToSeriesData(seriesDataParam: any, plotStyle: any, sources: any, axisTypeMap: any): void;
114
- static addStylingToSeriesData(seriesDataParam: any, plotStyle: any, theme?: {}, lineColor?: any, shapeColor?: any, seriesVisibility?: any): void;
114
+ static addStylingToSeriesData(seriesDataParam: any, plotStyle: any, theme?: {}, lineColor?: null, shapeColor?: null, seriesVisibility?: null): void;
115
115
  /**
116
116
  * Retrieve the axis formats from the provided figure.
117
117
  * Currently defaults to just the x/y axes.
@@ -119,24 +119,24 @@ declare class ChartUtils {
119
119
  * @param {Formatter} formatter The formatter to use when getting the axis format
120
120
  * @returns {Map<string, object>} A map of axis layout property names to axis formats
121
121
  */
122
- static getAxisFormats(figure: any, formatter: any): Map<string, object>;
122
+ static getAxisFormats(figure: dh.plot.Figure, formatter: Formatter): Map<string, object>;
123
123
  static getChartType(plotStyle: any, isBusinessTime: any): "scattergl" | "scatter" | "bar" | "pie" | "histogram" | "ohlc" | null;
124
124
  /**
125
125
  * Return the plotly axis property name
126
126
  * @param {dh.plot.AxisType} axisType The axis type to get the property name for
127
127
  */
128
- static getAxisPropertyName(axisType: any): "x" | "y" | null;
128
+ static getAxisPropertyName(axisType: dh.plot.AxisType): "x" | "y" | null;
129
129
  /**
130
130
  * Returns the plotly "side" value for the provided axis position
131
131
  * @param {dh.plot.AxisPosition} axisPosition The Iris AxisPosition of the axis
132
132
  */
133
- static getAxisSide(axisPosition: any): "bottom" | "top" | "left" | "right" | null;
133
+ static getAxisSide(axisPosition: dh.plot.AxisPosition): "bottom" | "top" | "left" | "right" | null;
134
134
  /**
135
135
  * Retrieve the chart that contains the passed in series from the figure
136
136
  * @param {dh.plot.Figure} figure The figure to retrieve the chart from
137
137
  * @param {dh.plot.Series} series The series to get the chart for
138
138
  */
139
- static getChartForSeries(figure: any, series: any): any;
139
+ static getChartForSeries(figure: dh.plot.Figure, series: dh.plot.Series): any;
140
140
  /**
141
141
  * Get an object mapping axis to their ranges
142
142
  * @param {object} layout The plotly layout object to get the ranges from
@@ -154,7 +154,7 @@ declare class ChartUtils {
154
154
  * @param {number} plotHeight The height of the plot to calculate the axis sizes for
155
155
  * @param {func} getRangeParser A function to retrieve the range parser for a given axis
156
156
  */
157
- static updateLayoutAxes(layoutParam: object, axes: any[], plotWidth?: number, plotHeight?: number, getRangeParser?: any, theme?: {}): void;
157
+ static updateLayoutAxes(layoutParam: object, axes: dh.plot.Axis[], plotWidth?: number, plotHeight?: number, getRangeParser?: func, theme?: {}): void;
158
158
  static getAxisLayoutProperty(axisProperty: any, axisIndex: any): string;
159
159
  /**
160
160
  * Updates the layout axis object in place
@@ -165,7 +165,7 @@ declare class ChartUtils {
165
165
  * @param {number} axisSize The size of each axis in percent
166
166
  * @param {object} bounds The bounds of the axes domains
167
167
  */
168
- static updateLayoutAxis(layoutAxisParam: object, axis: any, axisIndex: number, axisPositionMap: Map<any, any>, xAxisSize: any, yAxisSize: any, bounds: object): void;
168
+ static updateLayoutAxis(layoutAxisParam: object, axis: dh.plot.Axis, axisIndex: number, axisPositionMap: Map<dh.plot.AxisPosition, dh.plot.Axis>, xAxisSize: any, yAxisSize: any, bounds: object): void;
169
169
  /**
170
170
  * Converts an open or close period to a declimal. e.g '09:30" to 9.5
171
171
  *
@@ -188,7 +188,7 @@ declare class ChartUtils {
188
188
  * @param {TimeZone} calendarTimeZone the time zone for the business calendar
189
189
  * @param {TimeZone} formatterTimeZone the time zone for the formatter
190
190
  */
191
- static createRangeBreakValuesFromHolidays(holidays: any[], calendarTimeZone: any, formatterTimeZone: any): any[];
191
+ static createRangeBreakValuesFromHolidays(holidays: any[], calendarTimeZone: TimeZone, formatterTimeZone: TimeZone): any[];
192
192
  /**
193
193
  * Creates the range break value for a full holiday. A full holiday is day that has no business periods.
194
194
  *
@@ -196,7 +196,7 @@ declare class ChartUtils {
196
196
  * @param {TimeZone} calendarTimeZone the time zone for the business calendar
197
197
  * @param {TimeZone} formatterTimeZone the time zone for the formatter
198
198
  */
199
- static createFullHoliday(holiday: any, calendarTimeZone: any, formatterTimeZone: any): any;
199
+ static createFullHoliday(holiday: Holiday, calendarTimeZone: TimeZone, formatterTimeZone: TimeZone): any;
200
200
  /**
201
201
  * Creates the range break for a partial holiday. A partial holiday is holiday with business periods
202
202
  * that are different than the default business periods.
@@ -205,7 +205,7 @@ declare class ChartUtils {
205
205
  * @param {TimeZone} calendarTimeZone the time zone for the business calendar
206
206
  * @param {TimeZone} formatterTimeZone the time zone for the formatter
207
207
  */
208
- static createPartialHoliday(holiday: any, calendarTimeZone: any, formatterTimeZone: any): {
208
+ static createPartialHoliday(holiday: Holiday, calendarTimeZone: TimeZone, formatterTimeZone: TimeZone): {
209
209
  values: any[];
210
210
  dvalue: number;
211
211
  }[];
@@ -216,7 +216,7 @@ declare class ChartUtils {
216
216
  * @param {TimeZone} calendarTimeZone the time zone for the business calendar
217
217
  * @param {TimeZone} formatterTimeZone the time zone for the formatter
218
218
  */
219
- static adjustDateForTimeZone(dateString: string, calendarTimeZone: any, formatterTimeZone: any): any;
219
+ static adjustDateForTimeZone(dateString: string, calendarTimeZone: TimeZone, formatterTimeZone: TimeZone): any;
220
220
  /**
221
221
  * Groups an array and returns a map
222
222
  * @param {object[]} array The object to group
@@ -232,14 +232,14 @@ declare class ChartUtils {
232
232
  * Unwraps a value provided from API to a value plotly can understand
233
233
  * Eg. Unwraps DateWrapper, LongWrapper objects.
234
234
  */
235
- static unwrapValue(value: any, timeZone?: any): any;
235
+ static unwrapValue(value: any, timeZone?: null): any;
236
236
  /**
237
237
  *
238
238
  * @param {any} value The value to wrap up
239
239
  * @param {string} columnType The type of column this value is from
240
240
  * @param {dh.i18n.TimeZone} timeZone The time zone if applicable
241
241
  */
242
- static wrapValue(value: any, columnType: string, timeZone?: any): any;
242
+ static wrapValue(value: any, columnType: string, timeZone?: dh.i18n.TimeZone): any;
243
243
  static makeLayoutAxis(type: any, theme?: {}): {
244
244
  automargin: boolean;
245
245
  gridcolor: any;
@@ -265,7 +265,7 @@ declare class ChartUtils {
265
265
  * @param {ChartTheme} theme The theme to get colorway from
266
266
  * @returns {string[]} Colorway array for the theme
267
267
  */
268
- static getColorwayFromTheme(theme: any): string[];
268
+ static getColorwayFromTheme(theme: ChartTheme): string[];
269
269
  static makeDefaultLayout(theme?: {}): {
270
270
  autosize: boolean;
271
271
  colorway: string[];
@@ -364,7 +364,7 @@ declare class ChartUtils {
364
364
  title: string;
365
365
  xAxis: string;
366
366
  series: string[];
367
- type: any;
367
+ type: dh.plot.SeriesPlotStyle;
368
368
  }, table: any): {
369
369
  charts: {
370
370
  chartType: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ChartUtils.d.ts","sourceRoot":"","sources":["../src/ChartUtils.js"],"names":[],"mappings":";AAcA;IACE,iCAAgC;IAEhC,6BAA6B;IAE7B,6BAA2B;IAE3B,4BAAyB;IAEzB,+BAA4B;IAE5B,+BAA8B;IAE9B;;;OAGG;IAEH,2BAAkD;IAElD;;;;;;OAA8E;IAE9E;;OAAuD;IAEvD,oCAAiC;IAEjC;;;;OAIG;IACH,6DAFW,OAAO,yEA4BjB;IAED;;;OAGG;IACH,yEASC;IAED;;;;OAIG;IACH,2NA4DC;IAED,uDAOC;IAED;;;;;;;;OAQG;IACH,6BANW,aAAa,QACb,aAAa,SACb,aAAa,GAEX,MAAM,CAWlB;IAED;;;;MA4CC;IAED,6CAEC;IAED;;;;;aA2CC;IAED;;;;OAIG;IACH,wEA8BC;IAED;;;;;;OAMG;IACH,kCAJW,MAAM,QACN,MAAM,cACN,OAAO,UAqBjB;IAED;;;;;OAKG;IACH,oDAYC;IAED;;;;;OAKG;IACH,iCAJW,MAAM,YACN,MAAM,GACJ,OAAO,GAAC,MAAM,CAO1B;IAED;;;;OAIG;IACH,iCAHW,MAAM,GACJ,MAAM,EAAE,CAOpB;IAED;;;OAGG;IACH,8EAFa,MAAM,CASlB;IAED;;;;;;;OAOG;IACH,0DALW,SAAsB,KAAc,CAAC,oBACrC,OAAO,GAAC,MAAM,SACd,MAAM,GACJ,MAAM,CAkClB;IAED,0GAyBC;IAED,iJA0DC;IAED;;;;;;OAMG;IACH,oDAFa,IAAI,MAAM,EAAE,MAAM,CAAC,CAkG/B;IAED,gIASC;IAED;;;OAGG;IACH,4DASC;IAED;;;OAGG;IACH,kFAaC;IAED;;;;OAIG;IACH,wDAaC;IAED;;;;OAIG;IACH,+BAHW,MAAM,GACJ,MAAM,CAclB;IAED;;;;;;;;;;OAUG;IACH,qCANW,MAAM,QACN,KAAc,cACd,MAAM,eACN,MAAM,0CA6HhB;IAED,wEAGC;IAED;;;;;;;;OAQG;IACH,yCAPW,MAAM,wBAEN,MAAM,mBACN,aAAuC,0CAEvC,MAAM,QAkEhB;IAED;;;;OAIG;IACH,+CAGC;IAED;;;;;;;OAOG;IACH,wDA6BC;IAED;;;;;;OAMG;IACH,iHA2BC;IAED;;;;;;OAMG;IACH,2FAMC;IAED;;;;;;;OAOG;IACH;;;QAoCC;IAED;;;;;;OAMG;IACH,yCAJW,MAAM,sDAuBhB;IAED;;;;;OAKG;IACH,yBAJW,MAAM,EAAE,YACR,MAAM,GACJ,IAAI,MAAM,EAAE,MAAM,CAAC,CAU/B;IAED;;OAEG;IACH,4BAAwB;IAExB;;;OAGG;IACH,oDAgBC;IAED;;;;;OAKG;IACH,wBAJW,GAAG,cACH,MAAM,uBAqChB;IAED;;;;;;;;;;;;;;;;;;MA+BC;IAED;;;;;OAKG;IACH,yCAFa,MAAM,EAAE,CAepB;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BC;IAED;;;OAGG;IACH,mCAFW,MAAM;;MAOhB;IAED;;;OAGG;IACH,iCAFW,MAAM;;MAOhB;IAED,6CAQC;IAED;;;;;;;;;;;OAWG;IACH;QAL4B,KAAK,EAAtB,MAAM;QACW,KAAK,EAAtB,MAAM;QACa,MAAM,EAAzB,MAAM,EAAE;QAC0B,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;MA2ChD;CACF"}
1
+ {"version":3,"file":"ChartUtils.d.ts","sourceRoot":"","sources":["../src/ChartUtils.js"],"names":[],"mappings":";AAcA;IACE,iCAAgC;IAEhC,6BAA6B;IAE7B,6BAA2B;IAE3B,4BAAyB;IAEzB,+BAA4B;IAE5B,+BAA8B;IAE9B;;;OAGG;IAEH,2BAAkD;IAElD;;;;;;OAA8E;IAE9E;;OAAuD;IAEvD,oCAAiC;IAEjC;;;;OAIG;IACH,6DAFW,OAAO,yEA4BjB;IAED;;;OAGG;IACH,yEASC;IAED;;;;OAIG;IACH,8PA4DC;IAED,uDAOC;IAED;;;;;;;;OAQG;IACH,6BANW,aAAa,QACb,aAAa,SACb,aAAa,GAEX,MAAM,CAWlB;IAED;;;;MA4CC;IAED,6CAEC;IAED;;;;;aA2CC;IAED;;;;OAIG;IACH,yFA8BC;IAED;;;;;;OAMG;IACH,kCAJW,MAAM,QACN,MAAM,cACN,OAAO,UAqBjB;IAED;;;;;OAKG;IACH,kFAYC;IAED;;;;;OAKG;IACH,iCAJW,MAAM,YACN,MAAM,GACJ,OAAO,GAAC,MAAM,CAO1B;IAED;;;;OAIG;IACH,iCAHW,MAAM,GACJ,MAAM,EAAE,CAOpB;IAED;;;OAGG;IACH,8EAFa,MAAM,CASlB;IAED;;;;;;;OAOG;IACH,qEALW,sBAAsB,cAAc,CAAC,oBACrC,OAAO,GAAC,MAAM,SACd,MAAM,GACJ,MAAM,CAkClB;IAED,0GAyBC;IAED,oJA0DC;IAED;;;;;;OAMG;IACH,qEAFa,IAAI,MAAM,EAAE,MAAM,CAAC,CAkG/B;IAED,gIASC;IAED;;;OAGG;IACH,yEASC;IAED;;;OAGG;IACH,mGAaC;IAED;;;;OAIG;IACH,8EAaC;IAED;;;;OAIG;IACH,+BAHW,MAAM,GACJ,MAAM,CAclB;IAED;;;;;;;;;;OAUG;IACH,qCANW,MAAM,QACN,cAAc,cACd,MAAM,eACN,MAAM,2CA6HhB;IAED,wEAGC;IAED;;;;;;;;OAQG;IACH,yCAPW,MAAM,iCAEN,MAAM,mBACN,uCAAuC,0CAEvC,MAAM,QAkEhB;IAED;;;;OAIG;IACH,+CAGC;IAED;;;;;;;OAOG;IACH,wDA6BC;IAED;;;;;;OAMG;IACH,2HA2BC;IAED;;;;;;OAMG;IACH,yGAMC;IAED;;;;;;;OAOG;IACH;;;QAoCC;IAED;;;;;;OAMG;IACH,yCAJW,MAAM,gEAuBhB;IAED;;;;;OAKG;IACH,yBAJW,MAAM,EAAE,YACR,MAAM,GACJ,IAAI,MAAM,EAAE,MAAM,CAAC,CAU/B;IAED;;OAEG;IACH,4BAAwB;IAExB;;;OAGG;IACH,qDAgBC;IAED;;;;;OAKG;IACH,wBAJW,GAAG,cACH,MAAM,oCAqChB;IAED;;;;;;;;;;;;;;;;;;MA+BC;IAED;;;;;OAKG;IACH,gDAFa,MAAM,EAAE,CAepB;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BC;IAED;;;OAGG;IACH,mCAFW,MAAM;;MAOhB;IAED;;;OAGG;IACH,iCAFW,MAAM;;MAOhB;IAED,6CAQC;IAED;;;;;;;;;;;OAWG;IACH;QAL4B,KAAK,EAAtB,MAAM;QACW,KAAK,EAAtB,MAAM;QACa,MAAM,EAAzB,MAAM,EAAE;QAC0B,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;MA2ChD;CACF"}
@@ -8,7 +8,7 @@ declare class FigureChartModel extends ChartModel {
8
8
  * @param {dh.plot.Figure} figure The figure object created by the API
9
9
  * @param {Object} settings Chart settings
10
10
  */
11
- constructor(figure: any, settings?: Object, theme?: {});
11
+ constructor(figure: dh.plot.Figure, settings?: Object, theme?: {});
12
12
  handleFigureUpdated(event: any): void;
13
13
  handleFigureDisconnected(event: any): void;
14
14
  handleFigureReconnected(event: any): void;
@@ -19,7 +19,7 @@ declare class FigureChartModel extends ChartModel {
19
19
  handleDownsampleNeeded(event: any): void;
20
20
  handleRequestFailed(event: any): void;
21
21
  addPendingSeries(): void;
22
- figure: any;
22
+ figure: dh.plot.Figure;
23
23
  settings: Object;
24
24
  theme: {};
25
25
  data: any[];
@@ -132,14 +132,14 @@ declare class FigureChartModel extends ChartModel {
132
132
  * @param {dh.plot.SourceType} sourceType The source type within that series to set the data for.
133
133
  * @param {Any[]} dataArray The array to use for the data for this series source.
134
134
  */
135
- setDataArrayForSeries(series: any, sourceType: any, dataArray: any[]): void;
135
+ setDataArrayForSeries(series: dh.Series, sourceType: dh.plot.SourceType, dataArray: Any[]): void;
136
136
  /**
137
137
  * After setting all the data in the series data, we may need to adjust some other properties
138
138
  * Eg. Calculating the width from the xLow/xHigh values; Plot.ly uses `width` instead of a low/high
139
139
  * value for x.
140
140
  * @param {dh.Series} series The series to clean the data for
141
141
  */
142
- cleanSeries(series: any): void;
142
+ cleanSeries(series: dh.Series): void;
143
143
  setFigure(figure: any): void;
144
144
  updateSettings(settings: any): void;
145
145
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FigureChartModel.d.ts","sourceRoot":"","sources":["../src/FigureChartModel.js"],"names":[],"mappings":";AAUA;;GAEG;AACH;IACE,mCAAgC;IAEhC;;;OAGG;IACH,oCAFW,MAAM,cAuChB;IAyRD,sCAqCC;IAgCD,2CAUC;IAED,0CAaC;IAED,0CAOC;IA/HD,wCAIC;IAED,yCAIC;IAED,uCAIC;IAED,yCAIC;IAyCD,sCAEC;IA3OD,yBAWC;IAnHC,YAAoB;IACpB,iBAAwB;IACxB,UAAkB;IAClB,YAAc;IACd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAiD;IACjD,6BAA8B;IAC9B,qBAAuB;IACvB,iBAAmB;IACnB,+BAAgC;IAChC,0BAA2B;IAC3B,qBAAuB;IACvB,0BAAgC;IAuBlC,sBA0BC;IAED,6BAwCC;IAiCD,wBAWC;IAED,0BAEC;IAED,6BAqCC;IAED,4BAqCC;IAED,qHAQG;IAEH,4JAGG;IAEH,gEAAgE;IAChE,wJAGG;IAEH;;OAEG;IACH,4JAMG;IAEH;;OAEG;IACH,gLAOG;IAqEH;;OAEG;IACH,oBAKC;IA2ED,uBASC;IAED,wBASC;IAED,4BAgBC;IAED;;OAEG;IACH,4BAkBC;IAED;;;;;OAKG;IACH,+DAFW,KAAK,QAQf;IAED;;;;;OAKG;IACH,+BAqBC;IAoDD,6BAYC;IAED,oCAEC;CACF"}
1
+ {"version":3,"file":"FigureChartModel.d.ts","sourceRoot":"","sources":["../src/FigureChartModel.js"],"names":[],"mappings":";AAUA;;GAEG;AACH;IACE,mCAAgC;IAEhC;;;OAGG;IACH,+CAFW,MAAM,cAuChB;IAyRD,sCAqCC;IAgCD,2CAUC;IAED,0CAaC;IAED,0CAOC;IA/HD,wCAIC;IAED,yCAIC;IAED,uCAIC;IAED,yCAIC;IAyCD,sCAEC;IA3OD,yBAWC;IAnHC,uBAAoB;IACpB,iBAAwB;IACxB,UAAkB;IAClB,YAAc;IACd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAiD;IACjD,6BAA8B;IAC9B,qBAAuB;IACvB,iBAAmB;IACnB,+BAAgC;IAChC,0BAA2B;IAC3B,qBAAuB;IACvB,0BAAgC;IAuBlC,sBA0BC;IAED,6BAwCC;IAiCD,wBAWC;IAED,0BAEC;IAED,6BAqCC;IAED,4BAqCC;IAED,qHAQG;IAEH,4JAGG;IAEH,gEAAgE;IAChE,wJAGG;IAEH;;OAEG;IACH,4JAMG;IAEH;;OAEG;IACH,gLAOG;IAqEH;;OAEG;IACH,oBAKC;IA2ED,uBASC;IAED,wBASC;IAED,4BAgBC;IAED;;OAEG;IACH,4BAkBC;IAED;;;;;OAKG;IACH,oFAFW,KAAK,QAQf;IAED;;;;;OAKG;IACH,qCAqBC;IAoDD,6BAYC;IAED,oCAEC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven/chart",
3
- "version": "0.9.1-beta.2+b7c0512",
3
+ "version": "0.9.1-beta.5+675913b",
4
4
  "description": "Deephaven Chart",
5
5
  "author": "Deephaven Data Labs LLC",
6
6
  "license": "Apache-2.0",
@@ -34,9 +34,9 @@
34
34
  "start": "cross-env NODE_ENV=development npm run watch"
35
35
  },
36
36
  "dependencies": {
37
- "@deephaven/icons": "^0.9.1-beta.2+b7c0512",
38
- "@deephaven/iris-grid": "^0.9.1-beta.2+b7c0512",
39
- "@deephaven/jsapi-shim": "^0.9.1-beta.2+b7c0512",
37
+ "@deephaven/icons": "^0.9.1-beta.5+675913b",
38
+ "@deephaven/iris-grid": "^0.9.1-beta.5+675913b",
39
+ "@deephaven/jsapi-shim": "^0.9.1-beta.5+675913b",
40
40
  "deep-equal": "^2.0.4",
41
41
  "lodash.debounce": "^4.0.8",
42
42
  "memoize-one": "^5.1.1",
@@ -51,9 +51,9 @@
51
51
  },
52
52
  "devDependencies": {
53
53
  "@babel/cli": "^7.16.0",
54
- "@deephaven/log": "^0.9.1-beta.2+b7c0512",
55
- "@deephaven/mocks": "^0.9.1-beta.2+b7c0512",
56
- "@deephaven/tsconfig": "^0.9.1-beta.2+b7c0512",
54
+ "@deephaven/log": "^0.9.1-beta.5+675913b",
55
+ "@deephaven/mocks": "^0.9.1-beta.5+675913b",
56
+ "@deephaven/tsconfig": "^0.9.1-beta.5+675913b",
57
57
  "@types/react": "^16.14.8",
58
58
  "@types/react-dom": "^16.9.13",
59
59
  "cross-env": "^7.0.2",
@@ -61,8 +61,7 @@
61
61
  "npm-run-all": "^4.1.5",
62
62
  "react": "^16.14.0",
63
63
  "rimraf": "^3.0.2",
64
- "sass": "1.32.13",
65
- "typescript": "~4.3.2"
64
+ "sass": "1.32.13"
66
65
  },
67
66
  "files": [
68
67
  "dist"
@@ -73,5 +72,5 @@
73
72
  "publishConfig": {
74
73
  "access": "public"
75
74
  },
76
- "gitHead": "b7c05127d0caa20989ff59bd061b5780e408e38e"
75
+ "gitHead": "675913bbbdbadb2eae76b3732f457b8ec7be4a90"
77
76
  }