changed interface name to be clearer

This commit is contained in:
Megan Riel-Mehan
2018-08-24 15:41:55 -07:00
parent 8cd6edc864
commit 7d2626ffd0
+3 -3
View File
@@ -50,7 +50,7 @@ export interface PlotCoordinate {
pointNumber: number;
}
export interface SelectionDescription {
export interface SelectionRange {
x: number[];
y: number[];
}
@@ -59,8 +59,8 @@ export type PlotSelectedData = Partial<PlotScatterDataPoint>;
export interface PlotSelectionEvent {
points: PlotScatterDataPoint[];
range?: SelectionDescription;
lassoPoints?: SelectionDescription;
range?: SelectionRange;
lassoPoints?: SelectionRange;
}
export type PlotRestyleEvent = [