@rcsb/rcsb-saguaro-app 4.0.0-groups.17 → 4.0.0-groups.18
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/build/dist/RcsbChartWeb/RcsbChartData/BarChartData.d.ts +13 -0
- package/build/dist/RcsbChartWeb/RcsbChartData/ChartDataInterface.d.ts +13 -0
- package/build/dist/RcsbChartWeb/RcsbChartData/HistogramChartData.d.ts +16 -0
- package/build/dist/RcsbChartWeb/RcsbChartView/BarChartView.d.ts +2 -1
- package/build/dist/RcsbChartWeb/RcsbChartView/HistogramChartView.d.ts +2 -3
- package/build/dist/plot.js +1 -1
- package/build/dist/plot.js.map +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -239
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BarData } from "../RcsbChartTools/EventBar";
|
|
2
|
+
import { ChartConfigInterface, ChartObjectInterface } from "../RcsbChartView/ChartViewInterface";
|
|
3
|
+
import { ChartDataInterface } from "./ChartDataInterface";
|
|
4
|
+
export declare class BarChartData implements ChartDataInterface {
|
|
5
|
+
readonly data: ChartObjectInterface[];
|
|
6
|
+
readonly subData: ChartObjectInterface[];
|
|
7
|
+
readonly config: ChartConfigInterface;
|
|
8
|
+
constructor(data: ChartObjectInterface[], subData: ChartObjectInterface[], config: ChartConfigInterface);
|
|
9
|
+
getChartData(): {
|
|
10
|
+
barData: BarData[];
|
|
11
|
+
subData: BarData[];
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChartConfigInterface, ChartObjectInterface } from "../RcsbChartView/ChartViewInterface";
|
|
2
|
+
import { BarData } from "../RcsbChartTools/EventBar";
|
|
3
|
+
export interface ChartDataInterface {
|
|
4
|
+
readonly data: ChartObjectInterface[];
|
|
5
|
+
readonly subData: ChartObjectInterface[];
|
|
6
|
+
readonly config: ChartConfigInterface;
|
|
7
|
+
getChartData(): {
|
|
8
|
+
barData: BarData[];
|
|
9
|
+
subData: BarData[];
|
|
10
|
+
};
|
|
11
|
+
xDomain?(): [number, number];
|
|
12
|
+
tickValues?(): number[] | undefined;
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChartDataInterface } from "./ChartDataInterface";
|
|
2
|
+
import { ChartConfigInterface, ChartObjectInterface } from "../RcsbChartView/ChartViewInterface";
|
|
3
|
+
import { BarData } from "../RcsbChartTools/EventBar";
|
|
4
|
+
export declare class HistogramChartData implements ChartDataInterface {
|
|
5
|
+
readonly config: ChartConfigInterface;
|
|
6
|
+
readonly data: ChartObjectInterface[];
|
|
7
|
+
readonly subData: ChartObjectInterface[];
|
|
8
|
+
constructor(data: ChartObjectInterface[], subData: ChartObjectInterface[], config: ChartConfigInterface);
|
|
9
|
+
getChartData(): {
|
|
10
|
+
barData: BarData[];
|
|
11
|
+
subData: BarData[];
|
|
12
|
+
};
|
|
13
|
+
xDomain(): [number, number];
|
|
14
|
+
tickValues(): number[] | undefined;
|
|
15
|
+
private transformData;
|
|
16
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { ChartViewInterface } from "./ChartViewInterface";
|
|
4
|
+
import { ChartDataInterface } from "../RcsbChartData/ChartDataInterface";
|
|
4
5
|
export declare class BarChartView extends React.Component<ChartViewInterface, ChartViewInterface> {
|
|
5
6
|
readonly state: ChartViewInterface;
|
|
7
|
+
readonly dataProvider: ChartDataInterface;
|
|
6
8
|
constructor(props: ChartViewInterface);
|
|
7
|
-
private dataByCategory;
|
|
8
9
|
render(): ReactNode;
|
|
9
10
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { ChartViewInterface } from "./ChartViewInterface";
|
|
4
|
+
import { ChartDataInterface } from "../RcsbChartData/ChartDataInterface";
|
|
4
5
|
export declare class HistogramChartView extends React.Component<ChartViewInterface, ChartViewInterface> {
|
|
5
6
|
readonly state: ChartViewInterface;
|
|
7
|
+
readonly dataProvider: ChartDataInterface;
|
|
6
8
|
constructor(props: ChartViewInterface);
|
|
7
|
-
private data;
|
|
8
|
-
private xDomain;
|
|
9
|
-
private tickValues;
|
|
10
9
|
render(): ReactNode;
|
|
11
10
|
}
|