Methods
Static
addChartDisplayConfig
- addChartDisplayConfig(chart, chartDisplayConfig): {
attribute: RcsbSearchAttributeType;
attributeName: string;
chartConfig: {
chartDisplayConfig: Partial<ChartDisplayConfigInterface>;
mergeDomainMaxValue?: number;
};
chartType: ChartType;
contentType: "string" | "number" | "date";
data: ChartObjectInterface<any>[];
filters?: SearchFilter[];
labelList?: string[];
title?: string;
} Parameters
chartDisplayConfig: Partial<ChartDisplayConfigInterface>
Returns {
attribute: RcsbSearchAttributeType;
attributeName: string;
chartConfig: {
chartDisplayConfig: Partial<ChartDisplayConfigInterface>;
mergeDomainMaxValue?: number;
};
chartType: ChartType;
contentType: "string" | "number" | "date";
data: ChartObjectInterface<any>[];
filters?: SearchFilter[];
labelList?: string[];
title?: string;
}
attribute: RcsbSearchAttributeType
attributeName: string
chartConfig: {
chartDisplayConfig: Partial<ChartDisplayConfigInterface>;
mergeDomainMaxValue?: number;
}
chartDisplayConfig: Partial<ChartDisplayConfigInterface>
Optional
mergeDomainMaxValue?: number
chartType: ChartType
contentType: "string" | "number" | "date"
data: ChartObjectInterface<any>[]
Optional
labelList?: string[]
Optional
title?: string
Static
Private
getFacetChartTypeFromAttribute
- getFacetChartTypeFromAttribute(facetMembers, attribute): {
chartConfig?: ChartConfigInterface;
chartType: ChartType;
title?: string;
} Returns {
chartConfig?: ChartConfigInterface;
chartType: ChartType;
title?: string;
}
Optional
chartConfig?: ChartConfigInterface
chartType: ChartType
Optional
title?: string
Static
Private
getFacetFiltersFromName
- getFacetFiltersFromName(facetMembers, attribute): SearchFilter[]
Static
getResultDrilldowns
- getResultDrilldowns(facetMembers, searchResultFacets): RcsbChartInterface<any>[]
Parameters
searchResultFacets: BucketFacet[]
Static
Private
includeMissingFacets
- includeMissingFacets(partial, full): void
Returns void
Static
subtractDrilldowns